File: 90-ponyprog.rules

package info (click to toggle)
ponyprog 3.1.4%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,904 kB
  • sloc: cpp: 35,932; python: 981; sh: 565; xml: 67; makefile: 45; ansic: 38
file content (19 lines) | stat: -rw-r--r-- 818 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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", \
	TAG+="uaccess"

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