#CP2015
#==============================
# For one device
#==============================
#KERNEL=="ttyUSB[0-9]*", SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ENV{ID_USB_INTERFACE_NUM}=="00", SYMLINK+="antzerCAN0", MODE:="0666"
#KERNEL=="ttyUSB[0-9]*", SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ENV{ID_USB_INTERFACE_NUM}=="01", SYMLINK+="antzerNMEA0", MODE:="0666"
#==============================
# For two devices
#==============================
KERNEL=="ttyUSB[0-9]*", SUBSYSTEM=="tty", KERNELS=="1-1", ATTRS{idVendor}=="10c4", ENV{ID_USB_INTERFACE_NUM}=="00", SYMLINK+="antzerCAN0", MODE:="0666"
KERNEL=="ttyUSB[0-9]*", SUBSYSTEM=="tty", KERNELS=="1-1", ATTRS{idVendor}=="10c4", ENV{ID_USB_INTERFACE_NUM}=="01", SYMLINK+="antzerNMEA0", MODE:="0666"
#
KERNEL=="ttyUSB[0-9]*", SUBSYSTEM=="tty", KERNELS=="1-2", ATTRS{idVendor}=="10c4", ENV{ID_USB_INTERFACE_NUM}=="00", SYMLINK+="antzerCAN1", MODE:="0666"
KERNEL=="ttyUSB[0-9]*", SUBSYSTEM=="tty", KERNELS=="1-2", ATTRS{idVendor}=="10c4", ENV{ID_USB_INTERFACE_NUM}=="01", SYMLINK+="antzerNMEA1", MODE:="0666"
