user19370: On Linux, if you have more than one USB TTY device, the USB port name (/dev/ttyUSBx) changes every time one is plugged in, and there's no easy way to know the new name without going and looking through dmesg.  It's trivial to set up a udev rule that creates a custom symlink so that my Arduino's FTDI can always be accessed through e.g., /dev/ttyArduino, and this is the standard procedure for persistent access to USB devices.
However, I can't make the IDE accept anything other than the /dev/ttyUSBx names.  Even directly editing preferences.txt is ignored.
Is there any way to instruct the IDE to use custom port names in order to access the Arduino through a symlink or other persistent name?

user3917: Consider using a device name of form ttyUSBnn, where nn is fairly large.  For example, in /dev you could say
sudo ln -s ttyUSB1 ttyUSB77

Then, ttyUSB77 shows up in the IDE's ports list and can be selected.
(I don't know how to set up that link using the udev system, but imagine it can be done.)

user19013: Think the other way.
If your device has a port name, that is not supported by the IDE, you can create an additional (static) symlink /dev/USBx that you can identify and select in the arduino IDE.
And yes, it is quite easy to make all of your arduinos unique to udev.

19370: <p>On Linux, if you have more than one USB TTY device, the USB port name (<code>/dev/ttyUSBx</code>) changes every time one is plugged in, and there's no easy way to know the new name without going and looking through dmesg.  <a href="http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/" rel="noreferrer">It's trivial to set up a udev rule that creates a custom symlink</a> so that my Arduino's FTDI can always be accessed through e.g., <code>/dev/ttyArduino</code>, and this is the standard procedure for persistent access to USB devices.</p>

<p>However, I can't make the IDE accept anything other than the <code>/dev/ttyUSBx</code> names.  Even directly editing <code>preferences.txt</code> is ignored.</p>

<p>Is there any way to instruct the IDE to use custom port names in order to access the Arduino through a symlink or other persistent name?</p>
 3917: <p>Consider using a device name of form ttyUSBnn, where nn is fairly large.  For example, in /dev you could say</p>

<pre><code>sudo ln -s ttyUSB1 ttyUSB77
</code></pre>

<p>Then, <code>ttyUSB77</code> shows up in the IDE's ports list and can be selected.</p>

<p>(I don't know how to set up that link using the <code>udev</code> system, but imagine it can be done.)</p>
 19013: <p>Think the other way.</p>

<p>If your device has a port name, that is not supported by the IDE, you can create an additional (static) symlink <code>/dev/USBx</code> that you can identify and select in the arduino IDE.</p>

<p>And yes, it is quite easy to <a href="https://arduino.stackexchange.com/questions/3680/in-linux-how-to-identify-multiple-arduinos-connected-over-usb/22323#22323">make all of your arduinos unique</a> to udev.</p>
