Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
openwrt-bot opened this issue Dec 19, 2020 · 1 comment
Labels
flyspray kernel pull request/issue with Linux kernel related changes release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release

Comments

@openwrt-bot
Copy link

i-rinat:

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 4e4ee46 (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.

@openwrt-bot
Copy link
Author

adrianschmutzler:

It appears those are handled directly by the switch now, and cannot be reassigned anymore. ath79 is a completely different setup/configuration compared to ar71xx, so it has different capabilities as well.

@aparcar aparcar added release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release kernel pull request/issue with Linux kernel related changes labels Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray kernel pull request/issue with Linux kernel related changes release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release
Projects
None yet
Development

No branches or pull requests

2 participants