Well, if I had a hub with more ports, I would have more of these, as I have more systems to interface with the serial console....
Anyway it seems that the dev assignment changes. They are /dev/ttyUSB[0-3] But at different times they are a different number which makes it hard to consistantly connect to the desired system.
Is there someway to identify the units and assign them permenant device names. Much like is done with ethernet?
I found out about the lsusb command.
It is reporting that they all have the same ID:
Bus 001 Device 034: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Br idge / myAVR mySmartUSB light Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x10c4 Cygnal Integrated Products, Inc. idProduct 0xea60 CP210x UART Bridge / myAVR mySmartUSB light
Though each has a different device number, but that is probably assigned by the system as they attach.
On 08/22/2014 03:46 PM, Robert Moskowitz wrote:
Well, if I had a hub with more ports, I would have more of these, as I have more systems to interface with the serial console....
Anyway it seems that the dev assignment changes. They are /dev/ttyUSB[0-3] But at different times they are a different number which makes it hard to consistantly connect to the desired system.
Is there someway to identify the units and assign them permenant device names. Much like is done with ethernet?
On 08/22/2014 05:06 PM, Joe Zeff wrote:
On 08/22/2014 02:00 PM, Robert Moskowitz wrote:
I found out about the lsusb command.
It is reporting that they all have the same ID:
Of course they do. They all have the same characteristics so there's nothing to tell them apart until you attach something to them.
They are by the same company and I bought a lot of 5, so they are the same. But no burnt in USB device number. Nothing like RFID for USB devices. Sigh.
Thus I need to bring up screen and get the host to respond to figure out which host is which ttyusb.
Robert Moskowitz wrote:
On 08/22/2014 05:06 PM, Joe Zeff wrote:
On 08/22/2014 02:00 PM, Robert Moskowitz wrote:
I found out about the lsusb command.
It is reporting that they all have the same ID:
Of course they do. They all have the same characteristics so there's nothing to tell them apart until you attach something to them.
They are by the same company and I bought a lot of 5, so they are the same. But no burnt in USB device number. Nothing like RFID for USB devices. Sigh.
Thus I need to bring up screen and get the host to respond to figure out which host is which ttyusb.
That sounds wrong. I'm not saying I'm sure it's wrong, but I working on a system which was using a setup like that for status displays. They found four extra video screens really confusing to set up, and had some serial terminals around to use. From memory, they did a rule in /etc/udev/rules.d/70-persistent-{something}.rules and that always gave the right names to the same devices.
I saw this in action, but I didn't set it up, I'm still looking for an easy to understand doc on multiple monitor setup, because I do it at most once a year when I get paid to relearn it. ;-)