Hello list, This patch adds to the default LED configuration. The blue power LED defaults to on. With the activation of "wan_led_switch_ctrl" we hand off control of the blue planet LED to the hardware switch; this means also that it will be enabled when the router starts. WLAN_2G LED also enabled by default.
I haven't yet figured out how to setup GPIO 32 for WLAN_5G. Hopefully that will follow later :) Signed-off-by: Sebastian Kemper <[email protected]> diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index f55f1fe..5e8e505 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -70,9 +70,15 @@ dir-615-e4) ucidef_set_led_switch "lan4" "LAN4" "d-link:green:lan4" "switch0" "0x10" ;; -dir-825-b1 | \ +dir-825-b1) + ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1" + ;; + dir-825-c1) ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1" + ucidef_set_led_default "wan" "Switch controls blue planet LED" "d-link:none:wan_led_switch_ctrl" "1" + ucidef_set_led_default "power" "Power Blue: on" "d-link:blue:power" "1" + ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz LED" "d-link:blue:wlan2g" "phy0tpt" ;; hornet-ub) _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
