- Status Unconfirmed
- Percent Complete
- Task Type Bug Report
- Category Base system
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Very Low
- Reported Version Trunk
- Due in Version Undecided
-
Due Date
Undecided
- Private
FS#2887 - ath79 port for TP-Link TL-WA830RE v1 doesn't detect LAN connectivity
I ported the TP-Link WL-WA83RE v1 from ar71xx to ath79 and noticed that the LAN LED doesn’t turn off if the network cable is removed. The kernel doesn’t detect the link status, the interface is always up.
AR7240 seems to be built like this, I don’t understand what MAC/PHY is connected to what but ethernet works if eth1 is enabled. I think the port status is only readable through the GE1 MDIO bus, but it isn’t initialized. On ar71xx the switch gets initialized, on ath79 I could only see it if I add eth0 to the DTS, but that creates a second, unusable network interface and still doesn’t connect the switch port’s link status to the kernel’s eth interface.
This probably also affects TP-Link TL-WA701ND v1, TL-WA730RE v1, TL-WA801ND v1 and TL-WA901ND v1.
ID | Project | Summary | Priority | Severity | Progress | |
---|---|---|---|---|---|---|
2889 | OpenWrt/LEDE Project | FS#2889 - TP-Link TL-WR841 snpshot ath79 kernel 5.4 error : ag71xx: probe | Very Low | Medium |
You could try to add the following to the DTS:
That brings the switch back and the link status is accessible via swconfig but I don't know how to connect that status to the network interface.
I don't understand the latter part of that sentence.
swconfig shows if the cable is disconnected or not, dmesg doesn't. Sorry, wasn't very clear.
https://patchwork.ozlabs.org/project/openwrt/patch/20200814130929.13772-1-freifunk@adrianschmutzler.de/