[openwrt/openwrt] bcm63xx: drop USB LEDs for Technicolor TG582N / ADB P.DG A4001N

LEDE Commits lede-commits at lists.infradead.org
Sat Jun 5 15:00:25 PDT 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/9b144cef4348eb49e33ad63bcb369544215313a5

commit 9b144cef4348eb49e33ad63bcb369544215313a5
Author: Daniele Castro <danielecastro at hotmail.it>
AuthorDate: Tue May 11 13:17:50 2021 +0100

    bcm63xx: drop USB LEDs for Technicolor TG582N / ADB P.DG A4001N
    
    Remove the USB status red and green LEDs for
    - ADB P.DG A4001N A-000-1A1-AX
    - Technicolor TG582N
    - Technicolor TG582N Telecom Italia
    
    After having mounted an SMD socket for the flash memory for
    JTAG reverse engineering, and so be able to easly swap between
    OpenWrt and the stock FW, it turned out that the stock FW does
    not light up the red and green USB LEDs exactly as I remembered.
    
    Signed-off-by: Daniele Castro <danielecastro at hotmail.it>
    [improve commit title]
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/bcm63xx/base-files/etc/board.d/01_leds | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/target/linux/bcm63xx/base-files/etc/board.d/01_leds b/target/linux/bcm63xx/base-files/etc/board.d/01_leds
index 33c70981de..75e8afef9d 100644
--- a/target/linux/bcm63xx/base-files/etc/board.d/01_leds
+++ b/target/linux/bcm63xx/base-files/etc/board.d/01_leds
@@ -27,10 +27,9 @@ adb,a4001n1)
 	ucidef_set_led_usbdev "usb" "USB" "green:3g" "1-1"
 	;;
 adb,pdg-a4001n-a-000-1a1-ax|\
+technicolor,tg582n|\
 technicolor,tg582n-telecom-italia)
 	ucidef_set_led_netdev "wlan0" "WIFI" "green:wifi" "wlan0"
-	ucidef_set_led_usbdev "usb1" "USB1" "green:service" "1-1"
-	ucidef_set_led_usbdev "usb2" "USB2" "red:service" "2-1"
 	;;
 adb,av4202n)
 	ucidef_set_led_netdev "wlan0" "WLAN" "blue:wifi" "wlan0"
@@ -92,10 +91,6 @@ sercomm,h500-s-lowi|\
 sercomm,h500-s-vfes)
 	ucidef_set_led_netdev "wan" "WAN" "green:internet" "eth0.2"
 	;;
-technicolor,tg582n)
-	ucidef_set_led_netdev "wlan0" "WIFI" "green:wifi" "wlan0"
-	ucidef_set_led_usbdev "usb" "USB" "red:power" "1-1"
-	;;
 telsey,cpva502plus)
 	ucidef_set_led_netdev "lan" "LAN" "amber:link" "eth0"
 	;;



More information about the lede-commits mailing list