On Wednesday, February 18, 2015 11:13:01 PM MSK, Farid Farid wrote:
Hi Everyone,
I have a question about LED pattern for WIFI. I am using Openwrt Barrier Breaker - kernel 3-10-xx Is there anyway to tie a GPIO' Led to hostapd or wpa_supplicant in order to have proper LED pattern for WIFI?Do these utility drive any GPIO ?
I am using hostapd-20130807
And  another question :
I know there is LED support in Kernel ( kmod-leds) . In my system I do have all LEDs defined in /sys/class/gpio/gpioxx/
How can I map kernel LED driver on  my LED lines?

For my router I've put this into /etc/config/system:

config led wlan_led
       option name 'WLAN'
       option sysfs 'bcm47xx:blue:wlan'
       option trigger 'netdev'
       option dev 'wlan0'
       option mode 'link tx rx'

You should replace with your LED's name from /sys.
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to