Ask Your Question

Revision history [back]

You can specify a serial device that is independent of which order linux brings it up (which is not the case for /dev/ttyXXX) by using its serial identifier, which can be found in /dev/serial/by-path/ directory.

If you cd to the directory and look at ls -al you can see that the devices point to various mount points `/dev/ttyXXX'.

Not sure it will help in this particular case but it's useful when specifying devices in launch files, for example.

You can specify a serial device that is independent of which order linux brings it up (which is not the case for /dev/ttyXXX) by using its serial identifier, which can be found in /dev/serial/by-path//dev/serial/by-id/ directory.

If you cd to the directory and look at ls -al you can see that the devices point to various mount points `/dev/ttyXXX'.

Not sure it will help in this particular case but it's useful when specifying devices in launch files, for example.