Get evtest to detect keyboard

Chris Sorenson csoren at cpinternet.com
Sun Nov 28 21:53:52 UTC 2021


>

> Message: 1
> Date: Sat, 27 Nov 2021 10:03:15 -0600
> From: Wes Gilster
> To: xorg at lists.x.org
> Subject: Get evtest to detect keyboard
> Message-ID:
>
> Content-Type: text/plain; charset="utf-8"
>
> I appologize in advance if this is more of a kernel question than XWin
> question...
>
> This is my keyboard:
>
> (snip long link)
>
> Which is (more or less) the keyboard hp5185 here:
>
> http://v-sgsync-lnx1.nwu.ac.za/share.old/X11/xkb/symbols/inet
>
> So it seems my keyboard should be supported for all of it's consumer
> controls. Plus, on a previous install of Linux I had the keys working.
> Sorry, I didn't keep track of the version because I didn't realize it
> was going to be necessary.
>
> Yet now, on kernel version:
>
> uname -r
>
> 5.4.0-90-generic
>
> ...and Xorg -version
>
> 1.20.11
>
>
> I run evtest against the Consumer Controls for my keyboard, for
> "/dev/input/event5"(in my case) I only get:
>
> KEY_HOMEPAGE
>
> KEY_SEARCH
>
> KEY_MAIL
>
> KEY_STOPCD
>
> KEY_PREVIOUSSONG
>
> KEY_PLAYPAUSE
>
> KEY_NEXTSONG
>
> KEY_VOLUME_UP
>
> KEY_VOLUME_DOWN
>
> KEY_MUTE
>
>
> I don't get:
>
> KEY_EJECT
>
> KEY_FINANCE
>
> KEY_SHOP
>
> KEY_SPORT
>
> etc...
>
It would appear that keyboard is indeed supported:

https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/blob/master/keycodes/evdev
 


More information about the xorg mailing list