Gigabyte KM7600 incorrectly identified
Submitted by Claudio Kozický
Assigned to Xorg Project Team
Description
Created attachment 72211 /var/log/Xorg.0.log
I have discovered that this keyboard (it's actually a keyboard and mouse with a single wireless receiver that connects into a USB slot) doesn't get correctly identified while I was trying to set the keyboard layout from /etc/X11/xorg.conf.d/. The layout from /etc/X11/xorg.conf.d/10-keyboard doesn't get set on the keyboard. But if I connect a different keyboard, the layout is set correctly. From the output of xinput list
it seems that the keyboard is identified as a 'pointer' instead of 'keyboard' (the KM7600 is the SONiX USB Device):
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ROCCAT ROCCAT Kova[+] id=8 [slave pointer (2)]
⎜ ↳ SONiX USB Device id=10 [slave pointer (2)]
⎜ ↳ SONiX USB Device id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ ROCCAT ROCCAT Kova[+] id=9 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
I am of the opinion that one of the 'SONiX USB Device'es should be in the keyboard section for the keyboard to be identified correctly and for the settings in /etc/X11/xorg.conf.d/10-keyboard to be applied successfully. Applying the settings automatically after login with setxkbmap -layout "cz,us" -option "grp:alt_shift_toggle"
works as a temporarily workaround.
It seems to me that the cause of this bug is identical to the cause of https://bugs.freedesktop.org/show_bug.cgi?id=46008 and indicates that the bug might affect an even higher amount of keyboards.
Attachment 72211, "/var/log/Xorg.0.log":
Xorg.0.log
Version: 7.7 (2012.06)