From 1891294cdc0e4d893870549f587be9887cfddde5 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 10 Oct 2012 13:24:19 +0200 Subject: Restructure persistent-serial setups. --- .../rules.d/local-persistent-serial-Dreamplug.rules | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 udev/rules.d/local-persistent-serial-Dreamplug.rules (limited to 'udev/rules.d/local-persistent-serial-Dreamplug.rules') diff --git a/udev/rules.d/local-persistent-serial-Dreamplug.rules b/udev/rules.d/local-persistent-serial-Dreamplug.rules new file mode 100644 index 0000000..92d4a9e --- /dev/null +++ b/udev/rules.d/local-persistent-serial-Dreamplug.rules @@ -0,0 +1,21 @@ +# persistent ttyUSB/ttyACM paths for GlobalScale Dreamplug board, +# direct or via one of a few specific tested hubs. + +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" + +# Belkin Hi-Speed USB 2.0 7-port Mobile Hub (F5U701) +KERNELS=="1-1.2.1", SYMLINK+="tty_usb_a" +KERNELS=="1-1.2.2", SYMLINK+="tty_usb_b" +KERNELS=="1-1.2.3.1", SYMLINK+="tty_usb_c" +KERNELS=="1-1.2.3.2", SYMLINK+="tty_usb_d" +KERNELS=="1-1.2.3.3", SYMLINK+="tty_usb_e" +KERNELS=="1-1.2.3.4", SYMLINK+="tty_usb_f" +KERNELS=="1-1.2.4", SYMLINK+="tty_usb_g" +KERNELS=="1-1.2.*", GOTO="local_persistent_serial_end" + +# direct +KERNELS=="1-1.2", SYMLINK+="tty_usb" + +LABEL="local_persistent_serial_end" -- cgit v1.2.3