I have a couple of USB radios (one ZigBee, one Z-wave) that are currently located at /dev/ttyACM0
and /dev/ttyACM1
, respectively.
When I reboot, they are randomly assigned, rendering my home automation systems non-functional (until I manually change the designations in the config files).
I've set up a few USB storage in /etc/fstab
using their UUID, is there a way to do something similar for the USB radios? From a bit of googling, and looking through this forum, I found their unique identifier (ls -la /dev/serial/by-id/
), but I'm not sure what to do with it.
I'm using Ubuntu Server 18.04 LTS.
/dev/serial/by-id/long_id
way), it seemed simplest, given my setup. I just had to add that in my docker-compose, and in one "master-file" that is references by all other files needing that info. @mosvy, if you make it an answer, I'll accept it, it might be easier for other people googling through this page?