I have the same problem with my Vivid installation. The laptop is a  HP ProBook 
470 G0.
When I close the lid, there are cases when it suspends, but in most of the 
cases it doesn't.

The journalctl -b is attached, the journalctl -f shows this when the
suspend is ok:

Apr 01 11:16:47 micsa systemd-logind[1031]: Lid closed.
Apr 01 11:16:47 micsa systemd-logind[1031]: Suspending...
Apr 01 11:16:47 micsa NetworkManager[999]: <info> sleep requested (sleeping: no 
 enabled: yes)
Apr 01 11:16:47 micsa NetworkManager[999]: <info> sleeping...
Apr 01 11:16:47 micsa NetworkManager[999]: <info> (wlan0): device state change: 
activated -> unmanaged (reason 'sleeping') [100 10 37]
Apr 01 11:16:47 micsa NetworkManager[999]: <info> (wlan0): deactivating device 
(reason 'sleeping') [37]
Apr 01 11:16:47 micsa kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 
0x2] has bogus alignment
Apr 01 11:16:47 micsa NetworkManager[999]: <info> (wlan0): canceled DHCP 
transaction, DHCP client pid 8820
Apr 01 11:16:47 micsa avahi-daemon[1011]: Withdrawing address record for 
fe80::4a51:b7ff:fe15:5b26 on wlan0.
Apr 01 11:16:47 micsa avahi-daemon[1011]: Leaving mDNS multicast group on 
interface wlan0.IPv6 with address fe80::4a51:b7ff:fe15:5b26.
Apr 01 11:16:47 micsa avahi-daemon[1011]: Interface wlan0.IPv6 no longer 
relevant for mDNS.
Apr 01 11:16:47 micsa kernel: wlan0: deauthenticating from e8:de:27:f6:c5:dc by 
local choice (Reason: 3=DEAUTH_LEAVING)
Apr 01 11:16:47 micsa wpa_supplicant[1466]: wlan0: CTRL-EVENT-DISCONNECTED 
bssid=e8:de:27:f6:c5:dc reason=3 locally_generated=1
Apr 01 11:16:47 micsa avahi-daemon[1011]: Withdrawing address record for 
192.168.1.175 on wlan0.
Apr 01 11:16:47 micsa avahi-daemon[1011]: Leaving mDNS multicast group on 
interface wlan0.IPv4 with address 192.168.1.175.
Apr 01 11:16:47 micsa kernel: cfg80211: Calling CRDA to update world regulatory 
domain
Apr 01 11:16:47 micsa avahi-daemon[1011]: Interface wlan0.IPv4 no longer 
relevant for mDNS.
Apr 01 11:16:47 micsa NetworkManager[999]: <info> Writing DNS information to 
/sbin/resolvconf


and this, when the suspend is not ok:

Apr 01 11:22:53 micsa systemd-logind[1003]: Lid closed.
Apr 01 11:22:53 micsa kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 
0x2] has bogus alignment
Apr 01 11:22:53 micsa kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 
0x2] has bogus alignment
Apr 01 11:22:58 micsa bluetoothd[988]: bluetoothd[988]: Endpoint unregistered: 
sender=:1.71 path=/MediaEndpoint/BlueZ4/HFPAG
Apr 01 11:22:58 micsa bluetoothd[988]: bluetoothd[988]: Endpoint unregistered: 
sender=:1.71 path=/MediaEndpoint/BlueZ4/HFPHS
Apr 01 11:22:58 micsa bluetoothd[988]: bluetoothd[988]: Endpoint unregistered: 
sender=:1.71 path=/MediaEndpoint/BlueZ4/A2DPSource
Apr 01 11:22:58 micsa bluetoothd[988]: bluetoothd[988]: Endpoint unregistered: 
sender=:1.71 path=/MediaEndpoint/BlueZ4/A2DPSink
Apr 01 11:22:58 micsa bluetoothd[988]: Endpoint unregistered: sender=:1.71 
path=/MediaEndpoint/BlueZ4/HFPAG
Apr 01 11:22:58 micsa bluetoothd[988]: Endpoint unregistered: sender=:1.71 
path=/MediaEndpoint/BlueZ4/HFPHS
Apr 01 11:22:58 micsa bluetoothd[988]: Endpoint unregistered: sender=:1.71 
path=/MediaEndpoint/BlueZ4/A2DPSource
Apr 01 11:22:58 micsa bluetoothd[988]: Endpoint unregistered: sender=:1.71 
path=/MediaEndpoint/BlueZ4/A2DPSink
Apr 01 11:22:59 micsa ntpdate[3186]: adjust time server 91.189.89.199 offset 
0.038673 sec
Apr 01 11:22:59 micsa org.gnome.zeitgeist.Engine[2383]: ** 
(zeitgeist-datahub:3243): WARNING **: zeitgeist-datahub.vala:229: Unable to get 
name "org.gnome.zeitgeist.datah
ub" on the bus!
Apr 01 11:23:00 micsa systemd-logind[1003]: Lid opened.
Apr 01 11:23:00 micsa kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 
0x2] has bogus alignment

or this:

Apr 01 11:19:50 micsa systemd-logind[980]: Lid closed.
Apr 01 11:19:50 micsa kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 
0x2] has bogus alignment
Apr 01 11:19:50 micsa kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 
0x2] has bogus alignment
Apr 01 11:19:54 micsa gnome-session[2741]: WARN  2015-04-01 11:19:54 
nux.inputmethod.ibus InputMethodIBus.cpp:63 Impossible to connect to connect to 
ibus
Apr 01 11:19:54 micsa gnome-session[2741]: WARN  2015-04-01 11:19:54 
unity.dash.gsettingsscopereader GSettingsScopes.cpp:108 Error fetching protocol 
metadata for scope: s
ocial.scope : Valid key file could not be found in search dirs
Apr 01 11:19:57 micsa systemd-logind[980]: Lid opened.
Apr 01 11:19:57 micsa kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 
0x2] has bogus alignment
Apr 01 11:20:01 micsa CRON[3380]: pam_unix(cron:session): session opened for 
user root by (uid=0)


gdbus call --system -d org.freedesktop.login1 -o /org/freedesktop/login1 -m 
org.freedesktop.login1.Manager.ListInhibitors
([('handle-power-key:handle-suspend-key:handle-hibernate-key', 'micsa', 'GNOME 
handling keypresses', 'block', uint32 1000, uint32 2487), ('sleep', 'Unity 
Lockscreen', 'Unity wants to lock screen before suspending.', 'delay', 1000, 
2721), ('shutdown:sleep', 'Telepathy', 'Disconnecting IM accounts before 
suspend/shutdown...', 'delay', 1000, 3198), ('sleep', 'NetworkManager', 
'NetworkManager needs to turn off networks', 'delay', 0, 989), ('sleep', 
'micsa', 'GNOME needs to lock the screen', 'delay', 1000, 2487)],)


** Attachment added: "journalctlf.txt"
   
https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1435269/+attachment/4362726/+files/journalctlf.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1435269

Title:
  System does not suspend when lid closed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1435269/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to