[Wayland-bugs] [Bug 103561] libinput 1.8.3 -> 1.9.1: laptop keyboard not working

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 8 15:36:44 UTC 2017


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

--- Comment #16 from zeng.shixin at gmail.com ---
(In reply to Peter Hutterer from comment #14)
> Benjamin Berg pointed me to this commit here:
> 
> https://github.com/torvalds/linux/commit/
> 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.

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20171108/273c15fb/attachment.html>


More information about the wayland-bugs mailing list