Please add the WNDR3700 USB LED definition to Backfire: https://dev.openwrt.org/ticket/8785

Backfire is still missing the definition of the USB LED in its default configuration for WNDR3700. The LED definition was added to trunk with r24648 <https://dev.openwrt.org/changeset/24648> (https://dev.openwrt.org/changeset/24648) and my patch just mirrors that action in Backfire.

Easiest is to similarly add it to uci-defaults https://dev.openwrt.org/browser/branches/backfire/target/linux/ar71xx/base-files/etc/uci-defaults/wndr3700

There is no usbdev trigger in Backfire, but the LED can still be made to work as long as the definition is there in config files. The basic definition and the default=0 status needs to be there for the manually added hotplug scripts to work. (But there is no need to add the trigger-related values that are applied in trunk version.)

Signed-off-by: Hannu Nyman <[email protected]>

Index: /target/linux/ar71xx/base-files/etc/uci-defaults/wndr3700
===================================================================
--- /target/linux/ar71xx/base-files/etc/uci-defaults/wndr3700   (revision 28336)
+++ /target/linux/ar71xx/base-files/etc/uci-defaults/wndr3700   (working copy)
@@ -13,6 +13,10 @@
 set system.wan_led.sysfs='wndr3700:green:wan'
 set system.wan_led.name='WAN LED (green)'
 set system.wan_led.default='0'
+set system.usb_led=led
+set system.usb_led.sysfs='wndr3700:green:usb'
+set system.usb_led.name='USB LED (green)'
+set system.usb_led.default='0'
 commit system
 EOF
 }
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to