“Not enough permissions” or “denial of access” or anything related to lack of permissions on * nix usually means that you must run the command as root (or as another user with permissions, but root has all of them) .
So run jtagconfig as root :
$ sudo jtagconfig
Alternatively, as root, put this in the new file /etc/udev/rules.d/51-altera-usb-blaster.rules :
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" SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6010", MODE="0666" SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6810", MODE="0666"
and then run:
$ sudo udevadm control --reload
This should change the resolution of your USB-Blaster Download Cable device so that any user can access it (if that's what you want), so you should be able to release jtagconfig without sudo . These five idProduct are all well-known USB-Blaster Download Cable USB product identifiers (for Altera vendor identifier, 0x09fb ).
I wrote a fairly complete Arch Linux wiki page about Altera Linux software if you want more information.
source share