I have the following udev rule for a USB thermal printer that works with serial through usb:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1c8a", ATTRS{idProduct}=="3001", SYMLINK+="ttyS99", MODE="0660", GROUP="lp"
output of ls -la
:
lrwxrwxrwx 1 root root 7 ago 21 10:50 /dev/ttyS99 -> ttyACM1
but if I power it off and on again, it symlinks to the wrong device:
output of ls -la
after powering off and on again:
lrwxrwxrwx 1 root root 15 ago 22 13:28 /dev/ttyS99 -> bus/usb/001/008
How can I make it always point to ttyACM1 ?