discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] usrper fails in usb_claim_interface


From: Larry Doolittle
Subject: [Discuss-gnuradio] usrper fails in usb_claim_interface
Date: Tue, 5 Apr 2005 12:03:00 -0700
User-agent: Mutt/1.5.8i

Hi -

I have an Avnet Virtex 4 evaluation board, intended for
projects similar in concept to GNU Radio.  It uses the
same CY7C68013 chip as USRP.

I used USRP as a software reference design, and started
splicing in some code of my own.  I think that part is
in good shape, after coming up to speed on SDCC etc.

When I go to download my .ihx file, usrper says:

# usrper -x load_firmware ${FOO}/usrp_main.ihx
lt-usrper: found unconfigured FX2; needs firmware.
usrp_open_interface:usb_claim_interface: failed interface 0
could not claim interface 0: Device or resource busy
lt-usrper: failed to open_cmd_interface
# 

I am running this as root, to avoid possible permissions
problems.  The Linux kernel is 2.6.10-9-amd64-k8, base
distribution is debian sid.

The curious thing is that both fxload and fx2_programmer
seem to work; with fxload, I have even confirmed (by watching
I/O pins with a scope) that my .ihx file loads and runs.

strace shows a non-surprising:

open("/proc/bus/usb/005/005", O_RDWR)   = 3
ioctl(3, USBDEVFS_SETCONFIGURATION, 0x7fbffffb2c) = 0
ioctl(3, USBDEVFS_CLAIMINTERFACE, 0x7fbffffb2c) = -1 EBUSY (Device or resource 
busy)
write(2, 
"usrp_open_interface:usb_claim_in"...,60usrp_open_interface:usb_claim_interface:
 failed interface 0
) = 60

I found http://comsec.com/wiki?UsrpInstall, where this message
is listed, and it says to use USB 2.0 instead of USB 1.1.
If I read my kernel logs correctly, I _do_ have USB 2.0 active:

2005-04-05 11:20:16.200324500 <6>usb 5-1: new high speed USB device using 
ehci_hcd and address 6
2005-04-05 11:20:16.264596500 <6>usbtest 5-1:1.0: FX2 device
2005-04-05 11:20:16.264640500 <6>usbtest 5-1:1.0: high speed {control bulk-in 
bulk-out} tests (+alt)
2005-04-05 11:20:45.881313500 <4>usb 5-1: usbfs: interface 0 claimed while 
'lt-usrper' sets config #1
2005-04-05 11:35:07.626327500 <4>usb 5-1: usbfs: interface 0 claimed while 
'lt-usrper' sets config #1

Anybody have a clue they can share with me?

    - Larry

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]