[ltp] Re: Wlan led with 2.6.31

Jason Brooks linux-thinkpad@linux-thinkpad.org
Wed, 2 Dec 2009 11:38:37 -0800


I know that i can control it manually with sysctl

sysctl -w dev.wifi0.softled=3D1
sysctl -w dev.wifi0.ledpin=3D1

there are a few different options for ledpin. 0 was off or orange.
solid was 1 (can rember what 2 is) and 3 is blink blue and white
traffic activity.

I don't know if this helps at all. (But I think it may)

-JaY in WA-

2009/11/29 Fr=C3=A9d=C3=A9ric Boiteux <fboiteux@calistel.com>:
> Le Fri, 27 Nov 2009 17:40:21 -0200,
> Henrique de Moraes Holschuh <hmh@hmh.eng.br> a =C3=A9crit :
>
>> Yes, always. =C2=A0No exceptions for this. =C2=A0The WLAN LED is control=
led 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 :=C2=A0I'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 =C3=A9crit :
>
>> So indeed, all along one is getting oneself radiated, and wasting
>> electricity... and we thought the light would tell us.
> Not for me, I=C2=A0already 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 ?
>
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0Fred.
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>



--=20
JaY