On Fri, 3 Jun 2011 10:03:36 +0800, HP Teoh wrote: 

> ==============================================================================
> 
> Problem 2: WiFi LED always stays solid green. Does anybody know how it can be 
> modified to blink/flash based on activity? I have tried to change the trigger 
> in wifi sys with no luck.
> 
> /sys/devices/platform/leds-gpio/leds/wiwi-300n:green:wifi# cat trigger 
> [none] timer default-on netdev phy0rx phy0tx phy0assoc phy0radio

To make the wifi LED flash on activity, add this to your /etc/config/system: 

config 'led'
 option 'default' '0'
 option 'name' 'Wireless'
 option 'sysfs' 'rt2800pci-phy0::radio'
 option 'trigger' 'netdev'
 option 'dev' 'wlan0'
 option 'mode' 'link tx rx' 

You may have to rename the 'sysfs' option to match the wifi LED in 
/sys/class/leds. 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to