[OpenWrt-Devel] [PATCH] ar71xx: ZyXEL NBG6716 leds improvement ( correction - second attempt )
John Crispin
blogic at openwrt.org
Mon Feb 9 06:18:30 EST 2015
the 3 patches sent are white space broken and patchwork failed to pick
them up. i have manually applied this patch, but please use git for
sending patches in future.
On 06/02/2015 12:27, Marcin Mikołajczak wrote:
> This patch fixes LEDs in ZyXEL NBG6716
> - POWER LED was missing
> - USB LEDs incorrect order
>
> Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com>
> ---
> Sorry, but this is my first patch for OpenWrt - previous one was
> splitted in two half.
>
>
> 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 | \
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
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