acpi / thinkpad questions
Bill Moseley
moseley at hank.org
Sun Jul 22 01:06:44 UTC 2007
I'm running Feisty on a T60p. Impressive how many things work
(sleep, hibernate). And a bit frustrating not knowing what makes it
happen...
When I close the lid on the laptop the machine just goes into screen
saver mode. I see that /etc/acpi/lid.sh seems to accomplish this.
I've been searching google but I keep finding acpi docs from a number
of years back so I'm not clear how current they are and if they still
apply. Any suggestions for current docs/howtos on acpi and
customizing the "fn" buttons on the laptop?
For example, I'd like the laptop to sleep when the lid is closed.
(And not be stupid like my iBook and go to sleep in the middle of a
shutdown when the lid is closed.)
I'd like to understand how to make the cd eject button work. And
maybe assign custom functions to some other buttons.
I'm also trying to figure out how to get the multimedia buttons to
work in more applications. They work with Rhythmbox but not Amarok.
And why /var/log/acpi shows different log messages for different keys:
The eject (fn-9) shows:
[Sat Jul 21 18:01:52 2007] received event "ibm/hotkey HKEY 00000080 00001009"
[Sat Jul 21 18:01:52 2007] notifying client 5115[116:116]
[Sat Jul 21 18:01:52 2007] notifying client 5261[0:0]
[Sat Jul 21 18:01:52 2007] completed event "ibm/hotkey HKEY 00000080 00001009"
Where as Fn-8 shows:
[Sat Jul 21 18:02:59 2007] received event "ibm/hotkey HKEY 00000080 00001008"
[Sat Jul 21 18:02:59 2007] notifying client 5115[116:116]
[Sat Jul 21 18:02:59 2007] notifying client 5261[0:0]
[Sat Jul 21 18:02:59 2007] executing action "/etc/acpi/thinkpad-stretchortouchpad.sh"
How do I map the function keys to actions.
Thanks,
--
Bill Moseley
moseley at hank.org
More information about the ubuntu-users
mailing list