You are not logged in.

#1 2016-12-18 21:03:05

tak
Member
Registered: 2013-12-05
Posts: 1

suspend on lid close only works while monitoring /proc/acpi/button/lid

I have a Thinkpad 11e running Arch with XFCE
The one thing I haven't been able to figure out on this laptop is suspend on lid close. While investigating the issue, for diagnostic purposes, I ran the following:

while true; do cat /proc/acpi/button/lid/LID/state; sleep 1; done

And while that is going, suspend on lid close actually works! However, by any other means it doesn't suspend.

I have tried:
toggling

xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch

and trying different settings in /etc/systemd/logind.conf to no avail. I've disabled XHC1 because of the output of "acpitool -w" that it may be keeping it awake.

The fact that suspend on lid close while monitoring the /proc state tells me I'm just missing something really small and simple. I'm sure someone smart here can tell me smile
Thanks!

Offline

Board footer

Powered by FluxBB