eeePC 900 && turning off wireless (ath0)

Rui Paulo rpaulo at FreeBSD.org
Fri Jul 4 17:46:18 UTC 2008


On Fri, Jul 04, 2008 at 04:40:02PM +0200, Matthias Apitz wrote:
> El día Tuesday, July 01, 2008 a las 12:14:26PM +0100, Rui Paulo escribió:
> 
> > On Tue, Jul 01, 2008 at 11:02:20AM +0200, Matthias Apitz wrote:
> > > Rui,
> > > Have you commited your changes to RELENG_7 too or only to HEAD? I'm
> > > asking because Fn+F2 does toggle the power of the wireless NIC but
> > > devd(8) does not see any ACPI event in this case; it sees it for example
> > > if the battery comes full;
> > > 
> > > thx for clarifying this
> > > 
> > > could you please send me the /etc/devd.conf file you mention in the page
> > > http://wiki.freebsd.org/AsusEee ? in the one which came out of CVS with
> > > RELENG_7 I could not see anything about hotkeys; thx in advance
> > 
> > Only to HEAD. I'm going to MFC it today.
> 
> Hello Rui,
> 
> With your changes of acpi_asus.c in RELENG_7 the devd(8) and my
> hook-script in /usr/local/etc/devd/ath.conf sees the Fn+F2 now as the
> event "ACPI ASUS-Eee _SB_.ATKD", but it is anyway if Fn+F2 switches off
> or on the wireless NIC, the event for devd(8) is always the same;
> from the above event it is clear where
> the strings for system ACPI and subsystem ASUS-Eee come from, but I
> don't see where the string "_SB_.ATKD" is made; it must be derived
> from the 'notify' argument of the call
> 
>                 /* Notify devd(8) */
> 		acpi_UserNotify("ASUS-Eee", h, notify);
> 
> and I was hoping to distinguish it into two different events, one when
> Fn+F2 is switching off the NIC, and one of the case of switch on; any
> idea? thx

If you get the same string from the event, there's not much we can do.
_SB_.ATKD is the ACPI namespace for the keyboard.

Regards,
-- 
Rui Paulo


More information about the freebsd-hackers mailing list