[ltp] Detecting lid close

Alex Polite linux-thinkpad@linux-thinkpad.org
Fri, 31 Aug 2007 08:59:28 +0200


2007/8/30, Daniel Maier <nusse@teamidiot.de>:
>
> What is acpitool supposed to do? echo mem >/sys/power/state is
> sufficient.

echo mem >/sys/power/state and acpitool -s
both result in the exact same behavior. Everything works on resume,
but the xserver is restarted. I guess that the suspend command in the
ubuntu/gnome interface runs some script before actually suspending.

I guess that there's a Right Way of managing suspend resume without
using the GUI, probably something involving some daemon. But what is
it?


alex

-- 
http://polite.se