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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to