From b8dbb591d7e7396035adce8ee40e335ed9a13810 Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Sat, 30 Jul 2022 13:41:38 +0900 Subject: [PATCH] udev/80-m1n1.rules: Add udev rules Signed-off-by: Hector Martin --- udev/80-m1n1.rules | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 udev/80-m1n1.rules diff --git a/udev/80-m1n1.rules b/udev/80-m1n1.rules new file mode 100644 index 00000000..495551ee --- /dev/null +++ b/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"