Comment(by gkashperko):
Street magic to get wireless led working with broadcom-wl:
Code:
nvram unset sb/1/leddc
nvram set wl0gpio7=2
nvram commit
>> Doesn't make any difference on my router...
>> In my, is the same the wifi led don't work.
wl0gpio7 nvram value controls led behaviour. Defined behaviours are there
in wlioctl.h, see
WL_LED_XXXX defines (look through broadcom-wl sources).
I suggested value
2 (WL_LED_ACTIVITY) which make wlan led off, but
blinking on activity. Default value of
8 (WL_LED_WI2) keep wlan led on,
flashing on activity. Not in mood to play around with others.
leddc nvram value controls led powersave.
Calculated as following:
Code:
leddc=(n << 16 | (100 - n))
0 < n < 100
The higher you set n the brighter led will be.
Doing
nvram unset sb/1/leddc resets this to default value of 10%.
I guess those who report wifi led still not working just don't have the box
uncovered as I do and can't see the led directly - beleive me, it's blinking
Here is recipe to get it much much much brighter:
Code:
nvram set wl0gpio7=8
nvram set sb/1/leddc=0x5A000A
nvram commit
This will make wlan led 90% of max brightness, turned on when enabled,
off when down, blinking on activity.
When done with nvram changes reboot or reload wl.ko
>> I've set mine to 90% brightness, always on, blinking on activity
(the other setting worked too, but wasn't really visible). Thanks!
If you have wifi led constantly off try following to get it working (reboot when done):
Code:
nvram set sb/1/leddc=0x5A000A
nvram set wl0gpio7=8
nvram commit
Have fun,
George Kashperko <george@znau.edu.ua>