# udev rule that sets permissions for PonyProg adapters in Linux.
# Put this file in /etc/udev/rules.d and reload udev rules (sudo udevadm control --reload) before to attach the adapter

# CH341A in UART mode
#SUBSYSTEM=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="5523", MODE="0666", GROUP="plugdev"

# CH340G in UART mode
#SUBSYSTEM=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", MODE="0666", GROUP="plugdev"

# CH341A in I2C, SPI mode
#SUBSYSTEM=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="5512", MODE="0666", GROUP="plugdev"

# PonyProgFT
SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6e38", MODE="0666", GROUP="plugdev"

# EGGLINK V3
SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="69e0", MODE="0666", GROUP="plugdev"
