<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:peter.hutterer@who-t.net" title="Peter Hutterer <peter.hutterer@who-t.net>"> <span class="fn">Peter Hutterer</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Lenovo X1 Yoga (Gen 3) touchpad not suspended in tablet mode"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106498">bug 106498</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>NEEDINFO
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>peter.hutterer@who-t.net
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Lenovo X1 Yoga (Gen 3) touchpad not suspended in tablet mode"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106498#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Lenovo X1 Yoga (Gen 3) touchpad not suspended in tablet mode"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106498">bug 106498</a>
from <span class="vcard"><a class="email" href="mailto:peter.hutterer@who-t.net" title="Peter Hutterer <peter.hutterer@who-t.net>"> <span class="fn">Peter Hutterer</span></a>
</span></b>
<pre>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:
<a href="https://wayland.freedesktop.org/libinput/doc/latest/building_libinput.html">https://wayland.freedesktop.org/libinput/doc/latest/building_libinput.html</a>
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 <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - SW_TABLET_MODE disables monitor bezel button in tablet mode"
href="show_bug.cgi?id=103749">bug 103749</a> and confirm whether this device
needs the keyboard exception too?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>