Bug#258044: xserver-xfree86: XGetModifierMapping reports broken hard-coded (?) configuration
Package: xserver-xfree86
Version: 4.3.0.dfsg.1-5
Severity: important
Since the latest upgrade (AFAIK) from some other 4.3 release of XFree86,
XGetModifierMapping or simply typing 'xmodmap' has reported
mod1 Alt_L (0x7d), Meta_L (0x7e)
but this is _wrong_. The keycode for Alt_L is 0x40. xmodmap also reports two
mappings
keycode 64 = Alt_L Meta_L
keycode 125 = Alt_L
and only XGetModifierMapping uses the incorrect one, causing at least some
programs to not ignore alt presses/releases as they should.
Executing
remove mod1 = Alt_L
keycode 125 =
add mod1 = Alt_L
fixes the problem, but there must be something wrong in the default Finnish
keymap (other than the ISO_Level3_Shift brain-damage that makes creating
custom modmaps very difficult as not even a full backup modmap from 4.2
works). There are also other possibly spurious modifiers in the 120 range
that don't exist in the backup modmap.
-- Package-specific info:
Contents of /var/lib/xfree86/X.roster:
xserver-xfree86
/etc/X11/X target unchanged from checksum in /var/lib/xfree86/X.md5sum.
X server symlink status:
lrwxrwxrwx 1 root root 20 Mar 12 2002 /etc/X11/X -> /usr/bin/X11/XFree86
-rwxr-xr-x 1 root root 1745132 Jun 16 10:18 /usr/bin/X11/XFree86
Contents of /var/lib/xfree86/XF86Config-4.roster:
xserver-xfree86
VGA-compatible devices on PCI bus:
0000:03:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3)
0000:03:00.0 Class 0300: 10de:0171 (rev a3)
/var/lib/xfree86/XF86Config-4.md5sum does not exist.
XFree86 X server configuration file status:
lrwxrwxrwx 1 root root 15 Jul 29 2003 /etc/X11/XF86Config-4 -> XF86Config-notv
Contents of /etc/X11/XF86Config-4:
#Section "ServerLayout"
# Identifier "Default Layout"
# Screen "Default Screen" 0 0
# InputDevice "Generic Keyboard"
# InputDevice "Configured Mouse"
# InputDevice "Generic Mouse"
#EndSection
Section "Files"
# FontPath "unix/:7100"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
# FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/75dpi"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/truetype"
# FontPath "unix/:7110"
EndSection
Section "Module"
# Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "pex5"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
# Load "xie"
Load "type1"
# Load "xft"
# Load "xtt"
# Load "Xrender"
# Load "Xrandr"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "fi"
Option "XkbVariant" "nodeadkeys"
# Option "XkbOptions" "grp:switch,ctrl:nocaps"
Option "XkbOptions" "ctrl:nocaps"
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 "Monitor"
Identifier "Generic Monitor"
HorizSync 31.0 - 92.0
VertRefresh 50.0 - 150.0
Option "DPMS"
# Modeline "352x240" 13.06 352 384 400 432 240 242 250 252
# Modeline "352x240" 16.00 352 384 400 432 240 242 250 252 doublescan
Modeline "352x264" 16.00 352 384 400 432 264 266 275 277 doublescan
# Modeline "384x288" 21.45 384 416 440 472 288 290 301 303 doublescan
Modeline "384x288" 16.00 384 416 440 472 288 290 301 303 doublescan
Modeline "448x336" 29.23 448 480 520 552 336 338 351 353 doublescan
Modeline "576x432" 38.79 576 608 680 712 432 434 452 454
# Modeline "768x576" 86.54 768 800 920 952 576 578 604 606
Modeline "768x576" 50.00 768 800 920 952 576 578 604 606 +hsync +vsync
EndSection
Section "Monitor"
Identifier "TV"
HorizSync 30-50
VertRefresh 50-60
# Modeline "352x240" 13.06 352 384 400 432 240 242 250 252
# Modeline "352x240" 16.00 352 384 400 432 240 242 250 252 doublescan
# Modeline "352x264" 16.00 352 384 400 432 264 266 275 277 doublescan
# Modeline "384x288" 21.45 384 416 440 472 288 290 301 303 doublescan
# Modeline "384x288" 16.00 384 416 440 472 288 290 301 303 doublescan
# Modeline "448x336" 29.23 448 480 520 552 336 338 351 353 doublescan
Modeline "576x432" 38.79 576 608 680 712 432 434 452 454
# Modeline "768x576" 86.54 768 800 920 952 576 578 604 606
Modeline "768x576" 50.00 768 800 920 952 576 578 604 606 +hsync +vsync
EndSection
Section "Device"
Identifier "nvidia0"
Driver "nvidia"
BusID "PCI:3:0:0"
Screen 0
EndSection
Section "Device"
Identifier "nvidia1"
Driver "nvidia"
BusID "PCI:3:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "nvidia0"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "320x200"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "320x200"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "320x200"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "nvidia1"
Monitor "TV"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600"
EndSubSection
Option "TVStandard" "PAL-G"
Option "ConnectedMonitor" "TV"
Option "TVOutFormat" "Composite"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0"
Screen 1 "Screen1" rightOf "Screen0"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
XFree86 X server log files on system:
-rw------- 1 root root 24593 Aug 10 2003 /var/log/XFree86.3.log
-rw------- 1 root root 102577 Jul 4 18:04 /var/log/XFree86.2.log
-rw------- 1 root root 48181 Jul 7 13:00 /var/log/XFree86.1.log
-rw------- 1 root root 49357 Jul 7 13:00 /var/log/XFree86.0.log
Contents of most recent XFree86 X server log file
/var/log/XFree86.0.log:
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6
Locale: LANG=C, LC_CTYPE=fi_FI.ISO-8859-1
Versions of packages xserver-xfree86 depends on:
ii debconf [debconf-2.0] 1.4.29 Debian configuration management sy
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii xserver-common 4.3.0.dfsg.1-5 files and utilities common to all
ii zlib1g 1:1.2.1.1-3 compression library - runtime
-- debconf information:
xserver-xfree86/config/monitor/screen-size: 17 inches (430 mm)
* xserver-xfree86/config/device/use_fbdev: false
* xserver-xfree86/config/monitor/selection-method: Advanced
xserver-xfree86/config/doublequote_in_string_error:
xserver-xfree86/config/device/bus_id:
xserver-xfree86/config/device/video_ram:
* xserver-xfree86/config/monitor/lcd: false
xserver-xfree86/config/inputdevice/keyboard/internal:
* xserver-xfree86/config/device/driver: mga
* xserver-xfree86/config/monitor/vert-refresh: 50-150
* xserver-xfree86/config/display/default_depth: 16
* xserver-xfree86/config/display/modes: 1280x1024, 1024x768, 800x600, 640x480
xserver-xfree86/config/modules: GLcore, bitmap, dbe, ddc, dri, extmod, freetype, glx, int10, record, speedo, type1, vbe, xtt
xserver-xfree86/config/monitor/range_input_error:
xserver-xfree86/autodetect_video_card: true
* xserver-xfree86/config/inputdevice/keyboard/variant:
* xserver-xfree86/config/inputdevice/mouse/port: /dev/psaux
xserver-xfree86/config/write_files_section: true
xserver-xfree86/autodetect_monitor: true
xserver-xfree86/config/device/identifier:
shared/default-x-server: xserver-xfree86
xserver-xfree86/config/inputdevice/mouse/emulate3buttons: true
* xserver-xfree86/config/inputdevice/keyboard/layout: fi-latin1
* xserver-xfree86/config/monitor/horiz-sync: 31-92
xserver-xfree86/config/monitor/identifier: Generic Monitor
shared/no_known_x-server:
xserver-xfree86/autodetect_mouse: true
xserver-xfree86/config/monitor/mode-list: 1280x960 @ 60Hz
xserver-xfree86/clobber_XF86Config-4:
* xserver-xfree86/config/inputdevice/keyboard/rules: xfree86
xserver-xfree86/multiple_possible_x-drivers:
* xserver-xfree86/config/inputdevice/keyboard/model: pc104
xserver-xfree86/config/write_dri_section: true
xserver-xfree86/config/inputdevice/mouse/zaxismapping: true
xserver-xfree86/config/inputdevice/mouse/retry_detection:
xserver-xfree86/config/device/bus_id_error:
* xserver-xfree86/config/inputdevice/keyboard/options:
xserver-xfree86/config/nonnumeric_string_error:
* xserver-xfree86/config/inputdevice/mouse/protocol: PS/2
shared/multiple_possible_x-servers:
xserver-xfree86/config/null_string_error:
Reply to: