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

Michael Biebl biebl at debian.org
Thu Jun 11 11:16:37 BST 2015


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150611/268cdf5e/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list