nixos-config/externals/rules/m1n1.rules

8 lines
300 B
Plaintext
Raw Normal View History

2022-10-29 00:53:29 +00:00
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"