On Wednesday, 9 January 2019 12:42 Luiz Alberto Saba wrote:
I use Lady Heather software (any time-nut here?) in order to monitor/control a lot of GPSDOs and other timing devices.
Every instance of Lady Heather running uses a USB to serial cable ( the vast majority of GPSDOs uses DB9 connectors), so, sometimes I have 5 cables connected.
The problem:
Every time I reboot the computer the ID of the cables is changed (sometimes even without reboot).
The doubt:
How do I fix this situation?
If you are able to distinguish the tty to USB devices, you can add udev rules to enforce persistent names for them (or create persistent symlinks). I tried mine and I get unicorn:~ # udevadm info -a -n /dev/ttyUSB1 ... ATTRS{idProduct}=="6001" ATTRS{idVendor}=="0403" ... ATTRS{serial}=="FT92IO3D" but I only have one so that I cannot say if the "serial" attribute is guaranteed to be unique among devices with the same vendor and product id (and if it's provided by other tty to USB adapters). Michal Kubeček -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org