<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Tablet buttons on Thinkpad X201 Tablet not working after updating to systemd 208"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71929#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Tablet buttons on Thinkpad X201 Tablet not working after updating to systemd 208"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71929">bug 71929</a>
from <span class="vcard"><a class="email" href="mailto:rat.o.drat@gmail.com" title="rat.o.drat@gmail.com">rat.o.drat@gmail.com</a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>