As soon as the Linux Operating System has successfully connected a new USB device, typically 3 representation of this device are created:
- One in
/dev
calttyACM0
orttyACM1
etc - One in
/dev/serial/by-id
- One in
/dev/serial/by-path
All are the same and point to the same USB device. The second is generally recommended as it stays stable.
Also check with the dmesg command to see what is actually happening on OS level