Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

QSerialPort and port naming on Linux (Centos)

$
0
0
Hi, I am just faced to problem of naming usb-serial ports on linux (Centos). I have application with two serial ports (one is usb-serial convertor and the second is rs485-usb) both based on FTDI232RL. Each device has specific productID (same vendorID). Problem is that devices are named dependend on order of plugging devices to the system. I tried to use symbolic names in udev rules as fallows. SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="f608",SYMLINK+="rs485" SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="f601",SYMLINK+="rs232" But QSerialPort doesn’t show me symbolic name. On the other hand I am able to connect via symbolic name in CuteCom, but not in QSerialPort resp. QSerialPortInfo. I’d like to now how to have persisted port names, that will be availalble in QSerialPort. Thanks for each suggestions or advice in advance. David

Viewing all articles
Browse latest Browse all 13965

Trending Articles