diff options
Diffstat (limited to 'udev/rules.d/local-persistent-serial-Dreamplug.rules')
-rw-r--r-- | udev/rules.d/local-persistent-serial-Dreamplug.rules | 21 |
1 files changed, 21 insertions, 0 deletions
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" |