[ltp] Detecting lid close

Alex Polite linux-thinkpad@linux-thinkpad.org
Mon, 27 Aug 2007 07:44:09 +0200


I've been running Linux on a X30 Thinkpad for two years or so. I'd
like to run a script and then suspend five minutes after detecting a
lid close. What would be the best way of doing that? BTW I've disabled
ACPI and use APM instead.

alex