ASUS RT-AX53U WiFi LEDs not working on OpenWrt 22.03.5

The wifi leds on this router refuse to work on openwrt 22.03.5 while they work fine on OpenWrt SNAPSHOT r22995-09d0643c18 (and earlier revisions actually).
Something is probably missing on kernel 5.10, as the mt76-phy0, mt76-phy1 files do not exist in /sys/class/leds.

OpenWrt 22.03.5 r20134-5f15225c1e

ls -l /sys/class/leds
lrwxrwxrwx    1 root     root             0 Jan  1  1970 blue:power -> ../../devices/platform/leds/leds/blue:power
lrwxrwxrwx    1 root     root             0 Jan  1  1970 blue:usb -> ../../devices/platform/leds/leds/blue:usb

OpenWrt SNAPSHOT r22995-09d0643c18

ls -l /sys/class/leds
lrwxrwxrwx    1 root     root             0 Jan  1  1970 blue:power -> ../../devices/platform/leds/leds/blue:power
lrwxrwxrwx    1 root     root             0 Jan  1  1970 blue:usb -> ../../devices/platform/leds/leds/blue:usb
lrwxrwxrwx    1 root     root             0 May 21 12:42 mt76-phy0 -> ../../devices/platform/1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0/leds/mt76-phy0
lrwxrwxrwx    1 root     root             0 May 21 12:42 mt76-phy1 -> ../../devices/platform/1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0/leds/mt76-phy1

The chanelogs state that the leds should work on 22.03.4 and later releases:

a3fbeb2 ramips: add missing LEDs to Asus RT-AX53U (+19,-3)

Obviously no one actually tested it on real h/w.

If any tests are needed, let me know.

1 Like

Hi!

Is there an idea how to turn off all the LEDs?
In OpenWrt 22.03.5 r20134-5f15225c1e internet activity, wifi and lan leds not listed indeed.

Is there some command that can be used to determine which gpio pins are connected to leds?

Yes, obviously, that must be it.

Like I've said before in other topics regarding this, the fix is in snapshots already, and it will be there in the next stable release, 23.0x.
Like my github PR mentiones, the wifi LEDs depend on a few mt76 changes, , that didn't make it in 22.03 yet and I don't know if they ever will.

You don't have to.

Switch LEDs were left controlled by hardware intentionally, the PR above would've reversed it anyway.
So no, you can't turn them off for now unless you build your own custom image.

I will desolder lan and internet activity leds or ballast resistors :grinning:

Use electrical tape ?

1 Like