Whenever I reconnect my USB device (a OnePlus 10T smartphone) to a CentOS 7 server or reboot it its device # on the bus changes as can be seen here:
Before: Bus 002 Device 052: ID 22d9:2765 OPPO Electronics Corp. Oppo N1
After: Bus 002 Device 055: ID 22d9:2765 OPPO Electronics Corp. Oppo N1
Is there a way to lock those bus and device # to any fixed values and map them to device vendor:product IDs 22d9:2765 somewhere?
Thanks in advance!
lsusb
shows it on the same Bus but as different Device. I found the device info first under/sys/bus/usb/devices/usb2/
; every reconnection increaseddevnum
after a reboot under/sys/bus/usb/devices/usb1
– Peregrino69 Feb 08 '23 at 23:14