Date: Tue, 29 May 2007 00:09:31 +1000 (EST) From: Ian Smith <smithi@nimnet.asn.au> To: =?ISO-8859-2?Q?Micha=B3_Frynas?= <mfrynas@gmail.com> Cc: freebsd-acpi@freebsd.org, Norberto Meijome <freebsd@meijome.net> Subject: Re: IBM T23 volume keys handling Message-ID: <Pine.BSF.3.96.1070528235853.28839D-100000@gaia.nimnet.asn.au> In-Reply-To: <8af9710705280640s1b0cfd9k2d0285c06b315228@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@gmail.com> > To: Ian Smith <smithi@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1070528235853.28839D-100000>