I've upgraded my kernel to 2.6.23-rc7 and I experienced, that xmodmap doesn't work anymore. It starts fine, but then seems to exit immediately. xmodmap .Xmodmap -v ! ! executing work queue ! keycode 0xec = F21 keycode 0xb2 = F22 keycode 0xae = F23 keycode 0xb0 = F24 keycode 0xa0 = F25 keycode 0x90 = XF86AudioPrev keycode 0xa2 = XF86AudioPlay keycode 0x99 = XF86AudioNext keycode 0x7a = F20 After this, the keys do not work. The only change, that has been made was the upgrade of the kernel. This does happen for the evdev driver (my mouse has a "key", that is the last line) and for the kbd driver (the other keycodes). I've already recompiled xmodmap (if that would be necessary). Unfortunately I've got no other debug output. Would a strace output help? A downgrade to 2.6.22 does bring it back immediately. I've tried 2.6.23-rc2, -rc6 and -rc7.
I would be surprised to see the kernel version have such a direct impact. For the record, we have a Debian bug report [1] saying that xmodmap does not work anymore when called from .xsession while it works when called later manually. Do you experience something like this? Maybe the kernel changes a little bit the behavior of the Xserver during its startup, causing .xsession to not work the same? [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443044
(In reply to comment #1) > I would be surprised to see the kernel version have such a direct impact. For > the record, we have a Debian bug report [1] saying that xmodmap does not work > anymore when called from .xsession while it works when called later manually. > Do you experience something like this? Maybe the kernel changes a little bit > the behavior of the Xserver during its startup, causing .xsession to not work > the same? > > [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443044 > I was quite surprised myself. ;) Actually I don't have a ~/.xsession file. When I do run xmodmap manually (like above), it doesn't change anything. But I will try later what happens, if I modifiy (/etc/X11/Sessions/Xsession) to not load any usermodmaps. All that I can say, is, that the kernel certainly has an affect on this. When I use 2.6.22* everything is perfect, when I use 2.6.23* it doesn't work. BTW, I don't have Xorg 7.3. I do have a few packages from Xorg 7.3, but this started to happen before I upgraded (partially) to 7.3. Also I use xorg-server-1.3 (because of the ati drivers, which won't work with xorg-server-1.4).
I found out, that I had CONFIG_SYSFS_DEPRECATED set in my kernel config, which caused the problem. I unset it now and it works again. So this bug report is actually invalid, since it isn't really a xmodmap problem.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.