[systemd-bugs] [Bug 71929] Tablet buttons on Thinkpad X201 Tablet not working after updating to systemd 208

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 22 17:39:42 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=71929

--- Comment #3 from rat.o.drat at gmail.com ---
I've played with this a bit and fixed the issue for me, though I haven't found
a proper fix.

I've created a file  /etc/udev/hwdb.d/90-custom-keyboard.hwdb and copied there
the rules for those buttons. But I replaced pnThinkPad*X2*Tablet* with pn*. So
the contents are:

keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvr*
 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

Now I get proper results:

Event: time 1385170153.511745, type 4 (EV_MSC), code 4 (MSC_SCAN), value 66
Event: time 1385170153.511745, type 1 (EV_KEY), code 152 (KEY_SCREENLOCK),
value 1
Event: time 1385170153.511745, -------------- SYN_REPORT ------------
Event: time 1385170153.811917, type 4 (EV_MSC), code 4 (MSC_SCAN), value 66
Event: time 1385170153.811917, type 1 (EV_KEY), code 152 (KEY_SCREENLOCK),
value 0
Event: time 1385170153.811917, -------------- SYN_REPORT ------------

I've tried pnThinkPad* or pn*X201*, nothing seemed to work. According to
dmidecode the value matched there should be "ThinkPad X201 Tablet" (I think).

I would do more but i don't know how to debug this other than trying different
strings and rebooting to see if it works.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20131123/a8e4a30e/attachment.html>


More information about the systemd-bugs mailing list