Comment 21 for bug 107208

Revision history for this message
9H1LO (stanley-9h1lo) wrote :

I currently have 10 USB to serial adaptors all using PL2303 chip

Ubuntu detects them OK and assigns ttyUSBx numbers at it's choice on bootup

This machine is rarely rebooted but I need it to assign fixed tty number per device just incase a reboot/power fail happens and also if a device is unplugged / plugged

I understand this is to be done with udev rules....the thing is I cannot identify between one and the other as iserial are al the same .... here are 2 of them:

root@cs:~# udevadm info --attribute-walk -p /class/tty/ttyUSB0 |grep serial
    SUBSYSTEMS=="usb-serial"
    ATTRS{serial}=="0000:01:00.0"
root@cs:~# udevadm info --attribute-walk -p /class/tty/ttyUSB1 |grep serial
    SUBSYSTEMS=="usb-serial"
    ATTRS{serial}=="0000:01:00.0"

was this issue ever sorted or maybe there is a workaround?