Sample Header Ad - 728x90

Binding arduino to static port name

0 votes
1 answer
1223 views
My question is an extension to the one asked here . The Udev rule seem to be applied properly and i can now distingush my arduinos uniquely from an external script by referring to links files created as /dev/arduino and /dev/arduino2. The rules in the /etc/udev/rules.d is SUBSYSTEM=="tty", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0001", ATTRS{serial}=="OMITTED1", SYMLINK+="arduino1" SUBSYSTEM=="tty", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0001", ATTRS{serial}=="OMITTED2", SYMLINK+="arduino2" The issue now is, how can i have those link names display in the arduino IDE. The Arduino IDE still recognises them as /dev/ttyACMx. Assigning random ACMx numbers on each assignment. I would like the arduino IDE show the devices as /dev/arduino1 etc rather than /dev/ttyACMx. Can this also be handled through a udev file or a unix hack. I am on Ubuntu 16.04, if that matters. Thanks.
Asked by sherinkapotein (1 rep)
Jan 26, 2017, 12:05 PM
Last activity: Mar 28, 2018, 04:38 AM