fix USB led triggers
authorFlorian Fainelli <florian@openwrt.org>
Wed, 20 Jun 2012 21:58:00 +0000 (21:58 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 20 Jun 2012 21:58:00 +0000 (21:58 +0000)
SVN-Revision: 32474

target/linux/mcs814x/Makefile
target/linux/mcs814x/base-files/etc/uci-defaults/leds

index 018cdb0754ac98e848ba9928e239c90050ee4e2b..a62b6e58993fed17e1a29ad55829e6897ce6bca2 100644 (file)
@@ -22,7 +22,7 @@ DEFAULT_PACKAGES := $(filter-out ppp%,$(DEFAULT_PACKAGES)) \
                  kmod-usb-storage kmod-fs-vfat \
                  kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-iso8859-15 \
                  kmod-nls-utf8 \
-                 kmod-mcs814x-wdt
+                 kmod-mcs814x-wdt kmod-ledtrig-usbdev
 
 KERNELNAME:="zImage dtbs"
 
index 8d366b66c24c4bf0e4f7173a44523963db2e7b0e..8ab8b4e76320cf58bcf1c9bd9b212fa87053d40c 100644 (file)
@@ -13,10 +13,10 @@ dlan-usb-extender)
        ucidef_set_led_usbdev "usb" "USB" "dlan-usb-extender:green:usb" "1-1"
        ;;
 rbt-832)
-       ucidef_set_led_usbdev "usb" "USB" "rbt-832:red:usb0" "1-1"
-       ucidef_set_led_usbdev "usb" "USB" "rbt-832:red:usb1" "1-2"
-       ucidef_set_led_usbdev "usb" "USB" "rbt-832:red:usb2" "1-3"
-       ucidef_set_led_usbdev "usb" "USB" "rbt-832:red:usb3" "1-4"
+       ucidef_set_led_usbdev "usb1" "USB1" "rbt-832:red:usb0" "1-1"
+       ucidef_set_led_usbdev "usb2" "USB2" "rbt-832:red:usb1" "1-2"
+       ucidef_set_led_usbdev "usb3" "USB3" "rbt-832:red:usb2" "1-3"
+       ucidef_set_led_usbdev "usb4" "USB4" "rbt-832:red:usb3" "1-4"
        ucidef_set_led_netdev "eth" "eth" "rbt-832:red:ethernet" "eth0"
        ;;
 esac