[Wayland-bugs] [Bug 102039] LID_SWITCH_RELIABILITY=write_open doesn't work
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 16 04:38:23 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=102039
Peter Hutterer <peter.hutterer at who-t.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #4 from Peter Hutterer <peter.hutterer at who-t.net> ---
Post the top of libinput-debug-events --verbose please, that should show if
libinput pairs the switch correctly. The obvious question too: are you typing
or using the touchpad?
(In reply to Jason D. Clinton from comment #3)
> When closing the lid, suspending, opening the lid and resuming (all with the
> HWDB change above enabled), only the lid close event shows up:
>
> $ sudo libinput-debug-events --device /dev/input/event0
> WARNING: This compatibility wrapper will be removed in the future. Please
> run 'libinput debug-events' instead
> -event0 DEVICE_ADDED Lid Switch seat0 default
> group1 cap:S
> event0 SWITCH_TOGGLE +7.30s switch lid state 1
> ^C
this cannot work. libinput relies on other devices (keyboard, touchpad) to send
events and thus signal that the lid is open. If you init libinput this way, it
only listens to the lid device, so it can never detect any input that would
trigger the write open. See
http://who-t.blogspot.com.au/2017/02/libinput-and-lid-switch-events.html for an
explanation
--
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/20170816/17011443/attachment.html>
More information about the wayland-bugs
mailing list