From owner-freebsd-acpi@FreeBSD.ORG Tue May 29 04:23:37 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 4E34416A400 for ; Tue, 29 May 2007 04:23:37 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 1A6D413C45A for ; Tue, 29 May 2007 04:23:36 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 3803 invoked from network); 29 May 2007 13:56:56 +1000 Received: from 210-84-60-60.dyn.iinet.net.au (HELO localhost) (210.84.60.60) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 29 May 2007 13:56:56 +1000 Date: Tue, 29 May 2007 13:56:51 +1000 From: Norberto Meijome To: Ian Smith Message-ID: <20070529135651.31cb8281@localhost> In-Reply-To: References: <8af9710705280640s1b0cfd9k2d0285c06b315228@mail.gmail.com> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 29 May 2007 05:47:51 +0000 Cc: 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: Tue, 29 May 2007 04:23:37 -0000 On Tue, 29 May 2007 00:09:31 +1000 (EST) Ian Smith wrote: > > 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 :) ( Thanks Ian,i'm not in -acpi@) . Michael, I may be missing what you want to do (my apologies if that is the case!!) , but if you want to show some info, you can use deskutils/tpb. see http://www.meijome.net/files/freebsd/2007-05-29-13.52.22.jpg for what it does when I press the volume up. I am pretty certain it doesnt need any special devd configuration (you of course need acpi_ibm loaded, and ensure the sysctl is changed when you press they volume keys.) > > 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. B _________________________ {Beto|Norberto|Numard} Meijome "Ugly programs are like ugly suspension bridges: they're much more liable to collapse than pretty ones, because the way humans (especially engineer-humans) perceive beauty is intimately related to our ability to process and understand complexity. A language that makes it hard to write elegant code makes it hard to write good code." Eric Raymond I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.