Re: Key press not detected by showkey or xev, but appears to be detected by kernel
Reply #2 –
eudev have good support for X200T, but no support for X220T:
cat /usr/lib/udev/hwdb.d/60-keyboard.hwdb
# Thinkpad X200_Tablet
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*Tablet*
KEYBOARD_KEY_5d=menu
KEYBOARD_KEY_63=fn
KEYBOARD_KEY_66=screenlock
KEYBOARD_KEY_67=cyclewindows # bezel circular arrow
KEYBOARD_KEY_68=setup # bezel setup / menu
KEYBOARD_KEY_6c=direction # rotate screen
but maybe it's 220x similar
you can try edit /usr/lib/udev/hwdb.d/60-keyboard.hwdb and add new section and reboot your computer:
# Thinkpad X220_Tablet
keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPadX2[23]0Tablet*
KEYBOARD_KEY_5d=menu
KEYBOARD_KEY_63=fn
KEYBOARD_KEY_66=screenlock
KEYBOARD_KEY_67=cyclewindows # bezel circular arrow
KEYBOARD_KEY_68=setup # bezel setup / menu
KEYBOARD_KEY_6c=direction # rotate screen driection or scale
thinkpad-script contain only two actions
https://github.com/martin-ueding/thinkpad-scripts/blob/master/90-X2x0T-keyboard.hwdb
maybe can help that?
but probably contain 90-X2x0T-keyboard.hwdb that maximum.
Please add here your 'dmesg' output