Change default names for USB virtual serial ports in Linux
<p>I am developing an embedded solution using C and I am working with two USB sensors. If I connect each sensor alone they take this names:</p>

<p><strong>Device 1</strong> (I do not know why it takes 6 names...)</p>

<ul>
<li>/dev/ttyACM0</li>
<li>/dev/ttyACM1</li>
<li>/dev/ttyACM2</li>
<li>/dev/ttyACM3</li>
<li>/dev/ttyACM4</li>
<li>/dev/ttyACM5</li>
<li>/dev/ttyACM6</li>
</ul>

<p><strong>Device 2</strong> </p>

<ul>
<li>/dev/ttyACM0</li>
</ul>

<p>So when I start as an embedded system and both sensors are connected, the fastest one takes /dev/ACM0 but it not always the same. So, when I try to read device 2 I could be reading device 1...</p>

<p>I think that It would be great to change the default names of the sensors. I guess that it is going to be possible but I do not find anything.</p>