From owner-freebsd-acpi@FreeBSD.ORG Mon May 28 14:09:45 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 37D3E16A516 for ; Mon, 28 May 2007 14:09:45 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id A67F813C4EB for ; Mon, 28 May 2007 14:09:40 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with ESMTP id AAA07844; Tue, 29 May 2007 00:09:32 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 29 May 2007 00:09:31 +1000 (EST) From: Ian Smith To: =?ISO-8859-2?Q?Micha=B3_Frynas?= In-Reply-To: <8af9710705280640s1b0cfd9k2d0285c06b315228@mail.gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Cc: freebsd-acpi@freebsd.org, Norberto Meijome Subject: Re: IBM T23 volume keys handling X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2007 14:09:45 -0000 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" > To: Ian Smith > 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 : > > > > 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