udev/80-m1n1.rules: Add udev rules

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2022-07-30 13:41:38 +09:00
parent 0c04783a86
commit b8dbb591d7

6
udev/80-m1n1.rules Normal file
View file

@ -0,0 +1,6 @@
SUBSYSTEM=="tty", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="316d", GOTO="m1n1"
GOTO="not_m1n1"
LABEL="m1n1"
SUBSYSTEM=="tty", ATTRS{bInterfaceNumber}=="00", KERNEL=="ttyACM*", SYMLINK+="m1n1"
SUBSYSTEM=="tty", ATTRS{bInterfaceNumber}=="02", KERNEL=="ttyACM*", SYMLINK+="m1n1-sec"
LABEL="not_m1n1"