Hi,
I am using RouterOS containers to run a flashing tool (USB device).
During flashing, the USB device disconnects and reconnects, so the USB dev number changes (example: Bus 001 Device 003 → Bus 001 Device 004).
RouterOS container/print shows the new PASSED-DEVS correctly (bus/usb/001/004), and lsusb inside the container also shows Device 004.
But inside the container, /dev/bus/usb/001/004 is not created/updated. /dev/bus/usb/001/ still shows only old nodes like 002 and 003, so the flashing tool fails to open /dev/bus/usb/001/004.
Only workaround: stop and start the container, then the new USB device node appears and access works again.
Is there a way to make RouterOS containers auto-handle USB re-enumeration (dynamic /dev/bus/usb updates) without restarting the container?
Example:
-
lsusbshows: Bus 001 Device 005: DNL -
/dev/bus/usb/001shows only 003 (no 005)
Thanks.
example:
