Hi all!
Is it possible to check LEDE code for any mistakes or possibilities for WAN LED configuration?
As I understand there is standard LED configuration presented, but I can't disable WAN LED by "echo 0" to "brightness" for ath9k-phy1:
ls /sys/class/leds/
ath9k-phy1 epg5000:amber:power epg5000:amber:wps epg5000:blue:wlan-2g epg5000:blue:wlan-5g epg5000:blue:wps
ls /sys/class/leds/ath9k-phy1/
brightness device max_brightness subsystem trigger uevent
In my device:
s# ls -l
lrwxrwxrwx 1 root root 0 Mar 25 09:42 ath9k-phy1 -> ../../devices/platform/qca955x_wmac/leds/ath9k-phy1
lrwxrwxrwx 1 root root 0 Jan 1 1970 epg5000:amber:power -> ../../devices/platform/leds-gpio/leds/epg5000:amber:power
lrwxrwxrwx 1 root root 0 Jan 1 1970 epg5000:amber:wps -> ../../devices/platform/leds-gpio/leds/epg5000:amber:wps
lrwxrwxrwx 1 root root 0 Jan 1 1970 epg5000:blue:wlan-2g -> ../../devices/platform/leds-gpio/leds/epg5000:blue:wlan-2g
lrwxrwxrwx 1 root root 0 Jan 1 1970 epg5000:blue:wlan-5g -> ../../devices/platform/leds-gpio/leds/epg5000:blue:wlan-5g
lrwxrwxrwx 1 root root 0 Jan 1 1970 epg5000:blue:wps -> ../../devices/platform/leds-gpio/leds/epg5000:blue:wps
As you see led "ath9k-phy1" are displayed separately instead all other leds for epg5000.
As I understand there is 5 led's in my device, 2.4Ghz, 5Ghz, Power and WPS can be configured through generic commands and LUCI, WAN led can't be configured both ways.