IBM T23 volume keys handling

Norberto Meijome freebsd at meijome.net
Tue May 29 04:23:37 UTC 2007


On Tue, 29 May 2007 00:09:31 +1000 (EST)
Ian Smith <smithi at nimnet.asn.au> wrote:

>  > These are working fine.
>  > What I want to achieve is plugging a notification for the devctl, triggered
>  > off just after pressing one of these button. After that I will modify the
>  > /etc/devd.conf file, so I can send an info through the DCOP protocol to the
>  > dbsd-hwnotify application, and display some short information to the user,
>  > that the volume level has just changed. That's all :)  

( Thanks Ian,i'm not in -acpi@) .

Michael, I may be missing what you want to do (my apologies if that is the
case!!) , but if you want to show some info, you can use deskutils/tpb.

see http://www.meijome.net/files/freebsd/2007-05-29-13.52.22.jpg for what it
does when I press the volume up.

I am pretty certain it doesnt need any special devd configuration (you of
course need acpi_ibm loaded, and ensure the sysctl is changed when you press
they volume keys.)

> 
> Have a look at 'For the archives : devd events for Thinkpad Z60M' at
> http://lists.freebsd.org/mailman/htdig/freebsd-mobile/2006-August/008959.html
> which might help somewhat.

B
_________________________
{Beto|Norberto|Numard} Meijome

"Ugly programs are like ugly suspension bridges: they're much more liable to
collapse than pretty ones, because the way humans (especially engineer-humans)
perceive beauty is intimately related to our ability to process and understand
complexity. A language that makes it hard to write elegant code makes it hard
to write good code." Eric Raymond

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.


More information about the freebsd-acpi mailing list