[Wayland-bugs] [Bug 102039] LID_SWITCH_RELIABILITY=write_open doesn't work

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 20 02:44:30 UTC 2017


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

Jason D. Clinton <me at jasonclinton.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #25 from Jason D. Clinton <me at jasonclinton.com> ---
Yep, that fixes it. I followed
https://wayland.freedesktop.org/libinput/doc/latest/building_libinput.html to
overwrite system version in F26.

Here's an abbreviated log showing that it works:

$ sudo libinput debug-events --verbose
[...]
event0  - Lid Switch: is tagged by udev as: Switch
event0  - Lid Switch: device is a switch device
event0  - Lid Switch: will write switch open events
[...]
event9  - Razer Razer Blade Stealth: is tagged by udev as: Keyboard
event9  - Razer Razer Blade Stealth: device is a keyboard
event0  - lid: keyboard paired with Lid Switch<->Razer Razer Blade Stealth
event10 - Razer Razer Blade Stealth: is tagged by udev as: Keyboard
event10 - Razer Razer Blade Stealth: device is a keyboard
event0  - lid: keyboard paired with Lid Switch<->Razer Razer Blade Stealth
[...]
event4  - AT Raw Set 2 keyboard: is tagged by udev as: Keyboard
event4  - AT Raw Set 2 keyboard: device is a keyboard
event0  - lid: keyboard paired with Lid Switch<->AT Raw Set 2 keyboard
[...]
-event0   DEVICE_ADDED     Lid Switch                        seat0 default
group3  cap:S
[...]
-event9   DEVICE_ADDED     Razer Razer Blade Stealth         seat0 default
group9  cap:k
-event10  DEVICE_ADDED     Razer Razer Blade Stealth         seat0 default
group9  cap:kp scroll-nat
[...]
-event4   DEVICE_ADDED     AT Raw Set 2 keyboard             seat0 default
group12 cap:k
[close lid]
event12 - lid: suspend touchpad
-event0   SWITCH_TOGGLE    +13.22s      switch lid state 1
-event11  POINTER_MOTION   +18.57s        0.30/  0.00
event4  - AT Raw Set 2 keyboard: device removed
-event4   DEVICE_REMOVED   AT Raw Set 2 keyboard             seat0 default
group12 cap:k
[open lid]
event12 - lid: resume touchpad
-event0   SWITCH_TOGGLE    +21.13s      switch lid state 0
-event10  KEYBOARD_KEY     +21.13s      *** (-1) pressed

Nice work!

-- 
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/20170920/8dda7ac1/attachment.html>


More information about the wayland-bugs mailing list