Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#39530 - [systemd] laptop does not suspend on lid close

Attached to Project: Arch Linux
Opened by Lukas B (teateawhy) - Tuesday, 18 March 2014, 17:25 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 05 April 2014, 16:47 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

When closing the laptop's lid, the laptop does not suspend, although configured.
Suspending worked as designed until systemd was upgraded to version 211-1.
No desktop environment is installed, but xorg (i3-wm) is running.
( An external monitor is connected. )

- successful suspend using "# systemctl suspend"
- successful suspend when pressing the suspend key (Fn-F4)
- opening the laptop lid will wake the laptop up
- "# cat /proc/acpi/button/lid/LID/state" shows "state:closed" and "state:open" correctly

Systemd reports the lid switch and lid open in the journal, but nothing happens in between.
Mär 18 18:09:37 systemd-logind[488]: Lid closed.
Mär 18 18:09:43 systemd-logind[488]: Lid opened.

package versions:
systemd 211-1
linux 3.13.6-1

/etc/systemd/logind.conf
..
HandleSuspendKey=suspend
..
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 05 April 2014, 16:47 GMT
Reason for closing:  Upstream
Additional comments about closing:  https://bugs.freedesktop.org/show_bug.cg i?id=76267
Comment by Jan de Groot (JGC) - Wednesday, 19 March 2014, 01:41 GMT
This is documented in release notes. Your external screen inhibits suspend.
Comment by Matt (madalu) - Saturday, 22 March 2014, 13:52 GMT
  • Field changed: Percent Complete (100% → 0%)
I have the exactly these symptoms without any external monitor connected. Systemd 210 works fine. Systemd 211 does not shut on laptop lid close. Journalctl reports the lid closed and opened --- but no suspend. Otherwise, invoking "systemctl suspend" works just fine.

I am running openbox. No desktop manager installed. Polkit is installed. (Apcid is not installed, so no conflicts there.)
Comment by Doug Newgard (Scimmia) - Saturday, 22 March 2014, 16:10 GMT
@madalu, what does your /etc/systemd/logind.conf file look like?
Comment by Gabe Conradi (byxorna) - Wednesday, 26 March 2014, 02:30 GMT
I have the same behavior (no suspend, but systemd sees lid open/close events) on Gnome 3.10.2, no external screens or other inputs connected. acpid disabled, logind.conf is the default file that is installed with systemd, i.e. all options are commented out.
Comment by Thomas Dziedzic (tomd123) - Thursday, 27 March 2014, 02:52 GMT

Loading...