[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 02:34:07 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=99777
--- Comment #11 from Nate Graham <pointedstick at zoho.com> ---
That's odd, because evemu-record is definitely able to see lid switch events if
I target event0:
################################
# Waiting for events #
################################
E: 0.000001 0005 0000 0001 # EV_SW / SW_LID 1
E: 0.000001 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +0ms
E: 1.132031 0005 0000 0000 # EV_SW / SW_LID 0
E: 1.132031 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
+1132ms
[triggered by closing and opening the lid]
Also, `udevadm info` shows stuff:
$ udevadm info /sys/class/input/event0
P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0/event0
N: input/event0
E: DEVNAME=/dev/input/event0
E: DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0/event0
E: ID_INPUT=1
E: ID_PATH=acpi-PNP0C0D:00
E: ID_PATH_TAG=acpi-PNP0C0D_00
E: LIBINPUT_DEVICE_GROUP=19/0/5/0:PNP0C0D/button
E: MAJOR=13
E: MINOR=64
E: SUBSYSTEM=input
E: TAGS=:power-switch:
E: USEC_INITIALIZED=4970686
But you're right `sudo evemu-event --type EV_SW --code SW_LID --value 1 --sync
/dev/input/event0` doesn't manage to disable the touchpad.
So... what's going on here?
--
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/dde0aba3/attachment.html>
More information about the wayland-bugs
mailing list