Add udev rule to create /dev/serprog0, 1, 2, ...

Just copy it into /etc/udev/rules.d/
This commit is contained in:
Riku Viitanen 2023-09-05 19:53:33 +03:00
parent 36bc681dc2
commit f9be0c789c
1 changed files with 6 additions and 0 deletions

6
99-serprog.rules Normal file
View File

@ -0,0 +1,6 @@
# udev rule that creates symlinks like /dev/serprog0
#
# only matches standard usb cdc-acm devices (/dev/ttyACM*) since non-standard
# (ftdi etc) uart converters will probably have a generic descriptor anyway
DRIVERS=="cdc_acm", ATTRS{interface}=="serprog", SYMLINK+="serprog%n"