Bug#497708: Xorg.conf which worked in etch causes problems in lenny

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#497708: Xorg.conf which worked in etch causes problems in lenny

Dale Amon
Package: xserver-xorg
Version: 1:7.3+15

An upgrade from etch to lenny made my T23 X11 windows nearly
unuseable due to what appeared to be multiple bugs in multiple
applications. With advice from Josselin I found it was a set up
of two pointer devices in xorg.conf. It had worked unchanged
since summer of 2006 under Etch but caused the noted multifarious
failures on an upgrade to lenny.

The original xorg.conf was:

==========================================================================

# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
        FontPath "/usr/share/fonts/X11/misc"
        FontPath "/usr/X11R6/lib/X11/fonts/misc"
        FontPath "/usr/share/fonts/X11/cyrillic"
        FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath "/usr/share/fonts/X11/Type1"
        FontPath "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath "/usr/share/fonts/X11/100dpi"
        FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath "/usr/share/fonts/X11/75dpi"
        FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
# Load "GLcore"
        Load "bitmap"
        Load "dbe"
        Load "ddc"
        Load "dri"
        Load "extmod"
        Load "freetype"
        Load "glx"
        Load "int10"
        Load "record"
        Load "speedo"
        Load "type1"
        Load "vbe"
EndSection

Section "InputDevice"
        Identifier "Generic Keyboard"
        Driver "kbd"
        Option "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc104"
        Option "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier "Configured Mouse"
        Driver "mouse"
        Option "CorePointer"
        Option "Device" "/dev/psaux"
        Option "Protocol" "PS/2"
        Option "Emulate3Buttons" "true"
        Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
        Identifier "Generic Mouse"
        Driver "mouse"
        Option "SendCoreEvents" "true"
        Option "Device" "/dev/input/mice"
        Option "Protocol" "ImPS/2"
        Option "Emulate3Buttons" "true"
        Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
        Identifier      "S3 SuperSavage"
        Driver          "savage"
        VendorName      "S3"
        BoardName       "S3 SuperSavage/IXC 64"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "IBM"
        ModelName       "T23 14.1"
        HorizSync       30-90
        VertRefresh     50-100
        Option "DPMS"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Device "S3 SuperSavage"
        Monitor "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Depth 1
                Modes "1400x1050" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth 4
                Modes "1400x1050" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth 8
                Modes "1400x1050" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth 15
                Modes "1400x1050" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth 16
                Modes "1400x1050" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth 24
                Modes "1400x1050" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier "Default Layout"
        Screen "Default Screen"
        InputDevice "Generic Keyboard"
        InputDevice "Configured Mouse"
        InputDevice "Generic Mouse"
EndSection

Section "DRI"
        Mode 0666
EndSection

==========================================================================

The xorg.conf as changed to make things work properly under
lenny was:

==========================================================================

# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
        FontPath "/usr/share/fonts/X11/misc"
        FontPath "/usr/X11R6/lib/X11/fonts/misc"
        FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath "/usr/share/fonts/X11/Type1"
        FontPath "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath "/usr/share/fonts/X11/100dpi"
        FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath "/usr/share/fonts/X11/75dpi"
        FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
# Load "GLcore"
        Load "bitmap"
        Load "dbe"
        Load "ddc"
        Load "dri"
        Load "extmod"
        Load "freetype"
        Load "glx"
        Load "int10"
        Load "record"
        Load "speedo"
        Load "type1"
        Load "vbe"
EndSection

Section "InputDevice"
        Identifier "Generic Keyboard"
        Driver "kbd"
        Option "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc104"
        Option "XkbLayout" "us"
EndSection

#Section "InputDevice"
# Identifier "Configured Mouse"
# Driver "mouse"
# Option "CorePointer"
# Option "Device" "/dev/psaux"
# Option "Protocol" "PS/2"
# Option "Emulate3Buttons" "true"
# Option "ZAxisMapping" "4 5"
#EndSection

Section "InputDevice"
        Identifier "Generic Mouse"
        Driver "mouse"
        Option "CorePointer"
# Option "SendCoreEvents" "true"
        Option "Device" "/dev/input/mice"
        Option "Protocol" "ImPS/2"
        Option "Emulate3Buttons" "true"
        Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
        Identifier      "S3 SuperSavage"
        Driver          "savage"
        VendorName      "S3"
        BoardName       "S3 SuperSavage/IXC 64"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "IBM"
        ModelName       "T23 14.1"
        HorizSync       30-90
        VertRefresh     50-100
        Option "DPMS"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Device "S3 SuperSavage"
        Monitor "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Depth 1
                Modes "1400x1050" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth 4
                Modes "1400x1050" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth 8
                Modes "1400x1050" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth 15
                Modes "1400x1050" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth 16
                Modes "1400x1050" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth 24
                Modes "1400x1050" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier "Default Layout"
        Screen "Default Screen"
        InputDevice "Generic Keyboard"
# InputDevice "Configured Mouse"
        InputDevice "Generic Mouse"
EndSection

Section "DRI"
        Mode 0666
EndSection

==========================================================================

I would suggest this situation be detected and at least flagged
to the user during upgrade. Since the configuration files in
question may have been working with no noticeble problems for
many years, it will make it difficult even for the knowledgeable
to realize that is the problem and as for the novice, they have
not got a chance.

I am using Debian Lenny, linux-image-2.6.26-3
and libc6 2.7-13



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]