Hi all,
I use a Netgear WAX202 as a dumb wifi access point. Currently running openWrt 22.03.3 where I have successfully disabled all LEDs.
To test current improvements in the wifi, I installed a current snapshot version (r22252-f30757b94e). However, I can no longer deactivate the LEDs for the LAN ports.
Under "/sys/class/leds/" I can see differences depending on the version.
Here's my WAX202 config from 22.03.5 (don't have "ls /sys/class/leds/" from this version but I had all available LEDs configured as OFF and router was dark, everything worked)...
config led 'led_internet'
option name 'Internet'
option sysfs 'green:net'
option trigger 'none'
option default '0'
config led 'led_lan1'
option name 'LAN1'
option sysfs 'green:lan1'
option trigger 'none'
option default '0'
config led 'led_lan2'
option name 'LAN2'
option sysfs 'green:lan2'
option trigger 'none'
option default '0'
config led 'led_lan3'
option name 'LAN3'
option sysfs 'green:lan3'
option trigger 'none'
option default '0'
config led
option name '2g'
option sysfs 'blue:wifi2g'
option trigger 'none'
option default '0'
config led
option name '5g'
option sysfs 'blue:wifi5g'
option trigger 'none'
option default '0'
config led
option name 'power'
option sysfs 'green:power'
option trigger 'none'
option default '0'
config led
option name '2g1'
option sysfs 'green:wifi2g'
option trigger 'none'
option default '0'
config led
option name '5g1'
option sysfs 'green:wifi5g'
option trigger 'none'
option default '0'
...and green LED lights for all LAN1-3 ports are ON all the time
Found some mdio advice for similar issue on WAX206 (CLI command: mdio mt7530-0 0:0x1f raw 0x21 0x0008) but it didn't work on WAX202 and I have no idea/experience how to make it work. Will have to google more I guess.
Thank you for those links. Read most of the posts and still can't understand why it was possible in 22.03.05 and not in 23.05 - I mean the option to chose if I can turn it off or let it be.
So if I just want to have those LEDs off I have to go back to previous version and if I want to have the latest security patches etc. I have to go mad in the evening from unwanted lights and put something in front of the device.
No, maybe I rushed through those post but as I don't care about offloading (if that's the thing you're pointing to) I didn't see clear information (or I just don't understand the topic) if it wasn't doing proper work with the option present in 22.03.05 no matter if it was set up to turn the lights off or in default setting. And it probably doesn't matter at this point.
Regarding adding the code as a patch...I'm sorry, but I don't know how to do that...too new. But certainly a topic I can now google and maybe play with if I feel confident not to break anything. So thanks for your prompt response.