Wbx - usrp_benchmark_usb.py failed at testing 4MB/sec

In order to use WBX, I install git repo on my ubuntu 9.04.
When I do usrp_benchmark_usb.py, it goes well with 2MB test, but failed
at
4MB showing device busy error.
The output is attached below. I tried other daughter boards (RF2400), no
problem. So I guess it is related to the WBX.

Testing 2MB/sec… usb_throughput = 2M
ntotal = 1000000
nright = 999156
runlength = 999156
delta = 844
OK
Testing 4MB/sec… usrp_open_interface:usb_claim_interface: failed
interface
1
could not claim interface 1: Device or resource busy
usrp_basic_tx: can’t open tx interface
Traceback (most recent call last):
File “./usrp_benchmark_usb.py”, line 106, in
main ()
File “./usrp_benchmark_usb.py”, line 96, in main
ok = run_test (rate, verbose)
File “./usrp_benchmark_usb.py”, line 63, in run_test
usrp_tx = usrp.sink_s (0, tx_interp)
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/usrp/usrp_swig.py”,
line 2741, in sink_s
return _usrp_swig.sink_s(*args, **kwargs)
RuntimeError: can’t open usrp

So far, I have tried another two computers with ubuntu 9.10 fresh
installation.
but exactly the same problem.
Is anyone having the same issue on WBX?
Kyle

On 04/27/2010 05:29 PM, Kyle Z. wrote:

So far, I have tried another two computers with ubuntu 9.10 fresh
installation.
but exactly the same problem.
Is anyone having the same issue on WBX?
Kyle

We are looking into this. But why do you need to run that program? If
you really need to, it will have the same results no matter what
daughterboard, so just run it without the WBX.

Matt

Matt E. wrote:

Matt

Thanks Matt. Yes, you are right. I do not need to run the program with
WBX. I was just wondering the cause of that. No worries. This does not
affect the functioning of anything.
Kyle

On Tue, Apr 27, 2010 at 6:34 PM, Kyle Z. [email protected] wrote:

We are looking into this. But why do you need to run that program? If
you really need to, it will have the same results no matter what
daughterboard, so just run it without the WBX.

Matt

Thanks Matt. Yes, you are right. I do not need to run the program with WBX.
I was just wondering the cause of that. No worries. This does not affect the
functioning of anything.

Finally found the usrp_benchmark_usb.py problem with a reference that
was not being cleaned up properly in the WBX usrp1 code. It is now
fixed in the git master, maint and next branches. It will find its
way into a 3.3.x release tarball eventually.

Thanks
Jason

I get the same problem with this one,
using ubuntu 10.10, and a DBSRX, WBX

the single DBSRX works but it fails with the WBX.

So far, I have tried another two computers with ubuntu 9.10 fresh
installation.
but exactly the same problem.
Is anyone having the same issue on WBX?
Kyle

Kyle Z. wrote:


    In order to use WBX, I install git repo on my ubuntu 9.04.
    When I do usrp_benchmark_usb.py, it goes well with 2MB test, but 

failed at
4MB showing device busy error.
The output is attached below. I tried other daughter boards
(RF2400), no
problem. So I guess it is related to the WBX.

    Testing 2MB/sec... usb_throughput = 2M
    ntotal    = 1000000
    nright    = 999156
    runlength = 999156
    delta     = 844
    OK
    Testing 4MB/sec... usrp_open_interface:usb_claim_interface: 

failed interface
1
could not claim interface 1: Device or resource busy
usrp_basic_tx: can’t open tx interface
Traceback (most recent call last):
File “./usrp_benchmark_usb.py”, line 106, in
main ()
File “./usrp_benchmark_usb.py”, line 96, in main
ok = run_test (rate, verbose)
File “./usrp_benchmark_usb.py”, line 63, in run_test
usrp_tx = usrp.sink_s (0, tx_interp)
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/usrp/usrp_swig.py”,
line 2741, in sink_s
return _usrp_swig.sink_s(*args, **kwargs)
RuntimeError: can’t open usrp

On 11/01/2011 5:20 PM, Howard Wong wrote:

    In order to use WBX, I install git repo on my ubuntu 9.04.
    delta     = 844
       File "./usrp_benchmark_usb.py", line 63, in run_test
         usrp_tx = usrp.sink_s (0, tx_interp)
       File 

“/usr/local/lib/python2.6/dist-packages/gnuradio/usrp/usrp_swig.py”,

    line 2741, in sink_s
         return _usrp_swig.sink_s(*args, **kwargs)
    RuntimeError: can't open usrp

It is a bug in the usrp_benchmark_usb.py script. It does not affect the
real use of the wbx board. No harm at all.