Special keys on Dell XPS L502X

My Th rei4dan at gmail.com
Mon Mar 12 11:00:00 PDT 2012


Hi!

I used "showkey" from console to get scancodes and keycodes for the
three buttons. Also used "dumpkeys" to look up the keycodes. But these
results are different from the ones I got using "xev" (see previous
mail).

Key I:
------

scancode 0xe0 0x5b 0x2d 0xad 0xe0 0xdb

keycode 125 press
keycode  45 press
keycode  45 release
keycode 125 release

keycode  45 is mapped to 'x'
keycode 125 is mapped to 'Decr_Console'

The biggest problem with this key is that it produces two keycodes
although from reading I understood that each physical key should have
just one keycode, but it could send multiple scancodes. So is this a
bug?

Also using "xev" I got different keycode for 'x'. I'm using Gnome3 as
DE, but I expected keycodes to be the same between VT and Gnome3.


Key II:
-------

scancode 0xe0 0x4c 0xe0 0xcc

keycode 224 press
keycode 224 release

keycode 224 is mapped to 'nul'

This one looks like it is not mapped, but in Gnome3 it decreased display
brightness. Again DE does something different.


Key III:
--------

scancode 0xe0 0x19 0xe0 0x99

keycode 163 press
keycode 163 release

keycode 163 is mapped to 'nul'


Any pointers would be appreciated.


Reinis




More information about the xorg mailing list