summaryrefslogtreecommitdiff
path: root/tools/udev
diff options
context:
space:
mode:
authormagh <magh@maghmogh.com>2023-03-06 18:44:55 -0600
committermagh <magh@maghmogh.com>2023-03-06 18:44:55 -0600
commite80d9d8871b325a04b18f90a9ea4bb7fd148fb25 (patch)
tree79dbdb8506b7ff1e92549188d1b94cfc0b3503ae /tools/udev
add m1n1HEADmaster
Diffstat (limited to 'tools/udev')
-rw-r--r--tools/udev/80-m1n1.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/udev/80-m1n1.rules b/tools/udev/80-m1n1.rules
new file mode 100644
index 0000000..495551e
--- /dev/null
+++ b/tools/udev/80-m1n1.rules
@@ -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"