I am currently connecting two USB devices on my Raspberry Pi , a Wifi Dongle and a GPS receiver. But even if i swap there positions the GPS data is always available at
Code: Select all
What I mean is,
If i connect GPS Rx to the first USB port , I could read its data from /dev/ttyUSB0
and even if i connects it to the 2nd USB port , I still have to read it from /dev/ttyUSB0.
Why the data is always available at /dev/ttyUSB0 , isn't there anything like /dev/ttyUSB1 for 2nd port ?
Also, If I'd connect self-powered USBhub, would there be /dev/ttyUSB2, /dev/ttyUSB3, /dev/ttyUSB4, etc ?