I have the same problem on a fresh installed 18.10 for 32-bits, but only if
external monitor is connected.
Indeed this is a well known peoblem at internet.
sudo journalctl -b -u systemd-logind with debugging on
(systemd.log-level=debug) without external monitor shows succeeding suspend:
Nov 29 16:56:04 Gert2 systemd-logind[438]: Lid closed
Nov 29 16:56:04 Gert2 systemd-logind[438]: device-enumerator: scan all dirs
Nov 29 16:56:04 Gert2 systemd-logind[438]: device-enumerator: scanning
/sys/bus
Nov 29 16:56:04 Gert2 systemd-logind[438]: device-enumerator: scanning
/sys/class
Nov 29 16:56:04 Gert2 systemd-logind[438]: Failed to open configuration file
'/etc/systemd/sleep.conf': No such file or directory
Nov 29 16:56:04 Gert2 systemd-logind[438]: Suspending...
sudo journalctl -b -u systemd-logind with debugging on
(systemd.log-level=debug) with connected external monitor shows refusing
suspend:
Nov 29 15:05:58 Gert2 systemd-logind[426]: Lid closed.
Nov 29 15:05:58 Gert2 systemd-logind[426]: device-enumerator: scan all dirs
Nov 29 15:05:58 Gert2 systemd-logind[426]: device-enumerator: scanning
/sys/bus
Nov 29 15:05:58 Gert2 systemd-logind[426]: device-enumerator: scanning
/sys/class
Nov 29 15:05:58 Gert2 systemd-logind[426]: External (1) displays connected.
Nov 29 15:05:58 Gert2 systemd-logind[426]: Refusing operation, as it is turned
off.
Nov 29 15:05:58 Gert2 systemd-logind[426]: device-enumerator: scan all dirs
Nov 29 15:05:58 Gert2 systemd-logind[426]: device-enumerator: scanning
/sys/bus
Nov 29 15:05:58 Gert2 systemd-logind[426]: device-enumerator: scanning
/sys/class
Nov 29 15:05:58 Gert2 systemd-logind[426]: External (1) displays connected.
Nov 29 15:05:58 Gert2 systemd-logind[426]: Refusing operation, as it is turned
off.
Nov 29 15:05:59 Gert2 systemd-logind[426]: Got message type=method_call
sender=:1.238 destination=:1.3 path=/org/freedesktop/login1/session/_32
interface=org.freedesktop.login1.Session member=ReleaseDevice cookie=154
reply_cookie=0 signature=uu error-name=n/a error-message=n/a
Nov 29 15:05:59 Gert2 systemd-logind[426]: Sent message type=signal sender=n/a
destination=:1.238 path=/org/freedesktop/login1/session/_32
interface=org.freedesktop.login1.Session member=PauseDevice cookie=227
reply_cookie=0 signature=uus error-name=n/a error-message=n/a
Nov 29 15:05:59 Gert2 systemd[1]: systemd-logind.service: Got notification
message from PID 426 (FDSTOREREMOVE=1, FDNAME=session-2-device-13-71)
Nov 29 15:05:59 Gert2 systemd[1]: systemd-logind.service: Got explicit request
to remove fd 174 (session-2-device-13-71), closing.
Nov 29 15:05:59 Gert2 systemd-logind[426]: Sent message type=method_return
sender=n/a destination=:1.238 path=n/a interface=n/a member=n/a cookie=228
reply_cookie=154 signature=n/a error-name=n/a error-message=n/a
Nov 29 15:05:59 Gert2 systemd-logind[426]: device-enumerator: scan all dirs
Nov 29 15:05:59 Gert2 systemd-logind[426]: device-enumerator: scanning
/sys/bus
Nov 29 15:05:59 Gert2 systemd-logind[426]: device-enumerator: scanning
/sys/class
Nov 29 15:05:59 Gert2 systemd-logind[426]: External (1) displays connected.
Nov 29 15:05:59 Gert2 systemd-logind[426]: Refusing operation, as it is turned
off.
Nov 29 15:06:10 Gert2 systemd-logind[426]: Lid opened.
The command systemd-inhibit --list shows next entry as soon as an external
monitor is attached to the laptop.
Who: gert (UID 1000/gert, PID 2342/gsd-power)
What: handle-lid-switch
Why: Multiple displays attached
Mode: block
So program gsd-power is responsible for inhibiting the handling of the
lid-switch. The suspend-action will not occcur. This is not
configurable and I think that is ridiculous.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1799038
Title:
Ubuntu 18.10 does not suspend on lid close
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1799038/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs