--- Quote Start ---
Do you have a USB-Blaster plugged into this machine? Is it a real machine or a virtual machine? Virtual machines do not work (at least the latest versions of VMWare and VirtualBox do not).
--- Quote End ---
yes i have the USB cable plugged in to the system and i am not using any virtual machine.
--- Quote Start ---
Did you try any of the tests mentioned in the udev rules comments?
--- Quote End ---
I tried lsusb but it shows this
----------------------------------------------
zohaib@ubuntu:~$ lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 046d:c52f Logitech, Inc. Wireless Mouse M305
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 174f:1107 Syntek
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
----------------------------------------------------------------------------------------------------
--- Quote Start ---
* lsusb should show you the Altera device
* jtagconfig can be used to scan a JTAG chain
--- Quote End ---
it does not show any ALTERA device.
Please guide me.