<div dir="ltr">On Thu, 6 Aug 2015 at 18:31 Michael Biebl <<a href="mailto:biebl@debian.org">biebl@debian.org</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Do you use an external monitor? If logind detects an external monitor,<br>
it suppresses any suspend requests.<br></blockquote><div><br></div><div>Yes, I saw that code. There should be no reason for it to detect in external monitor, however that doesn't mean it isn't getting it wrong.<br><br></div><div>I notice there is a number log_debug(...) messages scattered through the code that I thought might help, however I don't think these are getting logged anywhere - however I am also looking at the latest git version, and I amu running systemd from Jessie...<br><br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It sounds, like this might be another case of<br>
<a href="https://github.com/systemd/systemd/issues/451" rel="noreferrer" target="_blank">https://github.com/systemd/systemd/issues/451</a><br>
<br>
I.e. the kernel reports "unknown" status for the DRM devices after the<br>
first suspend.<br></blockquote><div><br></div><div>They get a message "Ignoring lid switch request, 4 displays connected." - I am not seeing this. Also first suspend after reboot usually encounters this issue. So not convinced this is it :-(<br><br></div><div>Then again, maybe I was premature; I think I should do a reboot and redo the following:<br><br>[brian:~] % for i in /sys/class/drm/*/*/status ; do echo $i ; done<br>/sys/class/drm/card0/card0-DP-1/status<br>/sys/class/drm/card0/card0-DP-2/status<br>/sys/class/drm/card0/card0-eDP-1/status<br>/sys/class/drm/card0/card0-HDMI-A-1/status<br>/sys/class/drm/card0/card0-HDMI-A-2/status<br><br>[brian:~] % cat /sys/class/drm/*/*/status<br>unknown<br>unknown<br>unknown<br>unknown<br>unknown<br><br>[brian:~] % xrandr<br>Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767<br>eDP1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 310mm x 174mm<br> 2560x1440 60.00*+<br> 1920x1440 60.00 <br> 1856x1392 60.01 <br> 1792x1344 60.01 <br> 1920x1200 59.95 <br> 1920x1080 59.93 <br> 1600x1200 60.00 <br> 1680x1050 59.95 59.88 <br> 1600x1024 60.17 <br> 1400x1050 59.98 <br> 1280x1024 60.02 <br> 1440x900 59.89 <br> 1280x960 60.00 <br> 1360x768 59.80 59.96 <br> 1152x864 60.00 <br> 1024x768 60.00 <br> 800x600 60.32 56.25 <br> 640x480 59.94 <br>DP1 disconnected (normal left inverted right x axis y axis)<br>DP2 disconnected (normal left inverted right x axis y axis)<br>HDMI1 disconnected (normal left inverted right x axis y axis)<br>HDMI2 disconnected (normal left inverted right x axis y axis)<br>VIRTUAL1 disconnected (normal left inverted right x axis y axis)<br><br></div></div></div>