#564327 xmodmap: BadValue error, 118 (X_SetModifierMapping)

Package:
xserver-xorg-core
Source:
xorg-server
Description:
Xorg X server - core server
Submitter:
Joachim Breitner
Date:
2018-12-28 15:27:03 UTC
Severity:
normal
#564327#5
Date:
2010-01-09 10:13:22 UTC
From:
To:
Hi,

because of a different bug, the first thing I’m doing when starting my
computer is to run
$ setxkbmap ; xmodmap ~/.Xmodmap

After the upgrade to 1.7, I was greeted with
$ setxkbmap ; xmodmap ~/.Xmodmap
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  118 (X_SetModifierMapping)
  Value in failed request:  0x17
  Serial number of failed request:  37
  Current serial number in output stream:  37

It turned out that issuing xmodmap ~/.Xmodmap directly after setxkbmap
causes this error (and the settings are not effective). Issuing xmodmap
a second time then works fine, and indeed has the desired effect:

$ setxkbmap ; xmodmap ~/.Xmodmap
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  118 (X_SetModifierMapping)
  Value in failed request:  0x17
  Serial number of failed request:  37
  Current serial number in output stream:  37
$ xmodmap ~/.Xmodmap
$ setxkbmap
$ setxkbmap ; xmodmap ~/.Xmodmap
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  118 (X_SetModifierMapping)
  Value in failed request:  0x17
  Serial number of failed request:  37
  Current serial number in output stream:  37
$ setxkbmap
$ xmodmap ~/.Xmodmap
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  118 (X_SetModifierMapping)
  Value in failed request:  0x17
  Serial number of failed request:  37
  Current serial number in output stream:  37
$ xmodmap ~/.Xmodmap
$ xmodmap ~/.Xmodmap
$ xmodmap ~/.Xmodmap
$ xmodmap ~/.Xmodmap
$ setxkbmap
$ setxkbmap
$ setxkbmap ; xmodmap ~/.Xmodmap
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  118 (X_SetModifierMapping)
  Value in failed request:  0x17
  Serial number of failed request:  37
  Current serial number in output stream:  37
$ setxkbmap
$ xmodmap ~/.Xmodmap
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  118 (X_SetModifierMapping)
  Value in failed request:  0x17
  Serial number of failed request:  37
  Current serial number in output stream:  37
$ xmodmap ~/.Xmodmap

I have attached my .Xmodmap file.

Greetings,
Joachim


- -- Package-specific info:
/var/lib/x11/X.roster does not exist.

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 Dec 19  2008 /etc/X11/X -> /usr/bin/Xorg
- -rwxr-xr-x 1 root root 1865248 Jan  6 18:52 /usr/bin/Xorg

/var/lib/x11/xorg.conf.roster does not exist.

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

/var/lib/x11/xorg.conf.md5sum does not exist.

Xorg X server configuration file status:
- -rw-r--r-- 1 root root 1353 Nov  1 21:44 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

#Section "InputDevice"
#	Identifier	"Generic Keyboard"
#	Driver		"evdev"
#	Option		"device"	"/dev/input/event1"
#	Option		"XkbRules"	"xorg"
#	Option		"XkbModel"	"pc105"
#	Option		"XkbLayout"	"de"
#	Option		"XkbVariant"	"nodeadkeys"
#EndSection

# Section "InputDevice"
# 	Identifier	"Configured Mouse"
# 	Driver		"mouse"
# EndSection
#
# Section "Device"
# 	Identifier	"Configured Video Device"
# 	Driver		"intel"
# EndSection
#
# Section "Monitor"
# 	Identifier	"Configured Monitor"
# EndSection
#
# Section "Screen"
# 	Identifier	"Default Screen"
# 	Monitor		"Configured Monitor"
# EndSection

# Section "Screen"
#     Identifier	"Default Screen"
#     SubSection "Display"
#       Virtual 2464 900
#     EndSubSection
# EndSection


Xorg X server log files on system:
- -rw-r--r-- 1 root root 76887 Dec  1 21:00 /var/log/Xorg.20.log
- -rw-r--r-- 1 root root 30986 Jan  9 11:06 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.7.3.902 (1.7.4 RC 2)
Release Date: 2009-12-26
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-trunk-amd64 x86_64 Debian
Current Operating System: Linux kirk 2.6.32-trunk-amd64 #1 SMP Thu Jan 7 17:44:12 UTC 2010 x86_64
Kernel command line: root=/dev/mapper/kirk-root ro quiet
Build Date: 06 January 2010  05:51:16PM
xorg-server 2:1.7.3.902-1 (jcristau@debian.org)
Current version of pixman: 0.16.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan  9 11:06:05 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) |   |-->Monitor "<default monitor>"
(==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
	built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
(II) Loader magic: 0x7c2be0
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(++) using VT number 7

(--) PCI:*(0:0:2:0) 8086:2a42:17aa:2112 Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xf4400000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
(--) PCI: (0:0:2:1) 8086:2a43:17aa:2112 Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xf4200000/1048576
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.3.902, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.3.902, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.7.3.902, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.7.3.902, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.3.902, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.3.902, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(==) Matched intel for the autoconfigured driver
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
	compiled for 1.7.3.902, module version = 2.9.1
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 6.0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
	i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
	E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
	965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
	4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale
(II) Primary Device is: PCI 00@00:02:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
(==) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(II) intel(0): Integrated Graphics Chipset: Intel(R) GM45
(--) intel(0): Chipset: "GM45"
(II) intel(0): Output VGA1 has no monitor section
(II) intel(0): Output LVDS1 has no monitor section
(II) intel(0): found backlight control interface /sys/class/backlight/acpi_video0
(II) intel(0): Output DP1 has no monitor section
(II) intel(0): EDID for output VGA1
(II) intel(0): EDID for output LVDS1
(II) intel(0): Manufacturer: LEN  Model: 4036  Serial#: 0
(II) intel(0): Year: 2007  Week: 0
(II) intel(0): EDID Version: 1.3
(II) intel(0): Digital Display Input
(II) intel(0): Max Image Size [cm]: horiz.: 30  vert.: 19
(II) intel(0): Gamma: 2.20
(II) intel(0): DPMS capabilities: StandBy Suspend Off
(II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
(II) intel(0): First detailed timing is preferred mode
(II) intel(0): redX: 0.569 redY: 0.332   greenX: 0.312 greenY: 0.544
(II) intel(0): blueX: 0.149 blueY: 0.132   whiteX: 0.313 whiteY: 0.329
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported detailed timing:
(II) intel(0): clock: 101.6 MHz   Image Size:  303 x 190 mm
(II) intel(0): h_active: 1440  h_sync: 1488  h_sync_end 1520 h_blank_end 1828 h_border: 0
(II) intel(0): v_active: 900  v_sync: 903  v_sync_end 909 v_blanking: 926 v_border: 0
(II) intel(0): Supported detailed timing:
(II) intel(0): clock: 86.6 MHz   Image Size:  303 x 190 mm
(II) intel(0): h_active: 1440  h_sync: 1488  h_sync_end 1520 h_blank_end 1688 h_border: 0
(II) intel(0): v_active: 900  v_sync: 903  v_sync_end 909 v_blanking: 1026 v_border: 0
(II) intel(0): Unknown vendor-specific block f
(II) intel(0):  LTN141BT04002
(II) intel(0): EDID (in hex):
(II) intel(0): 	00ffffffffffff0030ae364000000000
(II) intel(0): 	00110103801e1378eacd7591554f8b26
(II) intel(0): 	21505400000001010101010101010101
(II) intel(0): 	010101010101ac27a08451841a303020
(II) intel(0): 	36002fbe10000019d521a0f850847e30
(II) intel(0): 	302036002fbe100000190000000f0095
(II) intel(0): 	0a32950a281909004ca35754000000fe
(II) intel(0): 	004c544e3134314254303430303200be
(II) intel(0): Not using default mode "320x175" (doublescan mode not supported)
(II) intel(0): Not using default mode "320x200" (doublescan mode not supported)
(II) intel(0): Not using default mode "360x200" (doublescan mode not supported)
(II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
(II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
(II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
(II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
(II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
(II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
(II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
(II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
(II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
(II) intel(0): Not using default mode "1024x768" (interlace mode not supported)
(II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
(II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
(II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
(II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
(II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
(II) intel(0): Not using default mode "576x432" (doublescan mode not supported)
(II) intel(0): Not using default mode "1280x960" (exceeds panel dimensions)
(II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
(II) intel(0): Not using default mode "1280x960" (exceeds panel dimensions)
(II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
(II) intel(0): Not using default mode "1280x1024" (exceeds panel dimensions)
(II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
(II) intel(0): Not using default mode "1280x1024" (exceeds panel dimensions)
(II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
(II) intel(0): Not using default mode "1280x1024" (exceeds panel dimensions)
(II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
(II) intel(0): Not using default mode "1600x1200" (exceeds panel dimensions)
(II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
(II) intel(0): Not using default mode "1600x1200" (exceeds panel dimensions)
(II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
(II) intel(0): Not using default mode "1600x1200" (exceeds panel dimensions)
(II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
(II) intel(0): Not using default mode "1600x1200" (exceeds panel dimensions)
(II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
(II) intel(0): Not using default mode "1600x1200" (exceeds panel dimensions)
(II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
(II) intel(0): Not using default mode "1792x1344" (exceeds panel dimensions)
(II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
(II) intel(0): Not using default mode "1792x1344" (exceeds panel dimensions)
(II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
(II) intel(0): Not using default mode "1856x1392" (exceeds panel dimensions)
(II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
(II) intel(0): Not using default mode "1856x1392" (exceeds panel dimensions)
(II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
(II) intel(0): Not using default mode "1920x1440" (exceeds panel dimensions)
(II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
(II) intel(0): Not using default mode "1920x1440" (exceeds panel dimensions)
(II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
(II) intel(0): Not using default mode "416x312" (doublescan mode not supported)
(II) intel(0): Not using default mode "576x432" (doublescan mode not supported)
(II) intel(0): Not using default mode "576x432" (doublescan mode not supported)
(II) intel(0): Not using default mode "576x432" (doublescan mode not supported)
(II) intel(0): Not using default mode "576x432" (doublescan mode not supported)
(II) intel(0): Not using default mode "576x432" (doublescan mode not supported)
(II) intel(0): Not using default mode "576x432" (doublescan mode not supported)
(II) intel(0): Not using default mode "1360x768" (monitor doesn't support reduced blanking)
(II) intel(0): Not using default mode "680x384" (doublescan mode not supported)
(II) intel(0): Not using default mode "680x384" (doublescan mode not supported)
(II) intel(0): Not using default mode "1400x1050" (exceeds panel dimensions)
(II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
(II) intel(0): Not using default mode "1400x1050" (exceeds panel dimensions)
(II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
(II) intel(0): Not using default mode "1400x1050" (exceeds panel dimensions)
(II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
(II) intel(0): Not using default mode "1400x1050" (exceeds panel dimensions)
(II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
(II) intel(0): Not using default mode "720x450" (doublescan mode not supported)
(II) intel(0): Not using default mode "1600x1024" (exceeds panel dimensions)
(II) intel(0): Not using default mode "800x512" (doublescan mode not supported)
(II) intel(0): Not using default mode "1680x1050" (monitor doesn't support reduced blanking)
(II) intel(0): Not using default mode "840x525" (doublescan mode not supported)
(II) intel(0): Not using default mode "1680x1050" (exceeds panel dimensions)
(II) intel(0): Not using default mode "840x525" (doublescan mode not supported)
(II) intel(0): Not using default mode "1680x1050" (exceeds panel dimensions)
(II) intel(0): Not using default mode "840x525" (doublescan mode not supported)
(II) intel(0): Not using default mode "1680x1050" (exceeds panel dimensions)
(II) intel(0): Not using default mode "840x525" (doublescan mode not supported)
(II) intel(0): Not using default mode "1680x1050" (exceeds panel dimensions)
(II) intel(0): Not using default mode "840x525" (doublescan mode not supported)
(II) intel(0): Not using default mode "1920x1080" (monitor doesn't support reduced blanking)
(II) intel(0): Not using default mode "960x540" (doublescan mode not supported)
(II) intel(0): Not using default mode "1920x1200" (monitor doesn't support reduced blanking)
(II) intel(0): Not using default mode "960x600" (doublescan mode not supported)
(II) intel(0): Not using default mode "1920x1440" (exceeds panel dimensions)
(II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
(II) intel(0): Not using default mode "2048x1536" (exceeds panel dimensions)
(II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
(II) intel(0): Not using default mode "2048x1536" (exceeds panel dimensions)
(II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
(II) intel(0): Not using default mode "2048x1536" (exceeds panel dimensions)
(II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
(II) intel(0): Printing probed modes for output LVDS1
(II) intel(0): Modeline "1440x900"x60.0  101.56  1440 1488 1520 1828  900 903 909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz)
(II) intel(0): Modeline "1440x900"x50.0   86.61  1440 1488 1520 1688  900 903 909 1026 -hsync -vsync (51.3 kHz)
(II) intel(0): Modeline "1360x768"x59.8   84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsync (47.7 kHz)
(II) intel(0): Modeline "1152x864"x100.0  143.47  1152 1232 1360 1568  864 865 868 915 -hsync +vsync (91.5 kHz)
(II) intel(0): Modeline "1152x864"x85.1  121.50  1152 1216 1344 1568  864 865 868 911 +hsync -vsync (77.5 kHz)
(II) intel(0): Modeline "1152x864"x85.0  119.65  1152 1224 1352 1552  864 865 868 907 -hsync +vsync (77.1 kHz)
(II) intel(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
(II) intel(0): Modeline "1152x864"x75.0  104.99  1152 1224 1352 1552  864 865 868 902 -hsync +vsync (67.6 kHz)
(II) intel(0): Modeline "1152x864"x70.0   96.77  1152 1224 1344 1536  864 865 868 900 -hsync +vsync (63.0 kHz)
(II) intel(0): Modeline "1152x864"x60.0   81.62  1152 1216 1336 1520  864 865 868 895 -hsync +vsync (53.7 kHz)
(II) intel(0): Modeline "1024x768"x85.0   94.50  1024 1072 1168 1376  768 769 772 808 +hsync +vsync (68.7 kHz)
(II) intel(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz)
(II) intel(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz)
(II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
(II) intel(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz)
(II) intel(0): Modeline "800x600"x85.1   56.30  800 832 896 1048  600 601 604 631 +hsync +vsync (53.7 kHz)
(II) intel(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz)
(II) intel(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
(II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
(II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
(II) intel(0): Modeline "640x480"x85.0   36.00  640 696 752 832  480 481 484 509 -hsync -vsync (43.3 kHz)
(II) intel(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz)
(II) intel(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
(II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Modeline "720x400"x85.0   35.50  720 756 828 936  400 401 404 446 -hsync +vsync (37.9 kHz)
(II) intel(0): Modeline "640x400"x85.1   31.50  640 672 736 832  400 401 404 445 -hsync +vsync (37.9 kHz)
(II) intel(0): Modeline "640x350"x85.1   31.50  640 672 736 832  350 382 385 445 +hsync -vsync (37.9 kHz)
(II) intel(0): EDID for output DP1
(II) intel(0): Output VGA1 disconnected
(II) intel(0): Output LVDS1 connected
(II) intel(0): Output DP1 disconnected
(II) intel(0): Using exact sizes for initial modes
(II) intel(0): Output LVDS1 using initial mode 1440x900
(II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
(==) intel(0): video overlay key set to 0x101fe
(==) intel(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.7.3.902, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(==) Depth 24 pixmap format is 32 bpp
(II) intel(0): [DRI2] Setup complete
(**) intel(0): Kernel mode setting active, disabling FBC.
(**) intel(0): Framebuffer compression disabled
(**) intel(0): Tiling enabled
(**) intel(0): SwapBuffers wait enabled
(==) intel(0): VideoRam: 262144 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(II) intel(0): Tiled allocation successful.
(II) UXA(0): Driver registered support for the following operations:
(II)         solid
(II)         copy
(II)         composite (RENDER acceleration)
(==) intel(0): Backing store disabled
(==) intel(0): Silken mouse enabled
(II) intel(0): Initializing HW Cursor
(II) intel(0): No memory allocations
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(==) intel(0): DPMS enabled
(==) intel(0): Intel XvMC decoder disabled
(II) intel(0): Set up textured video
(II) intel(0): direct rendering: DRI2 Enabled
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
SELinux: Disabled on system, not enabling in X server
record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_make_current_read
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
(II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
(II) AIGLX: Loaded and initialized /usr/lib/dri/i965_dri.so
(II) GLX: Initialized DRI2 GL provider for screen 0
(II) intel(0): Setting screen physical size to 381 x 238
(II) config/udev: Adding input device "Power Button" (/dev/input/event4)
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
	compiled for 1.7.3.902, module version = 2.3.2
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(**) "Power Button": always reports core events
(**) "Power Button": Device: "/dev/input/event4"
(II) "Power Button": Found keys
(II) "Power Button": Configuring as keyboard
(II) XINPUT: Adding extended input device ""Power Button"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "de"
(**) Option "xkb_variant" "nodeadkeys"
(**) Option "xkb_options" "lv3:ralt_switch"
(II) config/udev: Adding input device "Video Bus" (/dev/input/event5)
(**) "Video Bus": always reports core events
(**) "Video Bus": Device: "/dev/input/event5"
(II) "Video Bus": Found keys
(II) "Video Bus": Configuring as keyboard
(II) XINPUT: Adding extended input device ""Video Bus"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "de"
(**) Option "xkb_variant" "nodeadkeys"
(**) Option "xkb_options" "lv3:ralt_switch"
(II) config/udev: Adding input device "Lid Switch" (/dev/input/event2)
(**) "Lid Switch": always reports core events
(**) "Lid Switch": Device: "/dev/input/event2"
(WW) "Lid Switch": Don't know how to use device
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for ""Lid Switch""
(II) config/udev: Adding input device "Sleep Button" (/dev/input/event3)
(**) "Sleep Button": always reports core events
(**) "Sleep Button": Device: "/dev/input/event3"
(II) "Sleep Button": Found keys
(II) "Sleep Button": Configuring as keyboard
(II) XINPUT: Adding extended input device ""Sleep Button"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "de"
(**) Option "xkb_variant" "nodeadkeys"
(**) Option "xkb_options" "lv3:ralt_switch"
(II) config/udev: Adding input device "Integrated Camera" (/dev/input/event13)
(**) "Integrated Camera": always reports core events
(**) "Integrated Camera": Device: "/dev/input/event13"
(II) "Integrated Camera": Found keys
(II) "Integrated Camera": Configuring as keyboard
(II) XINPUT: Adding extended input device ""Integrated Camera"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "de"
(**) Option "xkb_variant" "nodeadkeys"
(**) Option "xkb_options" "lv3:ralt_switch"
(II) config/udev: Adding input device "HDA Intel Mic" (/dev/input/event10)
(**) "HDA Intel Mic": always reports core events
(**) "HDA Intel Mic": Device: "/dev/input/event10"
(WW) "HDA Intel Mic": Don't know how to use device
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for ""HDA Intel Mic""
(II) config/udev: Adding input device "HDA Intel Mic" (/dev/input/event11)
(**) "HDA Intel Mic": always reports core events
(**) "HDA Intel Mic": Device: "/dev/input/event11"
(WW) "HDA Intel Mic": Don't know how to use device
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for ""HDA Intel Mic""
(II) config/udev: Adding input device "HDA Intel Headphone" (/dev/input/event12)
(**) "HDA Intel Headphone": always reports core events
(**) "HDA Intel Headphone": Device: "/dev/input/event12"
(WW) "HDA Intel Headphone": Don't know how to use device
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for ""HDA Intel Headphone""
(II) config/udev: Adding input device "HDA Intel Headphone" (/dev/input/event9)
(**) "HDA Intel Headphone": always reports core events
(**) "HDA Intel Headphone": Device: "/dev/input/event9"
(WW) "HDA Intel Headphone": Don't know how to use device
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for ""HDA Intel Headphone""
(II) config/udev: Adding input device "AT Translated Set 2 keyboard" (/dev/input/event1)
(**) "AT Translated Set 2 keyboard": always reports core events
(**) "AT Translated Set 2 keyboard": Device: "/dev/input/event1"
(II) "AT Translated Set 2 keyboard": Found keys
(II) "AT Translated Set 2 keyboard": Configuring as keyboard
(II) XINPUT: Adding extended input device ""AT Translated Set 2 keyboard"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "de"
(**) Option "xkb_variant" "nodeadkeys"
(**) Option "xkb_options" "lv3:ralt_switch"
(II) config/udev: Adding input device "TPPS/2 IBM TrackPoint" (/dev/input/event8)
(**) "TPPS/2 IBM TrackPoint": always reports core events
(**) "TPPS/2 IBM TrackPoint": Device: "/dev/input/event8"
(II) "TPPS/2 IBM TrackPoint": Found 3 mouse buttons
(II) "TPPS/2 IBM TrackPoint": Found relative axes
(II) "TPPS/2 IBM TrackPoint": Found x and y relative axes
(II) "TPPS/2 IBM TrackPoint": Configuring as mouse
(**) "TPPS/2 IBM TrackPoint": YAxisMapping: buttons 4 and 5
(**) "TPPS/2 IBM TrackPoint": EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device ""TPPS/2 IBM TrackPoint"" (type: MOUSE)
(**) "TPPS/2 IBM TrackPoint": (accel) keeping acceleration scheme 1
(**) "TPPS/2 IBM TrackPoint": (accel) acceleration profile 0
(II) "TPPS/2 IBM TrackPoint": initialized for relative axes.
(II) config/udev: Adding input device "TPPS/2 IBM TrackPoint" (/dev/input/mouse1)
(**) "TPPS/2 IBM TrackPoint": always reports core events
(**) "TPPS/2 IBM TrackPoint": Device: "/dev/input/mouse1"
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for ""TPPS/2 IBM TrackPoint""
(II) config/udev: Adding input device "PC Speaker" (/dev/input/event6)
(**) "PC Speaker": always reports core events
(**) "PC Speaker": Device: "/dev/input/event6"
(WW) "PC Speaker": Don't know how to use device
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for ""PC Speaker""
(II) config/udev: Adding input device "Macintosh mouse button emulation" (/dev/input/event0)
(**) "Macintosh mouse button emulation": always reports core events
(**) "Macintosh mouse button emulation": Device: "/dev/input/event0"
(II) "Macintosh mouse button emulation": Found 3 mouse buttons
(II) "Macintosh mouse button emulation": Found relative axes
(II) "Macintosh mouse button emulation": Found x and y relative axes
(II) "Macintosh mouse button emulation": Configuring as mouse
(**) "Macintosh mouse button emulation": YAxisMapping: buttons 4 and 5
(**) "Macintosh mouse button emulation": EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device ""Macintosh mouse button emulation"" (type: MOUSE)
(**) "Macintosh mouse button emulation": (accel) keeping acceleration scheme 1
(**) "Macintosh mouse button emulation": (accel) acceleration profile 0
(II) "Macintosh mouse button emulation": initialized for relative axes.
(II) config/udev: Adding input device "Macintosh mouse button emulation" (/dev/input/mouse0)
(**) "Macintosh mouse button emulation": always reports core events
(**) "Macintosh mouse button emulation": Device: "/dev/input/mouse0"
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for ""Macintosh mouse button emulation""
(II) config/udev: Adding input device "ThinkPad Extra Buttons" (/dev/input/event7)
(**) "ThinkPad Extra Buttons": always reports core events
(**) "ThinkPad Extra Buttons": Device: "/dev/input/event7"
(II) "ThinkPad Extra Buttons": Found keys
(II) "ThinkPad Extra Buttons": Configuring as keyboard
(II) XINPUT: Adding extended input device ""ThinkPad Extra Buttons"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "de"
(**) Option "xkb_variant" "nodeadkeys"
(**) Option "xkb_options" "lv3:ralt_switch"
(II) intel(0): EDID vendor "LEN", prod id 16438
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  101.56  1440 1488 1520 1828  900 903 909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   86.61  1440 1488 1520 1688  900 903 909 1026 -hsync -vsync (51.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16438
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  101.56  1440 1488 1520 1828  900 903 909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   86.61  1440 1488 1520 1688  900 903 909 1026 -hsync -vsync (51.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16438
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  101.56  1440 1488 1520 1828  900 903 909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   86.61  1440 1488 1520 1688  900 903 909 1026 -hsync -vsync (51.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16438
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  101.56  1440 1488 1520 1828  900 903 909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   86.61  1440 1488 1520 1688  900 903 909 1026 -hsync -vsync (51.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16438
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  101.56  1440 1488 1520 1828  900 903 909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   86.61  1440 1488 1520 1688  900 903 909 1026 -hsync -vsync (51.3 kHz)

udev information:
P: /devices/virtual/input/input0/event0
N: input/event0
S: char/13:64
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input0/event0
E: MAJOR=13
E: MINOR=64
E: DEVNAME=/dev/input/event0
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: x11_driver=evdev
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:64

P: /devices/platform/i8042/serio0/input/input1/event1
N: input/event1
S: char/13:65
S: input/by-path/platform-i8042-serio-0-event-kbd
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio0/input/input1/event1
E: MAJOR=13
E: MINOR=65
E: DEVNAME=/dev/input/event1
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-0
E: XKBMODEL=pc105
E: XKBLAYOUT=de
E: XKBVARIANT=nodeadkeys
E: XKBOPTIONS=lv3:ralt_switch
E: x11_driver=evdev
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:65 /dev/input/by-path/platform-i8042-serio-0-event-kbd

P: /devices/pci0000:00/0000:00:1b.0/sound/card0/input10/event10
N: input/event10
S: char/13:74
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1b.0/sound/card0/input10/event10
E: MAJOR=13
E: MINOR=74
E: DEVNAME=/dev/input/event10
E: SUBSYSTEM=input
E: ID_INPUT=1
E: x11_driver=evdev
E: ACL_MANAGE=1
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:74

P: /devices/pci0000:00/0000:00:1b.0/sound/card0/input11/event11
N: input/event11
S: char/13:75
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1b.0/sound/card0/input11/event11
E: MAJOR=13
E: MINOR=75
E: DEVNAME=/dev/input/event11
E: SUBSYSTEM=input
E: ID_INPUT=1
E: x11_driver=evdev
E: ACL_MANAGE=1
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:75

P: /devices/pci0000:00/0000:00:1b.0/sound/card0/input12/event12
N: input/event12
S: char/13:76
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1b.0/sound/card0/input12/event12
E: MAJOR=13
E: MINOR=76
E: DEVNAME=/dev/input/event12
E: SUBSYSTEM=input
E: ID_INPUT=1
E: x11_driver=evdev
E: ACL_MANAGE=1
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:76

P: /devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6:1.0/input/input13/event13
N: input/event13
S: char/13:77
S: input/by-id/usb-Chicony_Electronics_Co.__Ltd._Integrated_Camera_SN0001-event-if00
S: input/by-path/pci-0000:00:1a.7-usb-0:6:1.0-event
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6:1.0/input/input13/event13
E: MAJOR=13
E: MINOR=77
E: DEVNAME=/dev/input/event13
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_VENDOR=Chicony_Electronics_Co.__Ltd.
E: ID_VENDOR_ENC=Chicony\x20Electronics\x20Co.\x2c\x20Ltd.
E: ID_VENDOR_ID=17ef
E: ID_MODEL=Integrated_Camera
E: ID_MODEL_ENC=Integrated\x20Camera
E: ID_MODEL_ID=1004
E: ID_REVISION=0320
E: ID_SERIAL=Chicony_Electronics_Co.__Ltd._Integrated_Camera_SN0001
E: ID_SERIAL_SHORT=SN0001
E: ID_TYPE=video
E: ID_BUS=usb
E: ID_USB_INTERFACES=:0e0100:0e0200:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=uvcvideo
E: ID_PATH=pci-0000:00:1a.7-usb-0:6:1.0
E: XKBMODEL=pc105
E: XKBLAYOUT=de
E: XKBVARIANT=nodeadkeys
E: XKBOPTIONS=lv3:ralt_switch
E: x11_driver=evdev
E: DEVLINKS=/dev/char/13:77 /dev/input/by-id/usb-Chicony_Electronics_Co.__Ltd._Integrated_Camera_SN0001-event-if00 /dev/input/by-path/pci-0000:00:1a.7-usb-0:6:1.0-event

P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2/event2
N: input/event2
S: char/13:66
E: UDEV_LOG=3
E: DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2/event2
E: MAJOR=13
E: MINOR=66
E: DEVNAME=/dev/input/event2
E: SUBSYSTEM=input
E: ID_INPUT=1
E: x11_driver=evdev
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:66

P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input3/event3
N: input/event3
S: char/13:67
E: UDEV_LOG=3
E: DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input3/event3
E: MAJOR=13
E: MINOR=67
E: DEVNAME=/dev/input/event3
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: XKBMODEL=pc105
E: XKBLAYOUT=de
E: XKBVARIANT=nodeadkeys
E: XKBOPTIONS=lv3:ralt_switch
E: x11_driver=evdev
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:67

P: /devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4
N: input/event4
S: char/13:68
E: UDEV_LOG=3
E: DEVPATH=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4
E: MAJOR=13
E: MINOR=68
E: DEVNAME=/dev/input/event4
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: XKBMODEL=pc105
E: XKBLAYOUT=de
E: XKBVARIANT=nodeadkeys
E: XKBOPTIONS=lv3:ralt_switch
E: x11_driver=evdev
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:68

P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input5/event5
N: input/event5
S: char/13:69
E: UDEV_LOG=3
E: DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input5/event5
E: MAJOR=13
E: MINOR=69
E: DEVNAME=/dev/input/event5
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: XKBMODEL=pc105
E: XKBLAYOUT=de
E: XKBVARIANT=nodeadkeys
E: XKBOPTIONS=lv3:ralt_switch
E: x11_driver=evdev
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:69

P: /devices/platform/pcspkr/input/input6/event6
N: input/event6
S: char/13:70
S: input/by-path/platform-pcspkr-event-spkr
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/pcspkr/input/input6/event6
E: MAJOR=13
E: MINOR=70
E: DEVNAME=/dev/input/event6
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-pcspkr
E: x11_driver=evdev
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:70 /dev/input/by-path/platform-pcspkr-event-spkr

P: /devices/virtual/input/input7/event7
N: input/event7
S: char/13:71
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input7/event7
E: MAJOR=13
E: MINOR=71
E: DEVNAME=/dev/input/event7
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: XKBMODEL=pc105
E: XKBLAYOUT=de
E: XKBVARIANT=nodeadkeys
E: XKBOPTIONS=lv3:ralt_switch
E: x11_driver=evdev
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:71

P: /devices/platform/i8042/serio1/input/input8/event8
N: input/event8
S: char/13:72
S: input/by-path/platform-i8042-serio-1-event-mouse
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio1/input/input8/event8
E: MAJOR=13
E: MINOR=72
E: DEVNAME=/dev/input/event8
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-1
E: x11_driver=evdev
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:72 /dev/input/by-path/platform-i8042-serio-1-event-mouse

P: /devices/pci0000:00/0000:00:1b.0/sound/card0/input9/event9
N: input/event9
S: char/13:73
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1b.0/sound/card0/input9/event9
E: MAJOR=13
E: MINOR=73
E: DEVNAME=/dev/input/event9
E: SUBSYSTEM=input
E: ID_INPUT=1
E: x11_driver=evdev
E: ACL_MANAGE=1
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:73

DRM Information from dmesg:
[    0.000000] No AGP bridge found
[    0.642776] Linux agpgart interface v0.103
[    0.644446] agpgart-intel 0000:00:00.0: Intel Mobile Intel® GM45 Express Chipset
[    0.646207] agpgart-intel 0000:00:00.0: detected 32764K stolen memory
[    0.649732] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[    0.663465] [drm] Initialized drm 1.1.0 20060810
[    0.695779] [drm] set up 31M of stolen space
[    1.333824] [drm] LVDS-8: set mode 1440x900 c
[    1.402691] fb0: inteldrmfb frame buffer device
[    1.405761] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0


- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xserver-xorg-core depends on:
ii  keyboard-configuration     1.50          system-wide keyboard preferences
ii  libaudit0                  1.7.13-1      Dynamic library for security audit
ii  libc6                      2.10.2-5      Embedded GNU C Library: Shared lib
ii  libdrm2                    2.4.15-1      Userspace interface to kernel DRM
ii  libgcrypt11                1.4.5-1       LGPL Crypto library - runtime libr
ii  libpciaccess0              0.10.9-1      Generic PCI access library for X
ii  libpixman-1-0              0.16.4-1      pixel-manipulation library for X a
ii  libselinux1                2.0.89-4      SELinux runtime shared libraries
ii  libudev0                   149-2         libudev shared library
ii  libxau6                    1:1.0.5-1     X11 authorisation library
ii  libxdmcp6                  1:1.0.3-1     X11 Display Manager Control Protoc
ii  libxfont1                  1:1.4.1-1     X11 font rasterisation library
ii  udev                       149-2         /dev/ and hotplug management daemo
ii  xserver-common             2:1.7.3.902-1 common files used by various X ser
ii  xserver-xorg               1:7.5+1       the X.Org X server

Versions of packages xserver-xorg-core recommends:
ii  libgl1-mesa-dri               7.6.1-1    A free implementation of the OpenG

Versions of packages xserver-xorg-core suggests:
ii  xfonts-100dpi                 1:1.0.1    100 dpi fonts for X
ii  xfonts-75dpi                  1:1.0.1    75 dpi fonts for X
ii  xfonts-scalable               1:1.0.1-1  scalable fonts for X

- -- no debconf information
iEYEARECAAYFAktIVr4ACgkQ9ijrk0dDIGybsgCfU0OgzIM/v0ewbaQWLqRhGK1p
vRsAnjG/VYSzRSK5BNVWBYPnfR61v/0w
=RPM+
-----END PGP SIGNATURE-----

#564327#10
Date:
2010-01-09 10:17:34 UTC
From:
To:
Hi,

I may add that the same error appears in .xsession-errors, from when
GNOME tries to apply the .Xmodmap settings.

Greetings,
Joachim

#564327#15
Date:
2011-05-31 16:58:47 UTC
From:
To:
In case it's helpful, here's another xmodmap that fails under squeeze's
xserver-xorg-input-kbd 1:1.4.0-2.

I also want to note that this may be a the same bug as is reported in
Debian Bug 432011
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432011

I wasn't sure enough that I tried to merge them (I'm not even sure if
mundane users can merge bug reports anyway).

Anyway, below is my additional information on this bug:

The xmodmap below used to:
   * Make caps lock a CTRL (that part still works)
   * make the left CTRL key a Mod2 key (that part doesn't work)
   * make the left ALT key a Mod1 key (that part doesn't work)

######################################################################
clear Mod1
clear Mod2
clear Lock
clear Control

keycode 66  = Control_L

keycode 64 = Meta_L
keycode 113 = Meta_R
keycode 37 = Alt_L
keycode 109 = Alt_R

add Control = Control_L

add Mod1 = Meta_L
add Mod1 = Meta_R

add Mod2 = Alt_L
add Mod2 = Alt_R
######################################################################

This was a working xmodmap used in production for decades.  It now fails
with this error:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  118 (X_SetModifierMapping)
  Value in failed request:  0x17
  Serial number of failed request:  21
  Current serial number in output stream:  21

#564327#20
Date:
2012-08-29 08:05:19 UTC
From:
To:
Hi,

http://unix.stackexchange.com/questions/4485/reassign-ctl-and-alt-keys-xmodmap-error
links to this bug and mentions that replacing "remove Lock = ..." with
"clear Lock" avoids this error.

Greetings,
Joachim

#564327#25
Date:
2018-12-28 15:20:05 UTC
From:
To:
Hi

I don't know about OP, but at least the later poster will likely find the following useful.

I got the commands working as desired by clearing Control and Mod1 _after_ resetting the code.

I too got the error message [1] when I ran `xmodmap .Xmodmap', and I too got it working correctly when I ran `xmodmap .Xmodmap' once more. As can be seen from the output of `xmodmap -pm', for some reason, mere reassigning of keycodes sets Mod1 and Control too. (Note, however, that doing the same thing via keysyms does not do it.) So, you need to clear Mod1 and Control _after_ the reassigning, and _then_ populate the Mod1 and Control yourself.

Command: setxkbmap -layout us -variant dvp ; xmodmap .Xmodmap
~/.Xmodmap fragment [2] fails with error [1], fragment [3] succeeds.

[1]:
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  118 (X_SetModifierMapping)
  Value in failed request:  0x17
  Serial number of failed request:  18
  Current serial number in output stream:  18

[2]:
clear Mod1
clear Control
keycode 64 = Control_L
keycode 108 = Control_R
keycode 37 = Alt_L
keycode 105 = Alt_R
add Mod1 = Alt_L Alt_R
add Control = Control_L Control_R

[3]:
keycode 64 = Control_L
keycode 108 = Control_R
keycode 37 = Alt_L
keycode 105 = Alt_R
clear Mod1
clear Control
add Mod1 = Alt_L Alt_R
add Control = Control_L Control_R

Additional information: As mentioned above, using keysyms, instead of keycodes, avoids the problem. So, .Xmodmap fragment [4] succeeds. Also, the workaround provided in [5] (sleep for 15s) did not work for me.

[4]:
clear Mod1
clear Control
keysym Alt_L = Control_L
keysym Alt_R = Control_R
keysym Control_L = Alt_L
keysym Control_R = Alt_R
add Mod1 = Alt_L Alt_R
add Control = Control_L Control_R

[5]:
https://bbs.archlinux.org/viewtopic.php?id=147823