I have a problem with a Linux/Ubuntu Desktop machine. The machine is used as a part of a larger setup (a autonomous boat) that relies on four USB-Devices. Three of them are plugged into an USB Hub and one is plugged directly into the machine.
Every time we reconnect the Device or restart the computer the devices may get a different device number. That is a big problem for us because to initialize those devices from our software we need their location.
Is there a solution from the side of the operating system to assign certain numbers to them or use a link or something to make sure they are always accessible in the same way from the software?
If there is only a programmatic solution maybe the question can be moved to stackoverflow.com