[ltp] Re: Wlan led with 2.6.31

Frédéric Boiteux linux-thinkpad@linux-thinkpad.org
Mon, 30 Nov 2009 08:31:09 +0100


Le Fri, 27 Nov 2009 17:40:21 -0200,
Henrique de Moraes Holschuh <hmh@hmh.eng.br> a écrit :

> Yes, always.  No exceptions for this.  The WLAN LED is controlled by
> the WLAN card, which is controlled by the OS WLAN card driver.

Thanks for your feedback, I always thought thinkpad_acpi driver was
managing all Thinkpad leds ;-)

Since then, I found that in
linux-source-2.6.31/drivers/net/wireless/ath/ath5k/led.c, some cards
are already recognized and known how they handle the wifi led : I'll
have to look with upstream ath5k devs how to update it for my Atheros
card model.

Le Sun, 29 Nov 2009 01:10:08 +0800,
jidanni@jidanni.org a écrit :

> So indeed, all along one is getting oneself radiated, and wasting
> electricity... and we thought the light would tell us.
Not for me, I already remove the wifi driver when not using it, at
least to avoid energy loss !

> I think this is how one turns the antenna off
> # echo 1 >| /sys/devices/*/*/*/rf_kill

I would say the contrary : echo -n '0' > /sys/... rf_kill/state to turn
the wifi off, isn't it ?


	Fred.