10 ms·
This can be solved in a udev rule [1]. For example, this is a rule I use to always bind my P1 (smart energy meter) at the same port: KERNEL=="ttyUSB[0-9]*",
by edejong 8y ago
This can be solved in a udev rule [1]. For example, this is a rule I use to always bind my P1 (smart energy meter) at the same port:
KERNEL=="ttyUSB[0-9]*", ATTRS{interface}=="P1 Converter Cable", NAME="%k", SYMLINK="USBP1Cable", GROUP="tty", MODE="0660"
[1] /etc/udev/rules.d/50-ttypermissions.rules
- z2 8y agoThank you! I'm going to take another look and try to get this set up. Looks like udev and device paths will do it: https://stackoverflow.com/questions/43361613/how-can-i-identify-multiple-usb-sound-cards https://stackoverflow.com/questions/43361613/how-can-i-ident...