Hi, I'm having a hard time trying to figure out how Linux assigns ports for each USB device connected to the computer.
For serial devices, it's pretty straight forward on my machine:
There's two serial ports,
-the top one is assigned to /dev/ttyS0 and the
-bottom one is assigned to /dev/ttyS1.
Now the trouble is with USB devices. I noticed that there were several ttyUSB* (ttyUSB0, ttyUSB1, ttyUSB2....) in the /dev/ folder as well. How do I know which port is which number?, since USB ports are scattered all over the computer with no numbers.
Thanks in advance.
For serial devices, it's pretty straight forward on my machine:
There's two serial ports,
-the top one is assigned to /dev/ttyS0 and the
-bottom one is assigned to /dev/ttyS1.
Now the trouble is with USB devices. I noticed that there were several ttyUSB* (ttyUSB0, ttyUSB1, ttyUSB2....) in the /dev/ folder as well. How do I know which port is which number?, since USB ports are scattered all over the computer with no numbers.
Thanks in advance.