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 19:44:25 BST 2015


jessie at debian in ~
$ ls -la /sys/class/drm
total 0
drwxr-xr-x  2 root root    0 Jun 11 11:39 .
drwxr-xr-x 51 root root    0 Jun 11 11:39 ..
lrwxrwxrwx  1 root root    0 Jun 11 11:39 card0 ->
../../devices/pci0000:00/0000:00:02.0/drm/card0
lrwxrwxrwx  1 root root    0 Jun 11 11:39 card0-DP-1 ->
../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1
lrwxrwxrwx  1 root root    0 Jun 11 11:39 card0-eDP-1 ->
../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1
lrwxrwxrwx  1 root root    0 Jun 11 11:39 card0-HDMI-A-1 ->
../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1
lrwxrwxrwx  1 root root    0 Jun 11 11:39 controlD64 ->
../../devices/pci0000:00/0000:00:02.0/drm/controlD64
lrwxrwxrwx  1 root root    0 Jun 11 11:39 renderD128 ->
../../devices/pci0000:00/0000:00:02.0/drm/renderD128
-r--r--r--  1 root root 4096 Jun 11 11:39 version

CLOSE LID
after resume...

jessie at debian in ~
$ ls -la /sys/class/drm
total 0
drwxr-xr-x  2 root root    0 Jun 11 11:39 .
drwxr-xr-x 51 root root    0 Jun 11 11:39 ..
lrwxrwxrwx  1 root root    0 Jun 11 11:39 card0 ->
../../devices/pci0000:00/0000:00:02.0/drm/card0
lrwxrwxrwx  1 root root    0 Jun 11 11:39 card0-DP-1 ->
../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1
lrwxrwxrwx  1 root root    0 Jun 11 11:39 card0-eDP-1 ->
../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1
lrwxrwxrwx  1 root root    0 Jun 11 11:39 card0-HDMI-A-1 ->
../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1
lrwxrwxrwx  1 root root    0 Jun 11 11:39 controlD64 ->
../../devices/pci0000:00/0000:00:02.0/drm/controlD64
lrwxrwxrwx  1 root root    0 Jun 11 11:39 renderD128 ->
../../devices/pci0000:00/0000:00:02.0/drm/renderD128
-r--r--r--  1 root root 4096 Jun 11 11:39 version


On Thu, Jun 11, 2015 at 11:30 AM, Michael Biebl <biebl at debian.org> wrote:
> Am 11.06.2015 um 20:04 schrieb Jessica Frazelle:
>> attached here
>
> Ok, two things:
>
> If you suspend/resume/suspend within 90secs, systemd will ignore the 2n
> suspend request. That's this line:
>
>> Jun 11 10:42:17 debian systemd-logind[706]: Ignoring lid switch
> request, system startup or resume too close.
>
>
> Second, logind indeed believes you have multiple graphics devices attached:
>
>> Jun 11 10:42:17 debian systemd-logind[706]: Multiple (3) displays
> connected.
>
>
> Can you reboot,run
>  ls -la /sys/class/drm
> suspend/resume and run again
>  ls -la /sys/class/drm
>
>
> --
> 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