I like my Ubuntu USB serial ports to stick to the same link for JMRI

There is nothing in the


folder containing anything related to ttyUSBx, so I created


containing simply:

SUBSYSTEMS=="usb-serial", KERNELS=="ttyUSB?", DRIVERS=="pl2303", SYMLINK+="ttyUSBDCC"
SUBSYSTEMS=="usb-serial", KERNELS=="ttyUSB?", DRIVERS=="ftdi_sio", SYMLINK+="ttyUSBCAN"

and now in JMRI I only need to use




instead of the /dev/ttyUSB0 and /dev/ttyUSB1 changing around on every prime reboot.

I used:

sudo udevadm info -a -p $(sudo udevadm info -q path -n /dev/ttyUSB0)   # and USB1

to get some information for the rules to use.


~ by nambabwe on 2015/01/01.

%d bloggers like this: