From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 26 12:03:37 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E357106566C for ; Sun, 26 Oct 2008 12:03:37 +0000 (UTC) (envelope-from gofda-freebsd-acpi@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id CDAEC8FC1F for ; Sun, 26 Oct 2008 12:03:36 +0000 (UTC) (envelope-from gofda-freebsd-acpi@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ku4LG-00006m-Dg for freebsd-acpi@freebsd.org; Sun, 26 Oct 2008 12:03:34 +0000 Received: from 200.41.broadband11.iol.cz ([90.178.41.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Oct 2008 12:03:34 +0000 Received: from gamato by 200.41.broadband11.iol.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Oct 2008 12:03:34 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-acpi@freebsd.org From: martinko Date: Sun, 26 Oct 2008 13:03:25 +0100 Lines: 38 Message-ID: <49045C8D.8090708@users.sf.net> References: <200804171115.13132.jkim@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 200.41.broadband11.iol.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20081009 SeaMonkey/1.1.12 In-Reply-To: <200804171115.13132.jkim@FreeBSD.org> Sender: news Subject: Re: ODP: Re: Acpli driver for FreeBSD to Asus A6F 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: Sun, 26 Oct 2008 12:03:37 -0000 Jung-uk Kim wrote: > > You have to hook up devd to get extra buttons that are not handled by > acpi_asus(4). One night, I wrote an ugly script to do that (attached > for your reference). To use it, you need to add the following lines > in the /etc/devd.conf: > > # ASUS laptop notified actions. > notify 10 { > match "system" "ACPI"; > match "subsystem" "ASUS"; > action "/etc/acpi_asus $notify"; > }; > > and place the attached file in /etc and make it executable. For X.org > OSD, you need to install ports/misc/xosd. > > Enjoy, > > Jung-uk Kim > This is great! :-D I've already forgotten this part of my laptop's functionality but now I'm getting excited about it again. ;-) Well, not everything works out of the box but it's a good place to start. Btw, don't you want to create a port of this ?? :o) I'm already thinking of ways to improve the script. First, I want to add support for extra keys my laptop has got. Then I'd like to factor the settings out so that users don't have to edit the script in order to change desired behaviour. /Also, for instance, main volume control does not work everywhere and therefore it is likely to be needed redefined./ Cheers! :-) Martin