[ltp] How to catch close lid event?
Richard Neill
linux-thinkpad@linux-thinkpad.org
Fri, 30 Jan 2009 16:52:52 +0000
Daniel Castro wrote:
>
> you can catch this event with thinkpad-acpi with the event button/lid.
>
> an example for /etc/acpi/event/lid:
> event=button/lid
> action=/etc/acpi/action/lid.sh
>
> thanks. but not sure i understand what i have to do. create a lid file
> with that content? sorry i'm not too linux savvy....
>
I wrote this tutorial for myself a while back, describing how ACPI
works. My example maps Fn-F3 to flash the thinklight.
http://www.richardneill.org/a22p-mdk11-0.php#acpi
HTH,
Richard