# 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"