Wez Furlong I am Wez Furlong, Chief Software Architect at Message Systems. We're responsible for building an awesome Messaging Platform.

I'm also a PHP Core developer and OpenSource contributor, residing in Maryland, USA with Juliette, Xander and Lily. (read more)

Subscribe. (circulation 931)
Comments. (circulation 7)

Search powered by Google

Dead laptop disk == more linux hacking

21st June 2004 @ 11:16 EDT
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.

by Wez Furlong in .
Post a comment

Same laptop

19th June 2004 @ 12:33 EDT

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 ;-)

by sb@sebastian-bergmann.de in .

acpid compiling error

1st March 2006 @ 13:59 EDT

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.

by masked@netconnect.com.ae in .

great

25th July 2009 @ 07:50 EDT

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

by kali in .

Nothing Ever Works

29th November 2009 @ 09:58 EDT

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>

by Brendan in .

I forgot

29th November 2009 @ 09:59 EDT

I forgot to say thanks for the info about the Toshiba keys. That's been useful to me.

Brendan - http://oduox.com/

by Brendan in .
Post a comment

Would you like to work with me?
I have positions open for server/infrastructure software development (C) and QA.

Ohloh profile for wez