<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - libinput 1.8.3 -> 1.9.1: laptop keyboard not working"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103561#c16">Comment # 16</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - libinput 1.8.3 -> 1.9.1: laptop keyboard not working"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103561">bug 103561</a>
from <span class="vcard"><a class="email" href="mailto:zeng.shixin@gmail.com" title="zeng.shixin@gmail.com">zeng.shixin@gmail.com</a>
</span></b>
<pre>(In reply to Peter Hutterer from <a href="show_bug.cgi?id=103561#c14">comment #14</a>)
<span class="quote">> Benjamin Berg pointed me to this commit here:
>
> <a href="https://github.com/torvalds/linux/commit/">https://github.com/torvalds/linux/commit/</a>
> 298747b7579f5bbbced793d997b333fd10a24921#diff-
> 54f29874e2ea44548b8273ee96e20f76
>
> Based on this it looks like the status is reported wrong (tablet mode on
> when it's actually off) and that causes libinput to disable the keyboard and
> touchpad. Could easily be verified by: a) plugging a usb mouse in, those
> don't get disabled and b) running evemu-record against the device with the
> tablet mode switch bits (the WMI hotkeys device?) and checking the switch
> state. If it's 1 when the device isn't in tablet mode, then we have the
> culprit.</span >
This is what I see on my HP Envy TouchSmart:
$ sudo ./libinput-debug-events --device /dev/input/event18 --verbose
event18 - HP WMI hotkeys: is tagged by udev as: Keyboard Switch
event18 - HP WMI hotkeys: device is a keyboard
event18 - HP WMI hotkeys: device is a switch device
-event18 DEVICE_ADDED HP WMI hotkeys seat0 default
group1 cap:kS
event18 SWITCH_TOGGLE +0.00s switch tablet-mode state 1
^Cevent18 - HP WMI hotkeys: device removed</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>