[OpenWrt-Devel] [PATCH] ar71xx: ZyXEL NBG6716 leds improvement
Marcin Mikołajczak
gr4ffy at gmail.com
Fri Feb 6 03:20:08 EST 2015
This patch fixes a LEDs in ZyXEL NBG6716
- POWER LED was missing
- USB LEDs incorrect order
Index: trunk/target/linux/ar71xx/base-files/etc/diag.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/diag.sh (wersja 44288)
+++ trunk/target/linux/ar71xx/base-files/etc/diag.sh (kopia robocza)
@@ -130,7 +130,7 @@
status_led="nbg460n:green:power"
;;
nbg6716)
- status_led="nbg6716:white:power"
+ status_led="zyxel:white:power"
;;
om2p | \
om2pv2 | \
Index: trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
(wersja 44288)
+++ trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
(kopia robocza)
@@ -215,8 +215,8 @@
ucidef_set_led_netdev "wan" "WAN" "zyxel:white:internet" "eth1"
ucidef_set_led_wlan "wlan" "WLAN" "zyxel:white:wifi2g" "phy1tpt"
ucidef_set_led_wlan "wlan5" "WLAN5" "zyxel:white:wifi5g"
"phy0tpt"
- ucidef_set_led_usbdev "usb1" "USB1" "zyxel:white:usb0" "1-1"
- ucidef_set_led_usbdev "usb2" "USB2" "zyxel:white:usb1" "2-1"
+ ucidef_set_led_usbdev "usb1" "USB1" "zyxel:white:usb0" "2-1"
+ ucidef_set_led_usbdev "usb2" "USB2" "zyxel:white:usb1" "1-1"
;;
om2p | \
Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com>
_______________________________________________
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