Bug#794744: systemd-logind: Lid closed event does not suspend

Michael Biebl biebl at debian.org
Thu Aug 6 12:28:56 BST 2015


Am 06.08.2015 um 12:07 schrieb Brian May:
> On Thu, 6 Aug 2015 at 19:56 Brian May <bam at debian.org> wrote:
> 
>> Then again, maybe I was premature; I think I should do a reboot and redo
>> the following:
>>
> 
> Really good theory, however after a reboot everything is fine:
> 
> [brian:~] % for i in /sys/class/drm/*/*/status ; do echo $i ; done
> /sys/class/drm/card0/card0-DP-1/status
> /sys/class/drm/card0/card0-DP-2/status
> /sys/class/drm/card0/card0-eDP-1/status
> /sys/class/drm/card0/card0-HDMI-A-1/status
> /sys/class/drm/card0/card0-HDMI-A-2/status
> 
> prune# cat /sys/class/drm/*/*/status
> disconnected
> disconnected
> connected
> disconnected
> disconnected

Ok, that looks better. The "unknown" state you posted in your previous
email is known to cause issues with v215, but that should be fixed in
v223/v224, just in case you can test the sid/testing packages.

> Suspend still doesn't work:
> 
> Aug 06 19:59:17 prune systemd-logind[544]: New seat seat0.
> Aug 06 19:59:17 prune systemd-logind[544]: Watching system buttons on
> /dev/input/event3 (Power Button)
> Aug 06 19:59:17 prune systemd-logind[544]: Watching system buttons on
> /dev/input/event6 (Video Bus)
> Aug 06 19:59:17 prune systemd-logind[544]: Watching system buttons on
> /dev/input/event1 (Lid Switch)
> Aug 06 19:59:17 prune systemd-logind[544]: Watching system buttons on
> /dev/input/event2 (Sleep Button)
> Aug 06 19:59:17 prune systemd-logind[544]: Watching system buttons on
> /dev/input/event4 (ThinkPad Extra Buttons)
> Aug 06 19:59:17 prune systemd-logind[544]: New session c1 of user
> Debian-gdm.
> Aug 06 19:59:23 prune systemd-logind[544]: New session 1 of user brian.
> Aug 06 19:59:53 prune systemd-logind[544]: Lid closed.
> Aug 06 20:00:02 prune systemd-logind[544]: Lid opened.
> 

Is another process blocking suspend?
What's the output of systemd-inhibit?
Can you add "systemd.log_level=debug" to the kernel command line, that
should give you a more verbose log for systemd-logind.


-- 
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/20150806/8731970e/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list