An attempt is made to use ucidef_set_led_usbdev without the required
kernel config option, provided here, and the PPPoE status is reassigned
to the LED that was intended to indicate it, rather than the DSL sync
light.

Signed-off-by: Daniel Gimpelevich <[email protected]>
Index: target/linux/lantiq/xway/config-default
===================================================================
--- a/target/linux/lantiq/xway/config-default   (revision 36739)
+++ b/target/linux/lantiq/xway/config-default   (working copy)
@@ -6,6 +6,7 @@
 CONFIG_INPUT_POLLDEV=y
 # CONFIG_ISDN is not set
 CONFIG_LEDS_TRIGGER_HEARTBEAT=y
+CONFIG_LEDS_TRIGGER_USBDEV=y
 CONFIG_M25PXX_USE_FAST_READ=y
 CONFIG_MTD_M25P80=y
 CONFIG_MTD_NAND=y
Index: target/linux/lantiq/base-files/etc/uci-defaults/01_leds
===================================================================
--- a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds   (revision 36739)
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds   (working copy)
@@ -9,7 +9,7 @@
 
 [ -e "/sys/class/leds/wifi" ] && ucidef_set_led_wlan "wifi" "wifi" "wifi" 
"phy0tpt"
 [ -e "/sys/class/leds/usb" ] && ucidef_set_led_usbdev "usb" "usb" "usb" "1-1"
-[ -e "/sys/class/leds/dsl" ] &&        ucidef_set_led_netdev "dsl" "dsl" "dsl" 
"pppoe-wan"
+[ -e "/sys/class/leds/internet" ] &&   ucidef_set_led_netdev "internet" 
"internet" "internet" "pppoe-wan"
 
 for a in `ls /sys/class/leds/`; do
        grep -q "\[none\]" /sys/class/leds/$a/trigger


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to