m1n1/udev/80-m1n1.rules
Hector Martin b8dbb591d7 udev/80-m1n1.rules: Add udev rules
Signed-off-by: Hector Martin <marcan@marcan.st>
2022-07-30 13:41:38 +09:00

6 lines
299 B
Text

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"