WRT3200ACM -- default LEDs config question

This is (a snippet of) the default leds config on master/snapshot on WRT3200ACM:

system.led_usb1.name='USB 1'
system.led_usb1.sysfs='pca963x:rango:white:usb2'
system.led_usb1.trigger='usbport'
system.led_usb1.default='0'
system.led_usb1.port='usb1-port1'
system.led_usb2=led
system.led_usb2.name='USB 2'
system.led_usb2.sysfs='pca963x:rango:white:usb3_1'
system.led_usb2.trigger='usbport'
system.led_usb2.port='usb2-port1' 'usb3-port1'
system.led_usb2.default='0'
system.led_usb2_ss=led
system.led_usb2_ss.name='USB 2 SS'
system.led_usb2_ss.sysfs='pca963x:rango:white:usb3_2'
system.led_usb2_ss.trigger='usbport'
system.led_usb2_ss.default='0'
system.led_usb2_ss.port='usb3-port1'

Is there a reason why one LED has two ports assigned (and one port has two LEDs assigned):

system.led_usb2.port='usb2-port1' 'usb3-port1'
system.led_usb2_ss.port='usb3-port1'

I don't know how to navigate source tree for hardware support to try to reach out to proper developer. Help would be appreciated.

It is OK.
One of the USB ports triggers LEDs differently if you use usb2 or usb3 device in it. This is related to that.usb3 device lights both the normal led and the smaller dot led. I have tested with my 3200.

Relevant commits are in: target Linux mvebu basefiles etc boardd LEDs ...
Check commit history there.

1 Like

Think you forgot this:

1 Like

Forgot what? Doesn't that commit define LEDs just so. First led reacts to first USB controller, second led reacts both to usb2 controller and usb3 controller while the third SS led reacts only to usb3 controller.

I'm so sorry, I read your last sentence thinking you were providing a link........ You forgot nothing, I am only adding confusion. :slight_smile:

You wrote:

Check commit history there.

I read:

Check commit history here:

Yeah, I wrote the source path navigation out of memory as I am not at computer right now