Devices on fixed USB ports
I have a problem with my USB port names.
In my system with a UP Squared board equipped with Ubilinux I use all the three USB. One of them is connected to a fixed device (i.e. a small webcam), while the other two are connected to a two devices. I call these two devices as DEV0 and DEV1, only for simplicity.
I would need that DEV0 is always connected to a port called /dev/ttyUSB0 and that DEV1 is always connected do /dev/ttyUSB1. The names can be different, of course, but they must not changed when the devices are off and the turn on again.
Up to now, my devices changed the name of the port where they are connected...
For instance, DEV0, now is connected to: /dev/serial/by-path/pci-0000:00:15.0-usb-0:3:1.0-port0 and DEV1 to /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AI050EYN-if00-port0.
Why does it happen?
Futhremore I cannot associate device ID to a specific USB using the udev rules, since DEV0 and DEV1 can change for other system with the same configuration and I do not know "a-priori" the ID of DEV0 and DEV1...
Summarizing, in a few word I would like that DEV0 and DEV1 are always connected to /dev/ttyUSB0 and /dev/ttyUSB1 respectively whatever they are.
Could you help me to solve my problem?
Thanks in advance.
Eng. Silvano Bertoldo, PhD
- 287 All Categories
- 104 Announcements & News
- 47 Product News - New Product/Product Change Notice/ End-of-life
- 179 Welcome Developers!
- 49 Unboxing & Project Sharing
- 18 Tech Updates
- 377 UP Products
- 6 UP Xtreme i11
- 13 UP Squared 6000
- 38 UP Squared Pro
- 126 UP Xtreme
- 796 UP Squared
- 1.4K UP Board
- 86 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 213 Starter Kits & Peripheral