USB Problems on linux

If it helps anyone..

I have a Velleman VMBRSUSB USB serial adapter for my Velbus network.

Although the tty port is assigned the same every time, I thought I’d see if my Ubuntu 16 LTS machine automatically created a symlink for it.

I found this …

/dev/serial/by-id/usb-Velleman_Projects_VMB1USB_Velbus_USB_interface-if00

an ls -l command shows that it is a symlink.

   root@{device}:/dev/serial/by-id#  ls -l
    total 0
    lrwxrwxrwx 1 root root 13 Oct  9 17:45 usb-Velleman_Projects_VMB1USB_Velbus_USB_interface-if00 -> ../../ttyACM0

I haven’t tried running Velserv with this symlink, but I don’t see any reason why it wouldn’t work.

Curiously, there is a by-path folder too, which might be useful

cd /dev/serial/by-path

I see only this file

root@{device}:/dev/serial/by-path# ls -l
total 0
lrwxrwxrwx 1 root root 13 Oct  9 17:45 platform-12120000.usb-usb-0:1:1.0 -> ../../ttyACM0

Update

I am now running VelServ using the symlink and it’s working perfectly

./velserv - d /dev/serial/by-id/Velleman_Projects_VMB1USB_Velbus_USB_interface-if00 - p 6000

1 Like