Skip to content

Instantly share code, notes, and snippets.

@brchiu
Created April 26, 2017 02:55
Show Gist options
  • Select an option

  • Save brchiu/db0031018e34241695dbce09cc04c614 to your computer and use it in GitHub Desktop.

Select an option

Save brchiu/db0031018e34241695dbce09cc04c614 to your computer and use it in GitHub Desktop.
Edit /etc/udev/rules.d/51-usbblaster.rules for Altera Jtag on Ubuntu
# USB-Blaster
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001", MODE="0666"
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6002", MODE="0666"
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6003", MODE="0666"
# USB-Blaster II
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6010", MODE="0666"
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6810", MODE="0666"
# For Ubuntu
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", MODE="0666", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", RUN+="/bin/chmod 0666 %c"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment