You are not logged in.

#1 2014-05-10 02:18:35

BigIke
Member
Registered: 2013-09-05
Posts: 3

Cannot get keyboard special keys to work in xorg

I am having some problems with all of the special keys on my keyboard. I verified that the keys in question work in the console using:

showkeys --keycodes

Which returns the expected results eg.

...
keycode 114 press
keycode 114 release

However when I use:

xev

I get no response at all from pressing the key. (All non-special keys function as expected)

So I checked xmodmap

xmodmap -pke

Which gave me the expected result

...
keycode 122 = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume
...

So it appears that xmodmap is configured correctly.

So if a keycode is configured properly at the console and xmodmap is good why doesn't xev give any response at all?

Offline

#2 2014-05-10 05:40:01

alezost
Member
Registered: 2013-10-17
Posts: 61

Re: Cannot get keyboard special keys to work in xorg

Did you look at https://wiki.archlinux.org/index.php/Ma … o_keycodes?
"setkeycodes" helped me with some keys that were not seen by "xev".

Offline

#3 2014-05-10 17:31:47

BigIke
Member
Registered: 2013-09-05
Posts: 3

Re: Cannot get keyboard special keys to work in xorg

Thanks for the reply but the first line of that article says:

Mapping scancodes to keycodes is universal and not specific to Linux console or Xorg, which means that changes to this mapping will be effective in both.

Since the keycodes are working in the console already then the scancodes are already mapped to the proper keycodes. The problem is specific to when I am running xorg.

It seems like the kernel is getting the keycode just fine but something is interfering with xorg recieving it. I attempted using xev both in Gnome and a basic xsession with only xterm running and got the same result.

Offline

Board footer

Powered by FluxBB