[Wayland-bugs] [Bug 102959] Unintended suspend
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Sep 24 07:26:12 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=102959
Bug ID: 102959
Summary: Unintended suspend
Product: Wayland
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: libinput
Assignee: wayland-bugs at lists.freedesktop.org
Reporter: jeremy9856 at gmail.com
Hello,
My HP Chromebook 14 (Falco) sometime go to sleep without any reason. I'm on
Fedora 26. I ran F23, F24, F25 without any problem in the past. The problem
occur with both John Lewis and MattDevo firmware. Seem to happen less with JL
firmware (only once that week).
It seem that there is fake "Lid closed" event...
> sept. 12 19:59:30 hp systemd-logind[759]: Lid opened.
> sept. 12 19:59:30 hp systemd-logind[759]: Suspending...
> sept. 12 19:59:30 hp systemd-logind[759]: Lid closed.
Of course my lid can be "broken" and send fake event but as I said it never
happened before I installed Fedora 26 and I tried to move the lid in all
possible way and I never managed to trigger a "fake" event.
Anyway these almost instant conflicting event should cancel them out. I mean
libinput (systemd ?) should wait a little bit (1s ?) before putting the pc into
suspend and this for 2 reasons. The first one to avoid unwanted behaviour like
this one. The second to prevent the pc to suspend itself if you change your
mind (eg. you close the lid to suspend it but reopen it almost instantaneously
to continue using it).
So there is a possible bug in libinput (or systemd or elsewhere but where ?)
that trigger these event without any reason and there is a possible improvement
to make to handle suspend event.
I also opened a bug report against systemd
https://github.com/systemd/systemd/issues/6900
Thanks !
--
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/20170924/bdfe56fc/attachment.html>
More information about the wayland-bugs
mailing list