IBM T23 volume keys handling

Ian Smith smithi at nimnet.asn.au
Mon May 28 14:09:45 UTC 2007


On Mon, 28 May 2007, [ISO-8859-2] Micha³ Frynas wrote:

 > Date: Mon, 28 May 2007 15:40:51 +0200
 > From: "[ISO-8859-2] Micha³ Frynas" <mfrynas at gmail.com>
 > To: Ian Smith <smithi at nimnet.asn.au>
 > Subject: Re: IBM T23 volume keys handling
 > 
 > 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 :)

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.

 > Regards,
 > Michal Frynas.
 > 
 > 2007/5/28, Ian Smith <smithi at nimnet.asn.au>:
 > >
 > > On Mon, 28 May 2007, [ISO-8859-2] Micha³ Frynas wrote:
 > >
 > > > can someone of you guys, point me a place within the kernel sources,
 > > where
 > > > the volume up/volume down keys are handled?
 > > > In more specific I'd like to find a place where the volume keys press
 > > event
 > > > is being handled, and add there something like this:
 > > >
 > > > devctl_notify("ACPI_CUSTOM", "ACPI_VOLUME", (arg > val) ? "ACPI Volume
 > > Up" :
 > > > "ACPI Volume Down", NULL);
 > >
 > > Just checking .. these buttons do work on my T23 with acpi_ibm loaded,
 > > so I guess you're wanting the event notification to do something else?
 > >
 > > Otherwise, what Fabian said ..
 > >
 > > Cheers, Ian



More information about the freebsd-acpi mailing list