Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17252 Discussions

How to configure USB-Blaster under the latest Linux kernel?

Altera_Forum
Honored Contributor II
3,154 Views

Greetings! I'm using Linux kernel 2.6.35-24 (Ubuntu 10.10) and I'd like to configure USB-Blaster under it. As the latest Linux kernels don't have usbfs support the configuration example for udev from http://www.altera.com/download/drivers/dri-usb_b-lnx.html doesn't work. Does anyone have any suggestions how to set it up?

0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
1,962 Views

Try this: 

 

==== Cut here ==== 

ACTION!="add", GOTO="altera_rules_end" 

SUBSYSTEM!="usb_endpoint", GOTO="altera_rules_end" 

 

ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6001", MODE="0660", OWNER="root", GROUP="usb" 

ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6002", MODE="0660", OWNER="root", GROUP="usb" 

ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6003", MODE="0660", OWNER="root", GROUP="usb" 

 

LABEL="altera_rules_end" 

==== Cut here ==== 

 

Not tested without usbfs, but at least it doesn't rely on it. 

 

Bent regards, 

 

 

Ben
0 Kudos
Altera_Forum
Honored Contributor II
1,962 Views

Unfortunately that didn't work. I'm using v10.1 but if it still uses usbfs then the only right solution would be to have Altera fix it in the next service pack.

0 Kudos
Altera_Forum
Honored Contributor II
1,962 Views

Alternatively you could recompile your kernel with usbfs enabled. It's not that hard but I have never tried it with Ubuntu. 

 

I agree that Altera should move away from usbfs. I'll see if I can move things a bit. 

 

Best regards, 

 

 

Ben
0 Kudos
Altera_Forum
Honored Contributor II
1,962 Views

There are other threads on this topic, along with a solution to the usbfs issue (hacking of the jtag/jtagd executables). 

 

I am successfully using these hacks on Ubuntu 10.04.1 LTS. Just do some forum hunting and you'll find the hacks. In my experience the best Altera Forum search is the Altera Google-based site(s) search. 

 

Regards, 

 

-- slacker
0 Kudos
Reply