# Copy this file to /etc/udev/rules.d/

# SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ACTION=="add", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", MODE="666", SYMLINK+="ZLAC8015D",          GROUP="dialout"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ACTION=="add", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", MODE="666", SYMLINK+="ZLAC8015D",          GROUP="dialout"
SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]*", ACTION=="add", ATTRS{idVendor}=="15d1", ATTRS{idProduct}=="0000", MODE="666", SYMLINK+="sensors/hokuyo_urg", GROUP="dialout"
SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]*", ACTION=="add", ATTRS{idVendor}=="2886", ATTRS{idProduct}=="802f", MODE="666", SYMLINK+="sensors/imu",        GROUP="dialout"



# igvc2022
# SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]*", ACTION=="add", ATTRS{idVendor}=="15d1", ATTRS{idProduct}=="0000", MODE="666", SYMLINK+="sensors/hokuyo_urg", GROUP="dialout"
# SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]*", ACTION=="add", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="6119", MODE="666", SYMLINK+="sensors/icart-mini", GROUP="dialout"
# SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ACTION=="add", ATTRS{product}=="FT232R USB UART", MODE="666", SYMLINK+="sensors/ftdi%n", GROUP="dialout"
# SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]*", ACTION=="add", ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a8", MODE="666", SYMLINK+="sensors/rtkgps", GROUP="dialout"
# SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]*", ACTION=="add", ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a9", MODE="666", SYMLINK+="sensors/gps", GROUP="dialout"
# SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ACTION=="add", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE="666", SYMLINK+="sensors/jg35fd", GROUP="dialout"
# SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ACTION=="add", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", MODE="666", SYMLINK+="sensors/LED", GROUP="dialout"
# SUBSYSTEMS=="usb", KERNEL=="video2", ACTION=="add", ATTRS{idVendor}=="2e1a", ATTRS{idProduct}=="1000", MODE="666", SYMLINK+="sensors/insta360_air", GROUP="dialout"
# SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]*", ACTION=="add", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0043", MODE="666", SYMLINK+="arduino", GROUP="dialout"
# SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]*", ACTION=="add", ATTRS{idVendor}=="2886", ATTRS{idProduct}=="802f", MODE="666", SYMLINK+="sensors/imu", GROUP="dialout"
# ACTION=="add", ATTRS{idVendor}=="05ca", ATTRS{idProduct}=="2711",MODE="666"
