thinkpad_acpi

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
TheRedFox
Sophomore Member
Posts: 212
Joined: Sat Jan 17, 2009 2:27 am
Location: MN

thinkpad_acpi

#1 Post by TheRedFox » Fri May 01, 2009 11:04 pm

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)
Frankenpad X31.5 (X31 casing, X32 motherboard) 1.8ghz Pentium M processor, 1gb RAM,
60gb HDD dual booting Arch GNU/Linux && Windows XP

GomJabbar
Moderator
Moderator
Posts: 9765
Joined: Tue Jun 07, 2005 6:57 am

Re: thinkpad_acpi

#2 Post by GomJabbar » Fri May 01, 2009 11:19 pm

The folders are /etc/acpi/events/ & /etc/acpi/actions/.

http://ibm-acpi.sourceforge.net/README
DKB

TheRedFox
Sophomore Member
Posts: 212
Joined: Sat Jan 17, 2009 2:27 am
Location: MN

Re: thinkpad_acpi

#3 Post by TheRedFox » Sat May 02, 2009 9:52 pm

thanks
Frankenpad X31.5 (X31 casing, X32 motherboard) 1.8ghz Pentium M processor, 1gb RAM,
60gb HDD dual booting Arch GNU/Linux && Windows XP

TheRedFox
Sophomore Member
Posts: 212
Joined: Sat Jan 17, 2009 2:27 am
Location: MN

Re: thinkpad_acpi

#4 Post by TheRedFox » Mon May 04, 2009 8:53 pm

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.
Frankenpad X31.5 (X31 casing, X32 motherboard) 1.8ghz Pentium M processor, 1gb RAM,
60gb HDD dual booting Arch GNU/Linux && Windows XP

Post Reply

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 0 guests