After installing the gnuradio on Fedora 6, I wanted to run
test_counting.py (or any program in the gnuradio-examples/python/usrp
directory) but I get the following error:
Usrp_open_interface:usb_claim_interface: failed interface 2
Could not claim interface 2: No such file or directory
…
( traceback info )
…
RuntimeError: can’t open usrp1
I’ve added to the PYTHONPATH with
/usr/local/lib/python2.4/site-packages. I plugged in an usb thumbstick
to see if I could use the usb ports and it worked fine. Does anyone have
any guidance?
Thanks!
Randy
Try to run the example as root: sudo python test_counting.py
If the program runs fine, then your user account does not have
permission to access the USRP. Follow this guide:
http://gnuradio.org/trac/wiki/UdevConfig to setup permissions.
-Josh
On Mon, Jan 08, 2007 at 01:41:17PM -0500, Cicale Randy S 2dLt AFRL/VSBXI
wrote:
After installing the gnuradio on Fedora 6, I wanted to run test_counting.py (or any program in the gnuradio-examples/python/usrp directory) but I get the following error:
Usrp_open_interface:usb_claim_interface: failed interface 2
Could not claim interface 2: No such file or directory
This also happens if you’re machine does not support USB 2.0
If you try:
$ /sbin/lsmod | grep ehci
ehci_hcd 31880 0
usbcore 115716 4 usbhid,ehci_hcd,uhci_hcd
Do you see an entry for ehci_hdc? If not, your machine probably
doesn’t support USB 2.0. The USRP requires USB 2.0
Eric