Dead laptop disk == more linux hacking
updated 7th June 2009 @ 21:09 EDT
Update2: moved code to http://bitbucket.org/wez/toshkey/overview/
Update acpid now handles the brightness controls, displays the battery status in the ps list and emits power warnings once you're down to 15 minutes of power. I've also added a little non-root acpid client that will allow you to run your own stuff in response to hotkey events.
I suffered a dead (nearly; it's on its way out) laptop disk almost a week ago, and have been clawing my way back to normality.
As a side effect, I now own a Toshiba Satellite M30, which apparently has slightly more linux friendly hardware than my other Satellite (the one that's having issues).
One of the cool things is the toshiba_acpi module; it works in this model and allows access to the hotkeys so you can map them exactly as you like. Since running a standalone daemon for this sucks (you can choose either a python script or a slightly-overweight fnfxd), and since there was a feature request on the ToshibaAcpiDriver page for it, I've written this patch that adds toshiba key support to acpid (1.0.3).
Toshiba keys are exposed as button/toshiba events, followed by the 16-bit hex code for the key that was triggered, so stick some scripting magic into /etc/acpi/events and you're happily-a-mapping those keys.
Would you like to work
with me?
I have positions open for server/infrastructure software development (C) and QA.

Same laptop
I have the same laptop, Wez, and am currently trying to get those FnX keys working. So if I am not getting it to work I have someone to bug ... you ;-)
acpid compiling error
yo. acpid 1.0.4 wouldn't build using gcc-4 without a patch i found on google groups, and now won't build with your patch, this is the error cc -Wall -Werror -g -DVERSION="\"1.0.4\"" -c -o acpid.o acpid.c cc1: warnings being treated as errors acpid.c:80: warning: built-in function 'pow' declared as non-function make: [acpid.o] Error 1
help would be greatly appreciated thankyou.
michael.
great
i found this informative and interesting blog so i think so its very useful and knowledge able.I would like to thank you for the efforts you have made in writing this article......
http://www.guiacasino.net
Nothing Ever Works
I can't tell you how fed up I am of buying things don't work properly. I just wonder how much money is spent by businesses trying to figure out how to work something only to realize that it's broken I needs to be returned.
<a href="http://oduox.com/">Brendan</a>
I forgot
I forgot to say thanks for the info about the Toshiba keys. That's been useful to me.
Brendan - http://oduox.com/