Date: Sun, 29 Jun 2008 18:05:27 +0200 From: Matthias Apitz <guru@unixarea.de> To: Rui Paulo <rpaulo@freebsd.org> Cc: freebsd-hackers@freebsd.org, james@nighthack.org, Manolis Kiagias <sonic2000gr@gmail.com> Subject: Re: eeePC 900 && turning off wireless (ath0) Message-ID: <20080629160527.GA17075@rebelion.Sisis.de> In-Reply-To: <20080627194447.GA34524@phi.local> References: <20080626075545.GA2964@rebelion.Sisis.de> <20080626231603.GC6875@phi.local> <20080627080203.GA19602@rebelion.Sisis.de> <20080627194447.GA34524@phi.local>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Friday, June 27, 2008 a las 08:44:47PM +0100, Rui Paulo escribió: > On Fri, Jun 27, 2008 at 10:02:03AM +0200, Matthias Apitz wrote: > > Hello Rui, > > > > I recompiled the kernel to have if_ath out of the kernel, but as a > > loaded module at boot: > > > > $ kldstat > > Id Refs Address Size Name > > 1 14 0xc0400000 8c7098 kernel > > 2 1 0xc0cc8000 1242c if_ath.ko > > 3 3 0xc0cdb000 46324 ath_hal.ko > > 4 2 0xc0d22000 4218 ath_rate.ko > > 5 1 0xc0d27000 14324 snd_hda.ko > > 6 2 0xc0d3c000 4a5ac sound.ko > > 7 1 0xc0d87000 6a32c acpi.ko > > 8 1 0xc4394000 22000 linux.ko > > > > I can unload if_ath, ath_hal and ath_rate which drops the interface > > ath0, but even in this case Fn+F2 has no affect at all; any idea? > > Oh, then I guess the 900 is different. > > > I've had a look into the Xandros Linux and they do it with ACPI events, > > dropping the modules and others; I could provide their script > > /etc/acpi/wlan.sh if someone wants to have a look into; > > If turning off WLAN is now done via ACPI events, then the patch I > committed to HEAD will probably help. I'll MFC it in a week, but if you > can give it a try, that would be great. Please contact me off-list if > you need assistance. Hola Rui, I've found your very usefull pages in http://wiki.freebsd.org/AsusEee I CVS'uped the kernel to RELENG_7, built it and moved it to the eeePC; now Fn+F2 works as it should and I can even kldunload if_ath, power-off and power-on the wireless card, and after kldload if_ath the interface comes up fine again and my devd(8) hook assigns IP again; now it works as it should; will have a look into the events seen by devd(8) to make the kldunload and kldload perhaps there; thanks for your work and help; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <matthias.apitz@oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ «...una sola vez, que es cuanto basta si se trata de verdades definitivas.» «...only once, which is enough if it has todo with definite truth.» José Saramago, Historia del Cerca de Lisboa
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080629160527.GA17075>