OpenWrt/LEDE Project

  • 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
Attached to Project: OpenWrt/LEDE Project
Opened by Kiste - 06.03.2020

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.

This task has the following sub-task
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
Project Manager
Adrian Schmutzler commented on 09.07.2020 19:20

You could try to add the following to the DTS:

&eth0 {
    status = "okay";

    compatible = "syscon", "simple-mfd";
Kiste commented on 12.08.2020 17:11

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.

Project Manager
Adrian Schmutzler commented on 12.08.2020 17:26

I don't understand the latter part of that sentence.

Kiste commented on 12.08.2020 17:28

swconfig shows if the cable is disconnected or not, dmesg doesn't. Sorry, wasn't very clear.


Available keyboard shortcuts


Task Details

Task Editing