From owner-freebsd-acpi@FreeBSD.ORG Mon May 28 13:45:28 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 5206116A49E for ; Mon, 28 May 2007 13:45:28 +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 01F9B13C458 for ; Mon, 28 May 2007 13:45:26 +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 XAA06358; Mon, 28 May 2007 23:10:47 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 28 May 2007 23:10:46 +1000 (EST) From: Ian Smith To: =?ISO-8859-2?Q?Micha=B3_Frynas?= In-Reply-To: <8af9710705280508n5d70c888ke406557f47c4e2c3@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 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 13:45:28 -0000 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