[Wayland-bugs] [Bug 99777] Lid switch monitoring occasionally gives false positives, erroneously disabling the internal touchpad

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 13 03:17:24 UTC 2017


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

--- Comment #12 from Peter Hutterer <peter.hutterer at who-t.net> ---
(In reply to Nate Graham from comment #11)
> That's odd, because evemu-record is definitely able to see lid switch events
> if I target event0:

yes, that's expected. the kernel's handling is independent of libinput,
libinput may choose not to handle certain devices. fwiw, what evemu sees is the
same that libinput sees.

> Also, `udevadm info` shows stuff:

ID_INPUT_SWITCH is missing, that's the one thing we care about for the switch
code. For other touchpads we use ID_INPUT_TOUCHPAD, etc.

> So... what's going on here?

honestly, no idea at this point. Leave libinput-debug-events running and see
what happens when the touchpad disables itself. Or check the Xorg.log when this
happens to see if there's anything of use.

if you leave libinput-debug-events running, I recommend applying this patch
first:
https://lists.freedesktop.org/archives/wayland-devel/2017-February/033065.html

-- 
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/20170213/21f12166/attachment-0001.html>


More information about the wayland-bugs mailing list