#17243: WDR3600 LED-Config partly broken
-------------------------+-------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Barrier Breaker (trunk)
Component: base system | Version: Trunk
Keywords: |
-------------------------+-------------------------------------
There are some bugs in the LED-Definition of this Device.
1st)
Strange colour-definition here, my old device has green leds, but I think
it should be blue here as well for all leds:
{{{
root@x:~# ls -l /sys/class/leds/
lrwxrwxrwx 1 root root 0 Jul 24 03:55 ath9k-phy0 ->
../../devices/platform/ar934x_wmac/leds/ath9k-phy0
lrwxrwxrwx 1 root root 0 Jul 24 03:55 ath9k-phy1 ->
../../devices/pci0000:00/0000:00:00.0/leds/ath9k-phy1
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-link:blue:lan1
-> ../../devices/virtual/leds/tp-link:blue:lan1
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-link:blue:lan2
-> ../../devices/virtual/leds/tp-link:blue:lan2
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-link:blue:lan3
-> ../../devices/virtual/leds/tp-link:blue:lan3
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-link:blue:lan4
-> ../../devices/virtual/leds/tp-link:blue:lan4
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-link:blue:qss
-> ../../devices/platform/leds-gpio/leds/tp-link:blue:qss
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-
link:blue:system -> ../../devices/platform/leds-gpio/leds/tp-
link:blue:system
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-link:blue:wan
-> ../../devices/virtual/leds/tp-link:blue:wan
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-
link:blue:wlan2g -> ../../devices/platform/leds-gpio/leds/tp-
link:blue:wlan2g
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-
link:green:usb1 -> ../../devices/platform/leds-gpio/leds/tp-
link:green:usb1
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-
link:green:usb2 -> ../../devices/platform/leds-gpio/leds/tp-
link:green:usb2
}}}
2nd)
The default-config just contains usb-leds and 2ghz-wifi-led. Missing 5ghz-
wifi, wan, qss and so on.
{{{
root@x:~# cat /etc/config/system
[...]
config led 'led_usb1'
option name 'USB1'
option sysfs 'tp-link:green:usb1'
option trigger 'usbdev'
option dev '1-1.1'
option interval '50'
config led 'led_usb2'
option name 'USB2'
option sysfs 'tp-link:green:usb2'
option trigger 'usbdev'
option dev '1-1.2'
option interval '50'
config led 'led_wlan2g'
option name 'WLAN2G'
option sysfs 'tp-link:blue:wlan2g'
option trigger 'phy0tpt'
}}}
3rd)
There is no LED for 5ghz-wifi definied in /sys/class/leds:
{{{
root@x:~# ls -l /sys/class/leds/
lrwxrwxrwx 1 root root 0 Jul 24 03:55 ath9k-phy0 ->
../../devices/platform/ar934x_wmac/leds/ath9k-phy0
lrwxrwxrwx 1 root root 0 Jul 24 03:55 ath9k-phy1 ->
../../devices/pci0000:00/0000:00:00.0/leds/ath9k-phy1
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-link:blue:lan1
-> ../../devices/virtual/leds/tp-link:blue:lan1
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-link:blue:lan2
-> ../../devices/virtual/leds/tp-link:blue:lan2
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-link:blue:lan3
-> ../../devices/virtual/leds/tp-link:blue:lan3
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-link:blue:lan4
-> ../../devices/virtual/leds/tp-link:blue:lan4
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-link:blue:qss
-> ../../devices/platform/leds-gpio/leds/tp-link:blue:qss
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-
link:blue:system -> ../../devices/platform/leds-gpio/leds/tp-
link:blue:system
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-link:blue:wan
-> ../../devices/virtual/leds/tp-link:blue:wan
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-
link:blue:wlan2g -> ../../devices/platform/leds-gpio/leds/tp-
link:blue:wlan2g
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-
link:green:usb1 -> ../../devices/platform/leds-gpio/leds/tp-
link:green:usb1
lrwxrwxrwx 1 root root 0 Jan 1 1970 tp-
link:green:usb2 -> ../../devices/platform/leds-gpio/leds/tp-
link:green:usb2
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/17243>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets