Modify

Opened 7 years ago

Closed 6 years ago

#8785 closed enhancement (fixed)

[Patch] Backport WNDR3700 USB LED definition to Backfire

Reported by: hnyman Owned by: developers
Priority: normal Milestone: Backfire 10.03.1
Component: base system Version: Backfire 10.03.1 RC4
Keywords: Cc: hannu.nyman@…

Description

Backfire is still missing the definition of the USB LED in its default configuration for WNDR3700. The LED definition was added to trunk in r24648.

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

There is no usbdev trigger yet, but the LED can still be made to work as long as the definition is there. (But there is no need to add the trigger-related values.)

Basic definition and the default=0 status needs to be there.

Index: target/linux/ar71xx/base-files/etc/uci-defaults/wndr3700
===================================================================
--- target/linux/ar71xx/base-files/etc/uci-defaults/wndr3700	(revision 25292)
+++ 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
 }

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by anonymous

Any chance that this patch could make it to the rc6?

comment:2 Changed 6 years ago by juhosg

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r28680. Thanks!

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.