I have a system where multiple USB ethernet devices (of same vendor) are connected to a USB hub. I have a physical mapping of which port has which ethernet interface. Is there a way I can identify the device programmatically to find the physical mapping to assign IP address etc.
how to know port to device mapping of a hub in linux
linux;usb