[Wayland-bugs] [Bug 106498] Lenovo X1 Yoga (Gen 3) touchpad not suspended in tablet mode

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 14 00:57:57 UTC 2018


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

Peter Hutterer <peter.hutterer at who-t.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |peter.hutterer at who-t.net

--- Comment #1 from Peter Hutterer <peter.hutterer at who-t.net> ---
That is... strange. The code calls evdev_device_suspend() immediately and that
should close the fd on the device. I'll need you to debug this because I can't
see where this is going wrong. Simple enough if you're on the machine. Grep git
master and build it:

https://wayland.freedesktop.org/libinput/doc/latest/building_libinput.html
No need to install it, just build it locally, then run:

sudo gdb ./builddir/libinput-debug-events

put a breakpoint at  tp_switch_event() and trigger the tablet mode switch.
Single-step through to figure out where it's going wrong.




Speaking of Yoga, can you check bug 103749 and confirm whether this device
needs the keyboard exception too?

-- 
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/20180514/9b6d0a66/attachment.html>


More information about the wayland-bugs mailing list