Page 1 of 1
thinkpad_acpi
Posted: Fri May 01, 2009 11:04 pm
by TheRedFox
can someone help me find my way around the thinkpad_acpi folders?
I specifically want to find Fn+F5,F4,F3,F12 and unplug/plugin if they exist. I could not figure out how to configure acpi normally, and thinkpad_acpi seems slightly easier (individual files, rather than one of those confusing case scripts)
Re: thinkpad_acpi
Posted: Fri May 01, 2009 11:19 pm
by GomJabbar
The folders are /etc/acpi/events/ & /etc/acpi/actions/.
http://ibm-acpi.sourceforge.net/README
Re: thinkpad_acpi
Posted: Sat May 02, 2009 9:52 pm
by TheRedFox
thanks
Re: thinkpad_acpi
Posted: Mon May 04, 2009 8:53 pm
by TheRedFox
Okay folks, check this out, if anyone else was having trouble configuring Fn+F5 for wireless toggling:
at root command-line type "touch /etc/acpi/events/wireless"
then open the file into some variety of text-editor (also as root)
quickly type "acpi_listen" then hit the key combination you want. for me Fn+F5. some numbers will appear, for example: ibm/hotkey HKEY 00000080 00001005 (this is what came up for me.)
next go back to the text editor and type this
Code: Select all
event=ibm/hotkey HKEY 00000080 00001005
action=/usr/bin/witrog
for the witrog thing,
see this thread
i'll post anything else I do with acpi hotkeys, but it should be fairly easy to figure out from this.