[FS#3524] TP-Link Archer C7 v2, missing tp-link:green:lan* and tp-link:green:wan led controls

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Sat Dec 19 18:01:32 EST 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Rinat (i-rinat) 

Attached to Project - OpenWrt/LEDE Project
Summary - TP-Link Archer C7 v2, missing tp-link:green:lan* and tp-link:green:wan led controls
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Very Low
Priority - Very Low
Reported Version - openwrt-19.07
Due in Version - Undecided
Due Date - Undecided
Details - Hardware is TP-Link Archer C7 v2.

I've just upgraded to 19.07.5 using prebuilt image "openwrt-19.07.5-ath79-generic-tplink_archer-c7-v2-squashfs-sysupgrade.bin" from some version of LEDE 17, and found that it's not possible to control LAN/WAN leds anymore. There are tp-link:green:{qss,system,usb1,usb2,wlan2g,wlan5g} leds listed in /sys/class/leds, but there are no mentions of lan1, lan2, lan3, lan4 or wan. I don't remember which particular version of LEDE it was before. Something from 2017.

Next is just a guess. I've tried to bisect code, but without trying to build and run it on the hardware, and found that last time string "tp-link:green:wan" was in the source that was somehow related to Archer C7 v2 was just before 4e4ee4649553ab536225060a27fc320bf54e458c (ar71xx: drop target). In target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c there were two sets of leds. One, registered with mdiobus_register_board_info(), these are now missing. And another, registered with ath79_register_leds_gpio(), these are now present.

Haven't had a chance to test various versions from bisecting on the actual hardware yet.


More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3524

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list