You are not logged in.
I am running Arch on a MacBookPro11,x. After recent kernel updates (I believe), suspend upon lid closing started working normally again after some issues I'd been seeing for a while. Except this one case.
My window manager is dwm. To use an external monitor, I connect it via an HDMI cable and issue
xrandr --output HDMI-3 --mode 1920x1080 --output eDP-1 --auto --below HDMI-3
Then I do my thing using both monitors. When I'm finished, I turn it off with
xrandr --output eDP-1 --auto --primary --output HDMI-3 --off
If I close the lid now, nothing happens. (I'm pretty sure suspend stops working at the moment I enable HDMI output, though I haven't really checked. The point is it doesn't work even after disabling it.)
I see the lid events in journalctl:
May 11 22:34:29 archbook systemd-logind[752]: Lid closed.
May 11 22:34:32 archbook systemd-logind[752]: Lid opened.
I don't see anything related to either lid or suspend in dmesg.
No events except opening the lid are supposed to wake the laptop up:
$ cat /proc/acpi/wakeup | grep enabled
LID0 S4 *enabled platform:PNP0C0D:00
What am I doing wrong?
Offline