[OpenWrt-Devel] trunk: Ethernet LEDs not visible in Sysfs

Christian Mehlis christian at m3hlis.de
Fri Mar 20 11:38:58 EDT 2015


my Archer-c5 and tplink 4300 routers do have 10 LEDs, but in the sysfs 
only the following LEDs are usable/visible:

$ ls /sys/class/leds
ath9k-phy1           tp-link:blue:wlan2g  tp-link:green:usb2
tp-link:blue:qss     tp-link:blue:wlan5g
tp-link:blue:system  tp-link:green:usb1

$ cat /sys/kernel/debug/gpio
GPIOs 0-23, ath79:
  gpio-12  (tp-link:blue:wlan2g ) out lo
  gpio-13  (RFKILL switch       ) in  lo
  gpio-14  (tp-link:blue:system ) out lo
  gpio-15  (tp-link:blue:qss    ) out hi
  gpio-16  (Reset button        ) in  hi
  gpio-17  (tp-link:blue:wlan5g ) out lo
  gpio-18  (tp-link:green:usb1  ) out hi
  gpio-19  (tp-link:green:usb2  ) out hi
  gpio-21  (USB2 power          ) out hi
  gpio-22  (USB1 power          ) out hi

All LAN and WAN LEDs are missing in sysfs.

Can someone tell me how to make them visible in sysfs in again?

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list