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?
連結已複製
4 回應
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, BenAlternatively 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, BenThere 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