You are not logged in.
I have a USB keyboard connected to a desktop computer. The problem is that the multimedia keys (volume up, etc...) do not work. They are not seen at all by xev (I have tested it with just an xterm as an "X session" to be sure nothing grab them). However they are seen by showkey in the console: for example volume up is keycode 115). It used to work n the past. Note that I use the catalyst driver and the violo downgraded xorg 114 but maybe someone has an explanation.
Edited: it was showkey, not showkeys
Edited: I have finally found the solution: remove xf86-input-joystick. I found, examining /var/log/Xorg.0.log that this driver were used for my keyboard (as well as evdev): Microsoft Wired Keyboard 600.
Last edited by olive (2014-03-21 20:05:03)
Offline
You should map scancodes to keycodes:
https://wiki.archlinux.org/index.php/Ex … board_Keys
https://wiki.archlinux.org/index.php/Ma … o_keycodes
Offline
@alezost The keyboard are correctly mapped as seen by showkeys in the console and evtest:
Event: time 1395388079.758324, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00e9
Event: time 1395388079.758324, type 1 (EV_KEY), code 115 (KEY_VOLUMEUP), value 1
The kernel and udev works thus correctly. But for some reason xorg refuse to see the keys. Note that these multimedia keys are completely standards were previously reported. They are reported in others distros (mageia at least). I have upgraded to the official xorg package and installed the opensource radeon driver but this makes no change.
Last edited by olive (2014-03-21 09:57:35)
Offline
Ok, i actually don't have a deep understanding of that stuff. And i don't know about "showkeys" and "evtest" (even pkgfile tells nothing about those). But i had a similar (i think so) issue several months ago: xev did not react on some multimedia keys and "showkey --scancodes" (in VT) printed something. So after i mapped keys with setkeycodes, xev began to report about the keys. That's all I know; I hope it was helpful.
Offline
evtest is in the AUR: https://aur.archlinux.org/packages/evtest/
Offline