[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
** Changed in: systemd (Ubuntu) Status: Confirmed => Invalid ** Changed in: systemd (Ubuntu) Status: Invalid => Won't Fix ** Changed in: systemd (Ubuntu) Status: Won't Fix => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
bump. thinkpad x1 5th gen carbon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Same problem with Ubuntu 20.04.1 LTS on Asus N55sf laptop. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
@unusedusername I found a snippet somewhere that helped me do things when my lid is closed (or rather when the session is locked). Since your laptop switches to airplane mode something is detecting it so maybe this helps. Put this in a script and run it, then close lid and open lid. Do you get any output? #!/bin/sh iface=org.freedesktop.login1.Session dbus-monitor --system --profile "type=signal,interface=$iface" 2>/dev/null | while read type stamp sender dest path intf member; do case "$member" in *Lock) date echo LOCKED at $stamp ;; *Unlock) date echo UNLOCKED at $stamp ;; *) esac done If it works you could even insert a suspend command and run this in the background to avoid having to use the mouse. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Same problem on Ubuntu 19.10 on HP 250 G7. Tried editing logind.conf as per previous suggestions, but no combination solved the problem. Tried installing pm-utils, which weren't installed (see #117), that didn't help either. Tried turning off the automatic suspend and automatic blank screen in the Power settings, thinking that they might for whatever reason be interfering; no success. Tried uncommenting InhibitDelayMaxSec, HoldoffTimeoutSec and LidSwitchIgnoreInhibited (with both 'yes' and 'no'), none of those did it. Closing the lid only blanks the screen (fans are running), even if I leave it for some time. Opening the lid turns the screen back on, but doesn't open up the login screen. Besides the unsuccessful editing of logind.conf, the only other concurrent issue that I haven't found anyone else encountering, is that, in my case, closing the lid and then opening it also turns on Airplane mode, and then the next time I close it and open it, it turns the Airplane mode off. As I often need a quick suspend, as a temporary workaround, I set it up so that the physical power button suspends it. This works as intended, without any problems, so instead of having to close the lid, I have to press the button, then close the lid. It's better than having to open the top right menu, press Alt and click suspend, then close the lid, every time, but I'd still like to solve the problem properly... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: pm-utils (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Same problem with Ubuntu 19.04 on Dell XPS 13 2-in-1 (2019) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
** Tags added: eoan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
** Also affects: pm-utils (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I'm experiencing the same that Gaute in Ubuntu 18.04.2 LTS: Suspending on closing the lid is only working without the external monitor connected, no matter what I try to configure. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I have a similar problem on 18.04 on a Lenovo V330. Suspend works fine without external monitor, but no matter what I do it's inhibited when its connected. I want it to suspend always. $ grep -i lid /etc/systemd/logind.conf #HandleLidSwitch=suspend HandleLidSwitchDocked=suspend #LidSwitchIgnoreInhibited=yes $ dconf read /org/gnome/settings-daemon/plugins/power/lid-close-suspend-with-external-monitor true $ systemd-inhibit --list --mode=block Who: gdm (UID 121/gdm, PID 5935/gsd-power) What: handle-lid-switch Why: Multiple displays attached Mode: block Who: gaute (UID 1000/gaute, PID 1713/gsd-power) What: handle-lid-switch Why: Multiple displays attached Mode: block Only the second of these goes away when monitor is unplugged, but lid close still works. This is possibly due to a bug in gsd-power which is mentioned in the following guthub issues. https://github.com/systemd/systemd/issues/7137 https://github.com/linuxmint/cinnamon-settings-daemon/issues/224 https://github.com/linuxmint/Cinnamon/issues/7347 ** Bug watch added: github.com/linuxmint/cinnamon-settings-daemon/issues #224 https://github.com/linuxmint/cinnamon-settings-daemon/issues/224 ** Bug watch added: github.com/linuxmint/Cinnamon/issues #7347 https://github.com/linuxmint/Cinnamon/issues/7347 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Happens with me too -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I have had this problem in the past and it reemerged on an upgrade from 16.04 to 18.04 and have resolved it. For me (Lenovo Yoga) the issue is with USB rewaking the machine. The following fix worked for me. 1) Created file: /etc/systemd/system/toggle.XHC.to.fix.suspend.issue.service with following informaiton [Unit] Description="Make suspend ignore USB wake up." [Service] ExecStart=/bin/bash -c "echo XHC >> /proc/acpi/wakeup" [Install] WantedBy=multi-user.target 2) Created a symbolic link to above script in /etc/systemd/system/multi- user.target.wants 3) Executed following commands sudo systemctl daemon-reload sudo systemctl start toggle.XHC.to.fix.suspend.issue.service 4) checked service was started with sudo systemctl status toggle.XHC.to.fix.suspend.issue.service 5) Enable it on boot with sudo systemctl enable toggle.XHC.to.fix.suspend.issue.service Notes: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I have had this problem in the past and it reemerged on an upgrade from 16.04 to 18.04 and have resolved it. For me (Lenovo Yoga) the issue is with USB rewaking the machine. The following fix worked for me. 1) Created file: /etc/systemd/system/toggle.XHC.to.fix.suspend.issue.service with following informaiton [Unit] Description="Make suspend ignore USB wake up." [Service] ExecStart=/bin/bash -c "echo XHC >> /proc/acpi/wakeup" [Install] WantedBy=multi-user.target 2) Created a symbolic link to above script in /etc/systemd/system/multi- user.target.wants 3) Executed following commands sudo systemctl daemon-reload sudo systemctl start toggle.XHC.to.fix.suspend.issue.service 4) checked service was started with sudo systemctl status toggle.XHC.to.fix.suspend.issue.service 5) Enable it on boot with sudo systemctl enable toggle.XHC.to.fix.suspend.issue.service Last steps are based on https://www.reddit.com/r/archlinux/comments/3zxg65/how_to_permanently_change_procacpiwakeup_or/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Same on dell precision with nvidia Quadro M1000M: # systemd-inhibit --list --mode=block Who: gdm (UID 128/gdm, PID 5533/gsd-media-keys) What: handle-power-key:handle-suspend-key:handle-hibernate-key Why: GNOME handling keypresses Mode: block Who: dirmeier (UID 1001/dirmeier, PID 6669/gsd-media-keys) What: handle-power-key:handle-suspend-key:handle-hibernate-key Why: GNOME handling keypresses Mode: block Who: gdm (UID 128/gdm, PID 5548/gsd-power) What: handle-lid-switch Why: Multiple displays attached Mode: block Who: dirmeier (UID 1001/dirmeier, PID 6605/gsd-power) What: handle-lid-switch Why: Multiple displays attached Mode: block 4 inhibitors listed. But I have only my laptop open without any monitor attached. So maybe it is not a bug in systemd? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
One other note, it appears that gsd-power might be blocking the suspend: josh@josh-ThinkPad-T460 ~ systemd-inhibit Who: gdm (UID 147/gdm, PID 3040/gsd-power) What: sleep Why: GNOME needs to lock the screen Mode: delay Who: NetworkManager (UID 0/root, PID 1524/NetworkManager) What: sleep Why: NetworkManager needs to turn off networks Mode: delay Who: josh (UID 1000/josh, PID 20754/gsd-power) What: sleep Why: GNOME needs to lock the screen Mode: delay Who: gdm (UID 147/gdm, PID 3037/gsd-media-keys) What: sleep Why: GNOME handling keypresses Mode: delay Who: Telepathy (UID 1000/josh, PID 4930/mission-control) What: shutdown:sleep Why: Disconnecting IM accounts before suspend/shutdown... Mode: delay Who: josh (UID 1000/josh, PID 20754/gsd-power) What: handle-lid-switch Why: Multiple displays attached Mode: block Who: gdm (UID 147/gdm, PID 3040/gsd-power) What: handle-lid-switch Why: Multiple displays attached Mode: block Who: gdm (UID 147/gdm, PID 3037/gsd-media-keys) What: handle-power-key:handle-suspend-key:handle-hibernate-key Why: GNOME handling keypresses Mode: block Who: josh (UID 1000/josh, PID 20741/gsd-media-keys) What: handle-power-key:handle-suspend-key:handle-hibernate-key Why: GNOME handling keypresses Mode: block Who: UPower (UID 0/root, PID 2813/upowerd) What: sleep Why: Pause device polling Mode: delay Who: ModemManager (UID 0/root, PID 1466/ModemManager) What: sleep Why: ModemManager needs to reset devices Mode: delay Who: josh (UID 1000/josh, PID 20741/gsd-media-keys) What: sleep Why: GNOME handling keypresses Mode: delay Who: GNOME Shell (UID 1000/josh, PID 20651/gnome-shell) What: sleep Why: GNOME needs to lock the screen Mode: delay 13 inhibitors listed. And this related bug https://github.com/systemd/systemd/issues/7137 In the gnome power settings, on 16.04 there was a toggle to have it perform suspend with the lid closed while docked or while an external monitor was connected. That option is now gone. ** Bug watch added: github.com/systemd/systemd/issues #7137 https://github.com/systemd/systemd/issues/7137 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I'm experiencing this issue after upgrading from 16.04 to 18.04 on a Thinkpad T460p. I have set the following in /etc/systemd/logind.conf and restarted systemd-logind.service (which logged me out of my session) HandleSuspendKey=suspend HandleHibernateKey=suspend HandleLidSwitch=suspend HandleLidSwitchDocked=suspend journalctl shows "systemd-logind[20403]: Lid closed." when I close the lid, but it does not take any action other than my external monitor shutting off briefly before turning back on. pm-utils is installed. There's nothing else in the system logs related to suspend, and the power light on the laptop lid does not start pulsing like it used to do when it began to suspend. So the lid closed event is not triggering it to attempt to suspend, despite the correct logind configuration. My laptop is in a docking station and also has an external monitor connected. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Kubuntu 18.04 on Zenbook Pro UX550VE. Also doesn't work. Tried all the suggestions like installing pm-utils and modifying logind.conf. Nothing has helped. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Most important information: I'm using ubuntu 18.04, fresh install -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
My Thinkpad P51 is also affected by this bug. Gnome tweak tools is set to suspend on lid close, but nothing happens. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Installing the "pm-utils" package--which for some reason wasn't installed on a fresh install of Ubuntu 17.04--fixed it, along with altering my /etc/systemd/logind.conf did the trick. I altered it to read: HandleSuspendKey=suspend HandleHibernateKey=suspend HandleLidSwitch=suspend HandleLidSwitchDocked=suspend And now everything works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Looks like I misspoke, adding "HandleLidSwitchDocked=suspend" didn't work. I took the laptop offsite after closing the lid and when I arrived at my destination the laptop was still warm and there had been significant battery drain, as if it had been running full-blast all along. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
HP 450 G3 laptop here, just a few days old. Adding the "HandleLidSwitchDocked=suspend" worked for me. Ubuntu Zesty, kernel 4.10.0-32. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Ok Sorry for misleading report on #113. It actually works, however the problem was with Tweak tool setting which silently adds autostart script preventing notebook to suspend on lid closed regardless settings in /etc/systemd/logind.conf More: https://unix.stackexchange.com/questions/307497/gnome-disable-sleep-on-lid-close -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Using 17.04 Gnome, Kernel 4.10.0-28-generic Problem is still here on Dell XPS 13 (9350). Neither of this has no effect: HandleLidSwitch=suspend HandleLidSwitchDocked=suspend PC still runnning after lid is closed. However lid state is reported correctly. $ sleep 5; cat /proc/acpi/button/lid/LID0/state state: closed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Updated to 4.12.2 (from Debian experimental) and the issue is resolved on my HP ZBook G3. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Please try latest mainline kernel - Carlo's patches are included. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
quick update to #109 adding HandleLidSwitchDocked=suspend to /etc/systemd/logind.conf is also working -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
HP ProBook 440 G4, fix in #108 works for me, but I'm not sure what the purpose of this module is and if it is save to blacklist. dmesg also has some strange keycode on closing and opening the lid (see #38) [ 750.004558] atkbd serio0: Unknown key pressed (translated set 2, code 0x85 on isa0060/serio0). [ 750.004569] atkbd serio0: Use 'setkeycodes e005 ' to make it known. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
HP EliteBook 840 G3, Xubuntu 17.04 Workaround by - rmmod hp_wmi -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I think there are two ongoing patches are going to address this, maybe worth a try: One is from Benjamin Tissoires: https://patchwork.kernel.org/patch/9760869/ Another one is from Lv Zheng: https://patchwork.kernel.org/patch/9771121/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I have the same issue on a HP ZBook G3 running Debian with the 4.11 kernel from experimental and after reading comment #103 I tried rmmod hp_wmi and this fixed it! So hopefully an updated kernel will fix it properly with that driver loaded. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Neither HandleLidSwitch, nor HandleLidSwitchDocked explicitly un- commented and set as "suspend" worked for me on Ubuntu 17.04. The machine neither suspends on lid down, nor does it prompt me for a password on lid up. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Ubuntu Studio 16.04 on Toshiba Satellite p850 Regardless of settings in power manager or logind.conf, machine will not suspend on lid close. It will turn off the screen, though. Suspend from menu, command or power button works. Lid state is reported correct (cat /proc/acpi/button/lid/LID0/state) However, as described here: https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/1037860 lid close will suspend if I remove the power cable. As checked with acpi_listen, lid close alone does not generate any ACPI event. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Just FYI I posted this https://lkml.org/lkml/2017/4/9/57 yesterday. Still to be reviewed. Hope it helps. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Please help? The usual fixes haven't worked for me. Lenovo T450s with Intel graphics suffering from this bug. Suspend does indeed work from my session indicator, however. Updated kernel from 4.4 to 4.8, nothing happened. Uncommented HandleLidSwitchDocked and set it to suspend. Still broken. $ systemd-inhibit Who: Unity (UID 1000/jogama, PID 3944/compiz) What: sleep Why: Unity needs to lock the screen Mode: delay Who: NetworkManager (UID 0/root, PID 1103/NetworkManager) What: sleep Why: NetworkManager needs to turn off networks Mode: delay Who: jogama (UID 1000/jogama, PID 3680/unity-settings-) What: handle-power-key:handle-suspend-key:handle-hibernate-key Why: GNOME handling keypresses Mode: block Who: jogama (UID 1000/jogama, PID 3680/unity-settings-) What: sleep Why: GNOME needs to lock the screen Mode: delay 4 inhibitors listed. ** Attachment added: "ran "sudo journalctl -b > /tmp/journal.txt" after closing/opening lid." https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+attachment/4822879/+files/journal.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Lenovo T450s with Intel graphics suffering from this bug. Suspend does indeed work from my session indicator, however. Updated kernel from 4.4 to 4.8, nothing happened. Uncommented HandleLidSwitchDocked and set it to suspend. Still broken. - Can you please copy&paste the output of "systemd-inhibit" in a situation where closing the lid does not do anything? - After a lid close/open without suspend, please do "sudo journalctl -b > /tmp/journal.txt" and attach /tmp/journal.txt here. ** Attachment added: "journal.txt" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+attachment/4822878/+files/journal.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
HP Pavilion g6 here. After upgrading the past month from 14.04 to 16.04, I was also affected by this bug, where with 14.04 I closed the lid and my laptop suspended as it should. I tried to set HandleLidSwitch=suspend in logind.conf but it made no change, the laptop wouldn't suspend. Today I upgraded from 16.04 to 16.10 and it was all the same, closing the lid of my laptop does not suspend it. Reading the comments on this thread, I added HandleLidSwitchDocked=suspend to my logind.conf and now it works perfectly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
More on this, adding to my comment above... My computer ceases its ability to suspend again, without any updated etc. There was a notice that a program had crashed yesterday evening, but the computer suspended fine. This morning I noticed there was no sound (the speaker icon was red in kubuntu 16.04 task bar) and kwin-x11 was at 100% cpu. rebooting did not fix this. I reinstalled pulseaudio, and cpufreqd cpufreuutil and rebooted. All fixed agin with sounds and suspend. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
This occured to me today, seemingly after no update for changes made to my laptop. I fixed in in the following way. Hope this helps someone... What did not work: Running the latest update, installing kernel 4.8.x or 4.4.25, or any of the fixes you can find doing a google search for kubuntu 16.04 suspend. I had finally tried a commond line common pm- suspend, which caused the laptop to freeze and then freeze on booting. I have dell vostro 3500 laptop. What worked: I reinstalled the kubuntu 16.04.1 base. I have a separate /home partition so that was not effected by the reinstall (i didn't format it. just specified to mount /home in the install setup). reinstall was fast. After install finished, I also ran the update... to kernel 4.4.0-62-generic. I did not test the suspend here. I installed powernap and cpufreq, then rebooted. Later I closed the lid and the computer suspended. All set and it works fine. Not sure what was the exact problem was or the fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Still happens on 16.10 on a HP Pavilion 15 (Skylake i5-6300HQ, Intel 530, Nvidia 950M). HandleLidSwitchDocked=suspend and then reboot 'fixes' it. However, it has the undesirable side effect of suspending when an external monitor is attached to the HDMI port (driven by the NVidia chip). In the latter case, the system also fails to resume from suspend, leaving only a black screen. I'd be willing to believe that this particular case is due to bugs in the nouveau driver. But the system should not be suspending when there is an external display attached in any case - this appears to be systemd policy overriding GNOME policy. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Apologies, I misread the above fix (it's been a long day!) :-/ HandleLidSwitchDocked=suspend fixes the issue on 16.10 as well on my HP (not XP!) Spectre x360. Fans came on for a minute or two after resume but have since stopped. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
This bug persists in 16.10 on a December 2016 spec XP Spectre x360. Uncommenting or commenting HandleLidSwitch=suspend HandleLidSwitchDocked=ignore have no effect. Should a separate bug be raised for 16.10? Or is it implied that it will be looked at during the lifecycle of 16.10 and backported to the LTS release? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I also experienced this running 16.10 on an HP Envy laptop. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I should add, one inhibitor listed was multiple displays, but I don't have that, nor have I attached any additional displays since the clean install of 16.04. I tested the workaround suggest above (HandleLidSwitchDocked=suspend) and it (sort of) works. It takes 12-14 seconds after closing the lid before suspend starts. However, it also makes the system unstable. It now locks up during boot sometimes, and sometimes crashes and reboots during suspend. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I should add, even though it says I have multiple displays attached, I don't and I haven't since I installed 16.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Although if I do the following steps, it will suspend 1: Close the lid 2: Open the lid (presented with unlock screen) 3: Close the lid 4: Wait 10s and notebook suspends... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Same bug on Lenovo Thinkpad T510. Who: NetworkManager (UID 0/root, PID 1042/NetworkManager) What: sleep Why: NetworkManager needs to turn off networks Mode: delay Who: bob (UID 1000/bob, PID 3529/cinnamon-settin) What: handle-power-key:handle-suspend-key:handle-hibernate-key Why: Cinnamon handling keypresses Mode: block Who: bob (UID 1000/bob, PID 3529/cinnamon-settin) What: sleep Why: Cinnamon needs to lock the screen Mode: delay Who: bob (UID 1000/bob, PID 3529/cinnamon-settin) What: handle-lid-switch Why: Multiple displays attached Mode: block 4 inhibitors listed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
The HandleLidSwitchDocked=suspend trick works on HP Stream 13 too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
confirmed "HandleLidSwitchDocked=suspend" worked for me. hp pavilion g6 Close lid, suspended and opening lid unsuspended automatially. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Oh, but "HandleLidSwitchDocked=suspend" did fix the issue, although this model doesn't even have a docking connector :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
This affects also HP Spectre, and uncommenting "HandleLidSwitch=suspend" didn't change anything. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I can confirm same results: HP G240 Xubuntu 16.04 64bit Uncommented and changed HandleLidSwitchDocked=ignore to HandleLidSwitchDocked=suspend in /etc/systemd/logind.conf worked -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I have the exact model of Macbook 13" to #80 above, and have, exactly, the same symptoms that kketzal outlined in that post. No workarounds listed here or elsewhere are effective at all. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
HP Elitebook 850 G3 with a fresh install of 16.04.1 had the suspend bug (laptop would not suspend when the lid was closed). Adding the line in login.confd worked for suspending, but I now have to press the power button to resume from suspend. Opening the lid does not resume. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Installing proprietary video driver solved the issue. This solved issue with wrong detection of an external monitor (that had been detected, but actually hadn't been connected). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
XPS 13 on 16.10 neither HandleLidSwitchDocked=suspend nor HandleLidSwitch=suspend makes machine go sleep. Screen remains enabled (it is visible) until it turns of after some time due power settings. /etc/systemd/logind.conf seemed to work in 16.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Same thing in MacBook 13" (White, mid 2006). When suspend the machine, the screen turn black, and after few seconds (2 0 3 secs), the screen turn on, and the login screen appears. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I've just upgraded to 16.10 and removed the workaround (HandleLidSwitchDocked=suspend in login.d) to see if the bug was fixed. And, no, it isn't :( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I have two different HP Notebooks where the suspend does not work on closing the lid. HP 635: Does not suspend but wakes up properly when open the lid. HP 350 G1: Also does not suspend but wakes up properly when open the lid. However, my Acer AO756 is not affected by the issue. The HP635 worked fine initially after installing Ubuntu 16.04. The problem has been introduced with any update. I cannot tell a date when the problem started because I did not install any update on that machine until today. The other HP 350 G1 was used with Windows before, so I don't know how that machine runs with the initial 16.04 release. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
~  sudo ls /sys/devices/platform/dock.0 ls: cannot access '/sys/devices/platform/dock.0': No such file or directory ✘  ~  the file don't exists in my laptop described above (Spectre x360 core i7 6500u) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Linux 4.4.0-36-generic HP x360 Spectre, core i7-5500U, Ubuntu 16.04.1 LTS When lid is closed, screen is turned off but that is all. Suspend works from the command line. Playing with GNOME Tweak, dconf edidor or logind.conf doesn't help. I don't find dock.0 in /sys/device/platform/. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I can confirm that /sys/device/platform/dock.0 does not exist on my system. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
This bug affects me as well and as many of the people in earlier comments I have a HP laptop as well (EliteBook 840 G3). The workaround in #5 works for me as well. Could systemd be thinking that the laptops are docked even if they are not? I also noticed that the folder /sys/devices/platform/dock.0 is missing on my laptop. This folder is supposed to contain a file with the docked status. Maybe this is the cause of our problems? Other people affected by this: Could you check if the /sys/device/platform/dock.0 folder is missing for you too? Next question would be how to fix it, I don't know the answer to that... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
To Daniel Gomes, I have a HP Pavilion 13. If you modify logind.conf and then revert to kernel 4.2, it then works for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Linux 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux HP x360 Spectre, core i7 Skylake. Ubuntu 16.04.1 LTS Editing the file /etc/systemd/logind.conf works for me, adding the option HandleLidSwitchDocked=suspend the laptop suspend when is closed. Without this the screen go offline but the laptop remains operative. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Linux 4.4.0-28-generic #47-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux - Macbook Pro 2015 - Ubuntu Mate Closing lid, screen goes off and computer seems to be going to sleep but after a few minutes screen and computers (lid closed) are working back again heating up. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I have an HP 15 Pavilion (AMD A8) and have the same issue. Updating the kernel to 4.6 does not fix it. Editing the systemd file mentioned above also does not resolve it. The only way to get the laptop to suspend is from the drop down menu on the top right. Clicking suspend, suspends it as expected, in less than 5 seconds. Turns on normally on lid open. Hope that's helpful. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I have a HP Stream 11 and also an Asus Zenbook both runing with Xubuntu 16.04 (clean install), both configured to suspend on lid close and it doesn't work in neither. It does without problems if I suspend them manually. Also it worked flawlessly in Xubuntu 15.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Sony Vaio F-Series here. Suspend intermittently won't work when lid is closed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I have laptop Toshiba l300. After new install MINT 18 (Mate) after lip is closed noting happen. Laptop steel work. In power management I set every mode suspend, hibernate etc. Noting happen after close lip. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Behaviour is not correct, nor was anything in my post #52 intended to suggest that it is. See the next couple of posts by Sebastian Bacher and myself for a full and accurate description of the problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Sorry. I have hp dv6 and in comment #62 I was only replying to @Pranav and @Rob that behavior is alright for single display (also confirmed by @Neil in comment #52.) However,the bug is valid for @Neil and others who have multiple displays attached and it doesn't suspend even after: 1) setting it suspend on lid close (battery/ac) in power options. 2) setting "lid-close-suspend-with-external-monitor" to TRUE in org.gnome.settings-daemon.plugins.power (For Nvidia, it could be issue with the driver as it doesn't implement DRM interfaces properly in /sys.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
@darkbroodzed You misunderstood. I understood the issue all right. What I wanted to know whether you guys doing it properly or not. In Power setting the default(?) action for laptop lid is "Do Nothing". And I just checked itit works exactly as it is supposed to do (on single display) When I set laptop lid option to "suspend", it suspends, (see my screenshot in above comment) When I set laptop lid option to "Do nothing", it blanks the display and lock the screen. >This is wrong, in 14.04 all work fine and you can set "do nothing" in settings and get right. Ubuntu 14.04 doesn't use systemd by default. When I say "All previous version", I meant all previous that started using systemd as default. ~$ ps -p1 | grep systemd > /dev/null && echo systemd || echo upstart systemd $ systemd --v systemd 229 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
>I don't really understand the issue here. ??? According to system settings the notebook should suspend when lid is closed but actually this does not happen. Instead it continues to run as if nothing had happened. Issue described clear in bug description. >All previous version had this bug that it used to suspend regardless of the >settings which was fixed in xenial. This is wrong, in 14.04 all work fine and you can set "do nothing" in settings and get right behaver (no suspend on led close) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I don't really understand the issue here. This behavior seems absolutely fine to me. Why would a laptop disrespect power settings and suspend on its own? If the power-settings is set to "do-nothing" then it simply makes the display blank and lock the screen; if it is set to suspend then only it should suspendas shown in the image http://i.imgur.com/0ebQv9W.png. If it doesn't suspend even after setting it suspend, then it is a bug. We must not temper anything in /etc/systemd/logind.conf. All previous version had this bug that it used to suspend regardless of the settings which was fixed in xenial. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Same exact problem with HP Pavilion dv6. Worked fine in 14.04 and previous. I can manually suspend, but closing laptop lid does nada, no matter what settings I put in the GUI. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Would Gnome be responsible for detecting if a laptop is docked? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I don't think this is a problem with systemd. I switched to using KDE neon from the regular Unity release and the suspend issue is not there. Maybe it has to do with the desktop environments, not systemd itself. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I have this issue with a fresh install of 16.04 on my HP dv6. Same situation after updating. No external monitor or dock is connected. There isn't even a docking port on my laptop. When lid is closed display backlight turns off but device doesn't suspend. I am able to suspend normally via command line or gui. Changing login.conf fixes the problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
With the login.conf edit, when the device unsuspends the backlight doesn't return to the brightness that was set before suspending. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
pranav@pranav-notebook:~$ grep -r . /sys/class/drm/*/enabled /sys/class/drm/card0-DP-1/enabled:disabled /sys/class/drm/card0-HDMI-A-1/enabled:disabled /sys/class/drm/card0-LVDS-1/enabled:enabled /sys/class/drm/card0-VGA-1/enabled:disabled -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
@seb128 "You have a laptop not connected to an external display and configured in settings to suspend on lid close (battery/ac) but it doesn't suspend when you close the lid? Suspending through the menu works though and settings HandleLidSwitchDocked=suspend makes it suspend on lid close" Yes, that's an absolutely correct summary of the problem and the conditions under which it occurs. I've now also tested from a vt login (Ctrl-Alt-F1) and again the system doesn't suspend on lid closed unless HandleLidSwitchDocked=suspend is set I note that I didn't have to log in when resuming the vt, whereas using the gui I need to go through the normal graphical greeter/login. When I closed the vt and returned to the Unity gui after this test, the Unity gui presented me with the greeter/login. I expect to see this login page and have to enter my password after a suspend, this is consistent with my settings. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: systemd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Thanks for all the efforts Neil! Could you summarize your problem/issue exactly? You joined the bug/conversation in the middle and I would like to make sure I understand what's going on with your config. Would that be an accurate summary? "You have a laptop not connected to an external display and configured in settings to suspend on lid close (battery/ac) but it doesn't suspend when you close the lid? Suspending through the menu works though and settings HandleLidSwitchDocked=suspend makes it suspend on lid close" Is that correct? Your "lid close to suspend (from unity) works fine if I change the configuration" confuses me a bit... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
@seb128 Yes, the bug is present with the default configuration file, but lid close to suspend (from unity) works fine if I change the configuration. In both the bug and functioning conditions the backlight turns off when the lid is closed. I will test behaviour from a console log-in later today. ** Attachment added: "unity-settings-daemon.log" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+attachment/4661238/+files/unity-settings-daemon.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
@pitti neilw@NWPS-LAP:~$ ls /sys/class/drm/ card0 card0-LVDS-1 controlD64 ttm card0-HDMI-A-1 card0-VGA-1 renderD128 version neilw@NWPS-LAP:~$ grep -r . /sys/class/drm/*/enabled /sys/class/drm/card0-HDMI-A-1/enabled:disabled /sys/class/drm/card0-LVDS-1/enabled:enabled /sys/class/drm/card0-VGA-1/enabled:disabled neilw@NWPS-LAP:~$ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
hum, it's a bit puzzling ... suspend on lid close works if you use HandleLidSwitchDocked=suspend right? does it work if you close the lid on a vt? could you also add your ~/.cache/upstart/unity-settings-daemon.log to the bug (would maybe also be worth doing a stop u-s-d and try without it/start it with --debug and add the log, or edit /usr/share/upstart/sessions/unity-settings-daemon.conf) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
... but please still give us the output of "grep -r . /sys/class/drm/*/enabled". Your output from comment 43 really looks like you do have an external display. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Nevermind my previous comment. Your "| grep systemd" was sufficient, this does have the logind messages. This only says "lid closed"/"lid opened", it does not say "System is docked." or "External (%i) displays connected.", thus this is not the reason. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
> "journalctl |grep systemd > log" Sorry, that's wrong. The lid is handled by logind, can you please re-try with sudo journalctl -b -t systemd-logind > /tmp/logind.log and attach /tmp/logind.log here? Also, from your /sys/class/drm it looks like you have an external monitor enabled, but it's not quite clear which "enabled" applies to which device. Can you please copy&paste the output of grep -r . /sys/class/drm/*/enabled Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
thanks, the log looks fine, I don't see any hint about the problem though and I'm out of idea for today, maybe pitti has some clue what could be going on there... ** Changed in: systemd (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Ok, I tried; journalctl |grep systemd > somekindoflog.log The result is attached. ** Attachment added: "Result of "journalctl |grep systemd > somekindoflog.log"" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+attachment/4660832/+files/somekindoflog.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
unsure where the systemd debug ends up, try to maybe "journalctl |grep systemd > log" and add the log to the bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
System left in buggy state, debug enabled in system.conf, system rebooted. neilw@NWPS-LAP:~$ ls /sys/class/drm/ card0 card0-LVDS-1 controlD64 ttm card0-HDMI-A-1 card0-VGA-1 renderD128 version neilw@NWPS-LAP:~$ cat /sys/class/drm/*/enabled disabled enabled disabled neilw@NWPS-LAP:~$ Try to suspend by lid closure. neilw@NWPS-LAP:~$ journalctl -- Logs begin at Wed 2016-05-11 17:13:59 BST, end at Wed 2016-05-11 17:20:13 BST May 11 17:13:59 NWPS-LAP systemd-journald[227]: Runtime journal (/run/log/journa May 11 17:14:00 NWPS-LAP kernel: Initializing cgroup subsys cpuset May 11 17:14:00 NWPS-LAP kernel: Initializing cgroup subsys cpu May 11 17:14:00 NWPS-LAP kernel: Initializing cgroup subsys cpuacct May 11 17:14:00 NWPS-LAP kernel: Linux version 4.4.0-22-generic (buildd@lcy01-32 May 11 17:14:00 NWPS-LAP kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-22 May 11 17:14:00 NWPS-LAP kernel: KERNEL supported cpus: May 11 17:14:00 NWPS-LAP kernel: Intel GenuineIntel May 11 17:14:00 NWPS-LAP kernel: AMD AuthenticAMD May 11 17:14:00 NWPS-LAP kernel: Centaur CentaurHauls May 11 17:14:00 NWPS-LAP kernel: tseg: 00dfc0 May 11 17:14:00 NWPS-LAP kernel: x86/fpu: Legacy x87 FPU detected. May 11 17:14:00 NWPS-LAP kernel: x86/fpu: Using 'lazy' FPU context switches. May 11 17:14:00 NWPS-LAP kernel: e820: BIOS-provided physical RAM map: May 11 17:14:00 NWPS-LAP kernel: BIOS-e820: [mem 0x-0x00 May 11 17:14:00 NWPS-LAP kernel: BIOS-e820: [mem 0x0009f400-0x00 May 11 17:14:00 NWPS-LAP kernel: BIOS-e820: [mem 0x000e-0x00 May 11 17:14:00 NWPS-LAP kernel: BIOS-e820: [mem 0x0010-0xdf May 11 17:14:00 NWPS-LAP kernel: BIOS-e820: [mem 0xdf8bf000-0xdf May 11 17:14:00 NWPS-LAP kernel: BIOS-e820: [mem 0xdfabf000-0xdf May 11 17:14:00 NWPS-LAP kernel: BIOS-e820: [mem 0xdfbbf000-0xdf May 11 17:14:00 NWPS-LAP kernel: BIOS-e820: [mem 0xdfbff000-0xdf lines 1-23 I'm afraid journalctl is new to me; is that the output you need, or do you want me to attach the runtime journal mentioned in the first line after the header? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
neilw@NWPS-LAP:/etc/systemd$ sleep 10; systemd-inhibit //Lid closed, count to ten and open again to find... Who: Telepathy (UID 1000/neilw, PID 1729/mission-control) What: shutdown:sleep Why: Disconnecting IM accounts before suspend/shutdown... Mode: delay Who: neilw (UID 1000/neilw, PID 1448/unity-settings-) What: handle-power-key:handle-suspend-key:handle-hibernate-key Why: GNOME handling keypresses Mode: block Who: NetworkManager (UID 0/root, PID 2218/NetworkManager) What: sleep Why: NetworkManager needs to turn off networks Mode: delay Who: Unity (UID 1000/neilw, PID 1463/compiz) What: sleep Why: Unity needs to lock the screen Mode: delay Who: neilw (UID 1000/neilw, PID 1448/unity-settings-) What: sleep Why: GNOME needs to lock the screen Mode: delay 5 inhibitors listed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
that's probably not it ... could you give the output of "ls /sys/class/drm" and "cat /sys/class/drm/*/enabled" and maybe enable "LogLevel=debug" in /etc/systemd/system.conf and reboot/try to syspend/add the journalctl log to the bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
hum, could you get in the buggy state, run a "sleep 10; systemd- inhibit", close the lid, wait until the 10s are over, open it back and see what that listed? it could be that one of the processes delaying suspend is -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
I've reinstated the workaround and run the requested commands again. As far as I can see, the output of all three is exactly the same as in the bug condition, apart from the items in the inhibitors list being shown in a different order. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574120] Re: Notebook doesn't suspend when lid is closed after update to 16.04
Ok. Commented out the HandleLidSwitchDocked=suspend line and restarted systemd-logind. Closed lid, waited a minute, the bug showed itself, the system did not suspend. neilw@NWPS-LAP:/etc/systemd$ systemd-inhibit Who: Unity (UID 1000/neilw, PID 1463/compiz) What: sleep Why: Unity needs to lock the screen Mode: delay Who: neilw (UID 1000/neilw, PID 1448/unity-settings-) What: handle-power-key:handle-suspend-key:handle-hibernate-key Why: GNOME handling keypresses Mode: block Who: neilw (UID 1000/neilw, PID 1448/unity-settings-) What: sleep Why: GNOME needs to lock the screen Mode: delay Who: Telepathy (UID 1000/neilw, PID 1729/mission-control) What: shutdown:sleep Why: Disconnecting IM accounts before suspend/shutdown... Mode: delay Who: NetworkManager (UID 0/root, PID 2218/NetworkManager) What: sleep Why: NetworkManager needs to turn off networks Mode: delay 5 inhibitors listed. neilw@NWPS-LAP:/etc/systemd$ xrandr Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192 LVDS connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm 1366x768 60.07*+ 40.04 1280x720 59.86 1152x768 59.78 1024x768 59.92 800x600 59.86 848x480 59.66 720x480 59.71 640x480 59.38 HDMI-0 disconnected (normal left inverted right x axis y axis) VGA-0 disconnected (normal left inverted right x axis y axis) neilw@NWPS-LAP:/etc/systemd$ loginctl SESSIONUID USER SEAT c2 1000 neilwseat0 1 sessions listed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574120 Title: Notebook doesn't suspend when lid is closed after update to 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs