<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<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#c2">Comment # 2</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:jeremy9856@gmail.com" title="Paviluf <jeremy9856@gmail.com>"> <span class="fn">Paviluf</span></a>
</span></b>
<pre>(In reply to Peter Hutterer from <a href="show_bug.cgi?id=102959#c1">comment #1</a>)
<span class="quote">> 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.</span >
Suspend is triggered (by systemd it seem) because libinput detect a lid event
in the first place, right ?
<span class="quote">> 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.</span >
The thing is I strongly doubt that my lid is broken. It's just a possibility.
Since it never happen before I installed Fedora 26, and it happen with 2
different firmware, I'm more inclined to think it's a software problem.
<span class="quote">> What does evemu-record on the device show in this case? Does it show an open
> + close event?</span >
It will be hard to know since it only happened once in 10 days since I test the
John Lewis firmware.</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>