From owner-freebsd-acpi@FreeBSD.ORG Mon May 28 12:33:04 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 9576A16A4C2 for ; Mon, 28 May 2007 12:33:04 +0000 (UTC) (envelope-from mfrynas@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.238]) by mx1.freebsd.org (Postfix) with ESMTP id 573B913C487 for ; Mon, 28 May 2007 12:33:03 +0000 (UTC) (envelope-from mfrynas@gmail.com) Received: by nz-out-0506.google.com with SMTP id 14so336569nzn for ; Mon, 28 May 2007 05:33:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=dKvFw9YqEfMT7EY6b9zTJ+QcfgaAeBwBhkQvv+MEbBOhT8Ah65w+btKx01XK1G/BX14sP22hdQAs1DmK7ruRynLptUpvGniw/sQzywStb550+80S8NGEnYZERvXDw/x9Qdvnm6G9zg4NNIfDnMqd+aYOsi2Som1w32dtVF3CqqU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=E14b9Qe7yVLnombTW4XBC5Xec24xCaQBYgzLYhYnKOyT8fCe0i7rnM9CqwZKbfWESVFzcUhsCxefwwIkP4bVVHj3JKWu+mPC357NhJHzEVPt5yVIPD4j9QqS6Gc8salurO7A+nE36GiIJnZI/YWz7j5lo2G/wnzgTQSfxQK2uKg= Received: by 10.114.254.1 with SMTP id b1mr2910302wai.1180354091984; Mon, 28 May 2007 05:08:11 -0700 (PDT) Received: by 10.115.14.7 with HTTP; Mon, 28 May 2007 05:08:11 -0700 (PDT) Message-ID: <8af9710705280508n5d70c888ke406557f47c4e2c3@mail.gmail.com> Date: Mon, 28 May 2007 14:08:11 +0200 From: "=?ISO-8859-2?Q?Micha=B3_Frynas?=" To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 12:33:04 -0000 Hello, 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); Thanks in advance, Michal Frynas.