[OpenWrt-Devel] [PATCH] ramips: Fix LEDs on the Kingston MLW221
L. D. Pinney
ldpinney at gmail.com
Wed Jul 30 08:48:47 EDT 2014
From: L. D. Pinney <ldpinney at gmail.com>
LED Fix up for the Kingston Mobilelite Wireless (MLW-221)
http://wiki.openwrt.org/toh/kingston/mlw221
Signed-off-by: L. D. Pinney <ldpinney at gmail.com>
---
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 0887606..4cd5acf 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -74,7 +74,7 @@ get_status_led() {
status_led="m4:blue:status"
;;
mlw221)
- status_led="kingston:green:status"
+ status_led="kingston:blue:system"
;;
mofi3500-3gn)
status_led="mofi3500-3gn:green:status"
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
index 359281e..e92a12e 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -115,6 +115,7 @@ case $board in
;;
mlw221)
set_wifi_led "kingston:blue:wifi"
+ ucidef_set_led_default "system" "system" "kingston:blue:system" "1"
;;
mofi3500-3gn)
set_usb_led "mofi3500-3gn:green:usb"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mlw221.led.patch
Type: text/x-diff
Size: 979 bytes
Desc:
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20140730/57ec9220/attachment.bin>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list