[Wayland-bugs] [Bug 101099] Make sure LID_SWITCH_RELIABILITY=write_open is useful
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri May 19 12:20:54 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101099
Bug ID: 101099
Summary: Make sure LID_SWITCH_RELIABILITY=write_open is useful
Product: Wayland
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: libinput
Assignee: wayland-bugs at lists.freedesktop.org
Reporter: benjamin.tissoires at gmail.com
See the 3 top commits of https://github.com/bentiss/libinput
We were not able to trigger the required conditions to have the switch
overwritten by libinput.
I haven't finished writing the tests, but:
- an assert is raised with the current code when
* a keyboard gets paired with the lid switch
* the lid switch node report closed while it is physically opened
* a key gets pressed on the paired keyboard, which opens the lid switch
* the keyboard gets unplugged (on the Surface 3, closing the cover removes
the attached USB devices)
- we can't start observing keyboard events is the state is reported as opened
by evdev-lid.c
- we need to start listening to the events when pairing the keyboard if the
reported state is "closed"
--
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/20170519/2da66f93/attachment.html>
More information about the wayland-bugs
mailing list