Bug#788400: systemd-logind only fires suspend on lid close once even though it sees the event

Jessica Frazelle me at jessfraz.com
Thu Jun 11 17:44:13 BST 2015


 systemd-inhibit
     Who: NetworkManager (UID 0/root, PID 693/NetworkManager)
    What: sleep
     Why: NetworkManager needs to turn off networks
    Mode: delay

1 inhibitors listed.

On Thu, Jun 11, 2015 at 3:16 AM, Michael Biebl <biebl at debian.org> wrote:
> Control: tags -1 moreinfo
>
> Am 11.06.2015 um 02:13 schrieb jessie:
>
>> And the output of the systemd-logind.service, as you can see it fires `suspend` on the first lid close but never on any after the very first lid close, it is very odd, it clearly sees the event:
>>
>> ```
>> -- Logs begin at Wed 2015-06-10 16:49:40 PDT, end at Wed 2015-06-10 17:05:35 PDT. --
>> Jun 10 16:49:41 debian systemd[1]: Starting Login Service...
>> Jun 10 16:49:41 debian systemd-logind[559]: New seat seat0.
>> Jun 10 16:49:41 debian systemd-logind[559]: Watching system buttons on /dev/input/event4 (Power But
>> Jun 10 16:49:41 debian systemd-logind[559]: Watching system buttons on /dev/input/event9 (Video Bus
>> Jun 10 16:49:41 debian systemd[1]: Started Login Service.
>> Jun 10 16:49:41 debian systemd-logind[559]: Watching system buttons on /dev/input/event2 (Power But
>> Jun 10 16:49:41 debian systemd-logind[559]: Watching system buttons on /dev/input/event1 (Lid Switc
>> Jun 10 16:49:41 debian systemd-logind[559]: Watching system buttons on /dev/input/event3 (Sleep But
>> Jun 10 16:49:47 debian systemd-logind[559]: New session 1 of user jessie.
>> Jun 10 16:52:18 debian systemd-logind[559]: Lid closed.
>> Jun 10 16:52:18 debian systemd-logind[559]: Suspending...
>> Jun 10 16:52:31 debian systemd-logind[559]: Lid opened.
>> Jun 10 16:52:31 debian systemd-logind[559]: Operation finished.
>> Jun 10 16:54:44 debian systemd-logind[559]: Lid closed.
>> Jun 10 16:54:57 debian systemd-logind[559]: Lid opened.
>> Jun 10 16:56:48 debian systemd-logind[559]: Lid closed.
>> Jun 10 16:56:51 debian systemd-logind[559]: Lid opened.
>> Jun 10 16:56:57 debian systemd-logind[559]: Lid closed.
>> Jun 10 16:57:06 debian systemd-logind[559]: Lid opened.
>> Jun 10 16:58:33 debian systemd-logind[559]: Lid closed.
>> Jun 10 16:58:39 debian systemd-logind[559]: Lid opened.
>
> What's the output of systemd-inhibit?
>
> Maybe some application is block the suspend request.
>
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
>



-- 


Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC  511E 18F3 685C 0022 BFF3
pgp.mit.edu




More information about the Pkg-systemd-maintainers mailing list