Is there a way that I can always have it show up as /dev/ttyUSB0
I think the proper way is to provide a udev rule to identify the
device and assign a fixed name to it.
https://unix.stackexchange.com/questions/66901/how-to-bind-usb-device-under-a-static-name
The other option is to write your software so that it gets notified
when a USB device is installed/removed. You will be told the actual
device name. I needed to do this to detect insertion/removal of a
barcode reader.
The problem isn't really identifying the USB device. It is the fact that
the software I am using only works when the device shows up as
/dev/ttyUSB0 . When it shows up as /dev/ttyUSB1 it doesn't work. For
some reason the motor control software I am using will only work if the
serial port shows up as /dev/ttyUSB0 so I was hoping I could have it
show up as this every time the device is inserted. I will try setting up
a udev rule to do this .
Jim
---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk