summaryrefslogtreecommitdiff
path: root/udev/rules.d/local-persistent-serial-D945GCLF2.rules
diff options
context:
space:
mode:
authorroot <root@hydorn.jones.dk>2012-10-10 13:24:19 +0200
committerroot <root@hydorn.jones.dk>2012-10-10 13:24:19 +0200
commit1891294cdc0e4d893870549f587be9887cfddde5 (patch)
treeb39db4e1e1f1c67aa83a3a3a1a9f90693ed5da93 /udev/rules.d/local-persistent-serial-D945GCLF2.rules
parent79a6cf48e15d326c1737133ecdcd2bdc4ea57459 (diff)
Restructure persistent-serial setups.
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"