summaryrefslogtreecommitdiff
path: root/udev/rules.d/local-persistent-serial-D945GCLF2.rules
diff options
context:
space:
mode:
Diffstat (limited to 'udev/rules.d/local-persistent-serial-D945GCLF2.rules')
-rw-r--r--udev/rules.d/local-persistent-serial-D945GCLF2.rules13
1 files changed, 13 insertions, 0 deletions
diff --git a/udev/rules.d/local-persistent-serial-D945GCLF2.rules b/udev/rules.d/local-persistent-serial-D945GCLF2.rules
new file mode 100644
index 0000000..de9cfbd
--- /dev/null
+++ b/udev/rules.d/local-persistent-serial-D945GCLF2.rules
@@ -0,0 +1,13 @@
+# persistent ttyUSB/ttyACM paths for Intel D945GCLF2 board.
+
+ACTION=="remove", GOTO="local_persistent_serial_end"
+SUBSYSTEM!="tty", GOTO="local_persistent_serial_end"
+KERNEL!="ttyUSB[0-9]*|ttyACM[0-9]*", GOTO="local_persistent_serial_end"
+
+# direct
+KERNELS=="2-1", SYMLINK+="tty_usb_back_nw"
+KERNELS=="2-2", SYMLINK+="tty_usb_back_sw"
+KERNELS=="3-1", SYMLINK+="tty_usb_back_se"
+KERNELS=="3-2", SYMLINK+="tty_usb_back_ne"
+
+LABEL="local_persistent_serial_end"