[OpenWrt-Devel] trunk: Ethernet LEDs not visible in Sysfs
Christian Mehlis
christian at m3hlis.de
Mon Apr 13 10:27:33 EDT 2015
just for the archive, this patch solved my problem:
commit f3129943ca6748d867ea6e9930b962b65d01ee47
Author: juhosg <juhosg at 3c298f89-4303-0410-b956-a3cf2f4a3e73>
AuthorDate: Tue Mar 31 21:31:36 2015 +0000
Commit: juhosg <juhosg at 3c298f89-4303-0410-b956-a3cf2f4a3e73>
CommitDate: Tue Mar 31 21:31:36 2015 +0000
ar71xx: fix platform device support in the gpio-74x164 driver
Platform device support has been removed from the gpio-74x164
driver in 3.14. Restore that.
Signed-off-by: Gabor Juhos <juhosg at openwrt.org>
Best
Christian
Am 20.03.2015 um 16:38 schrieb Christian Mehlis:
> hi,
>
> 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?
>
> Best
> Christian
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list