Get evtest to detect keyboard

Peter Hutterer peter.hutterer at who-t.net
Fri Dec 10 04:46:52 UTC 2021


On Sat, Nov 27, 2021 at 10:03:15AM -0600, Wes Gilster wrote:
> I don't get:
> 
> KEY_EJECT
> 
> KEY_FINANCE
> 
> KEY_SHOP
> 
> KEY_SPORT
> 
> etc...

if evtest doesn't see the keys, there are three options:
- the device doesn't send them
- the kernel doesn't forward them (likely a hid problem and worthy of a bug at
  https://gitlab.freedesktop.org/libevdev/hid-tools/)
- the keycode isn't mapped.  search for the 60-keyboard.hwdb file on your
  computer and read the instructions at the top.

Most likely the scancodes on this keyboard aren't mapped correcly. Work the
above list bottom to top ;)

Cheers,
  Peter



More information about the xorg mailing list