Altera USB Blaster udev rules

Just an aide-mémoire for how I got my Altera USB Blaster to work as a non-root user on CentOS Linux for use with with Quartus. Create /etc/udev/rules.d/51-usbblaster.rules with the following:

# Intel FPGA Download Cable
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6002", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6003", MODE="0666"

# Intel FPGA Download Cable II
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6010", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6810", MODE="0666"

Run the following to reload the rules:

# udevadm control --reload

Find where the device is:

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 09fb:6001 Altera Blaster
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Confirm the device node now has the correct mode:

# ls -l /dev/bus/usb/002/002 
crw-rw-rw-. 1 root root 189, 129 Oct 14 11:56 /dev/bus/usb/002/002

Tags: , , , ,

One Response to “Altera USB Blaster udev rules”

  1. You must have system administration (root) privileges to add udev rules to correctly configure the access rights. file. Note that the 92 is important for e.g. Debian Wheezy as there is a default rule for “usbfs-like” devices

Leave a Reply