[Bug 539135] New: some keycodes mixed up (cursor down, page down etc.)
http://bugzilla.novell.com/show_bug.cgi?id=539135 Summary: some keycodes mixed up (cursor down, page down etc.) Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 7 Platform: Other OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: suse-beta@cboltz.de QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: Beta-Customer Created an attachment (id=318199) --> (http://bugzilla.novell.com/attachment.cgi?id=318199) xorg.conf I see some interesting keycode mixup since updating from 11.1 to 11.2 M7: - cursor down results in keycode 116 (should be 104, 116 was the right windows key in 11.1 which is now 134) - page down results in keycode 117 (should be 105, 117 was the menu key in 11.1 which is now 135) - volume down results in keycode 122 (should be 174) - the "stop" multimedia key now works as volume down - (maybe more changes I didn't notice yet) I noticed these changes because I have a .Xmodmap which gives the windows and menu keys a more useful function. At least it did until 11.1 - now it changes the cursor down and page down keys which is not funny... The other affected keys also seem to be configured in my Xmodmap. Nevertheless, I'd still call the keycode changes a bug. My xorg.conf (attached) is nearly unchanged compared to 11.1 - I only replaced the nvidia graphics driver with nv. Hardware: Dell Vostro 1710 laptop -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539135
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539135#c1
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=539135
User suse-beta@cboltz.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=539135#c2
Christian Boltz
http://bugzilla.novell.com/show_bug.cgi?id=539135
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539135#c3
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=539135
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=539135
User suse-beta@cboltz.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=539135#c4
--- Comment #4 from Christian Boltz
http://bugzilla.novell.com/show_bug.cgi?id=539135
Christian Boltz
http://bugzilla.novell.com/show_bug.cgi?id=539135
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539135#c5
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=539135
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539135#c6
--- Comment #6 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=539135
User suse-beta@cboltz.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=539135#c7
Christian Boltz
Compare keycodes in .. I don't believe we can change these definitions.
Indeed, this would explain the changes. If this is really an intended change (looks so), I'll change my Xmodmap to the evdev keycodes. (I opened this bug because I thought the changes happened accidently.) Maybe you should add a small note to the release notes: X now uses the evdev keyboard driver by default. If you use Xmodmap to modify your keyboard layout, you'll have to update some keycodes. If you want to switch back to the old keyboard driver, add Option "AutoAddDevices" "off" to the 'ServerFlags' section of /etc/X11/xorg.conf. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539135
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539135#c8
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=539135
User suse-beta@cboltz.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=539135#c9
Christian Boltz
For updates we'll add
Option "AutoAddDevices" "off"
to ServerFlags of existing xorg.conf beginning with Milestone 8.
This seems to work too good ;-) Section "ServerFlags" Option "AutoAddDevices" "off" # probably added by the package update Option "AutoAddDevices" "off" # probably added by the package update Option "AllowMouseOpenFail" "on" Option "ZapWarning" "on" Option "Xinerama" "0" # testing - bug 539135 Option "AutoAddDevices" "off" # that's the line I added manually EndSection Please add the AutoAddDevices option only if it isn't there yet. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539135
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539135#c10
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=539135
User suse-beta@cboltz.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=539135#c11
Christian Boltz
This issue has already been fixed. Meanwhile it's only added as a comment - and only once. :-)
OK, just verified this in rpm -q --scripts xorg-x11-server - the script looks good. This also means that there will be keycode changes on upgrades - that's worth a release notes entry IMHO.
And meanwhile we also figured out that the keycode changes are not related to evdev driver against kbd driver. It appears to be a general change in Xserver. Oh well ...
Nice. That sounds like a section in the release notes would be useful ;-) Please comment on Bug 551727 if my proposed text is correct. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com