summaryrefslogtreecommitdiff
path: root/target/linux/mcs814x
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-20 21:58:00 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-20 21:58:00 +0000
commitb6eacc06d69bc3cb43e1b536786da34a7dd4010d (patch)
treecfd25729d6f800f2525016e691d8576eca33c3e9 /target/linux/mcs814x
parent2af5a044d34ca306c5643961190ecf820935c241 (diff)
[mcs814x] fix USB led triggers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32474 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mcs814x')
-rw-r--r--target/linux/mcs814x/Makefile2
-rw-r--r--target/linux/mcs814x/base-files/etc/uci-defaults/leds8
2 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/mcs814x/Makefile b/target/linux/mcs814x/Makefile
index 018cdb0754..a62b6e5899 100644
--- a/target/linux/mcs814x/Makefile
+++ b/target/linux/mcs814x/Makefile
@@ -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"
diff --git a/target/linux/mcs814x/base-files/etc/uci-defaults/leds b/target/linux/mcs814x/base-files/etc/uci-defaults/leds
index 8d366b66c2..8ab8b4e763 100644
--- a/target/linux/mcs814x/base-files/etc/uci-defaults/leds
+++ b/target/linux/mcs814x/base-files/etc/uci-defaults/leds
@@ -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