Date: Sun, 26 Oct 2008 13:03:25 +0100 From: martinko <gamato@users.sf.net> To: freebsd-acpi@freebsd.org Subject: Re: ODP: Re: Acpli driver for FreeBSD to Asus A6F Message-ID: <49045C8D.8090708@users.sf.net> In-Reply-To: <200804171115.13132.jkim@FreeBSD.org> References: <f70bc5fe5c9a.480745b9@plusnet.pl> <m2y77coifl.wl%funa@funa.org> <f701ace02610.48074ecd@plusnet.pl> <200804171115.13132.jkim@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49045C8D.8090708>