<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 - Unintended suspend"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102959">bug 102959</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 - Unintended suspend"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102959#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Unintended suspend"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102959">bug 102959</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>libinput doesn't do anything with suspend, the only thing it does is that it
disables the touchpad when a lid switch event is received. see
<a href="http://who-t.blogspot.com/2017/02/libinput-and-lid-switch-events.html">http://who-t.blogspot.com/2017/02/libinput-and-lid-switch-events.html</a> for an
explanation.
If you hardware is broken, you can set
LIBINPUT_ATTR_LID_SWITCH_RELIABILITY=write_open
in the hwdb (have a look at 90-libinput-model-quirks.hwdb, there are entries
for this already). If that is set, libinput will send a lid open event as soon
as you start typing. That at least papers over the firmware bug you're seeing.
What does evemu-record on the device show in this case? Does it show an open +
close event?</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>