Usb_control_msg error

Hi,

I have been trying to test my USRP with usrp_benchmark_usb.py for a
couple
of days but there is a problem that I still couldn’t solve. Each time I
run
the program I get;

Testing 2MB/sec… usb_control_msg failed: error sending control
message:
Connection timed out
usb_control_msg failed: error sending control message: Connection timed
out
usb_control_msg failed: error sending control message: Connection timed
out
usb_control_msg failed: error sending control message: Connection timed
out
usb_control_msg failed: error sending control message: Connection timed
out
usb_control_msg failed: error sending control message: Connection timed
out
usb_control_msg failed: error sending control message: Connection timed
out
usb_control_msg failed: error sending control message: Connection timed
out
usb_control_msg failed: error sending control message: Connection timed
out
usrp: failed to load fpga bitstream /opt/gnuradio/share/usrp/rev4
/std_2rxhb_2tx.rbf
Traceback (most recent call last):
File “./usrp_benchmark_usb.py”, line 106, in ?
main ( )
File “./usro_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 “/opt/gnuradio/lib/python2.4/site-packages/gnuradio/usrp.py”,
line 230, in init
fpga_filename, firmware_filename)
File
“/opt/gnuradio/lib/python2.4/site-packages/gnuradio/usrp1.py”,
line 940, in sink_s
return _usrp1.sink_s(*args)
RuntimeError: can’t open usrp1

I have high speed usb connection and one other thing to note is that
after I
run the program the green LED that blinks with 2Hz stops blinking and
remains ON. The TVRX and RFX2400 daughterboards are also mounted. I
don’t
know whether any kind of setting for the daughterboards or motherboards
are
missing or wrong to give such kind of usb_control_msg error. Does
anybody
have any idea?

On Thu, Mar 06, 2008 at 01:01:18PM +0200, Ahmet Hasim G. wrote:

usb_control_msg failed: error sending control message: Connection timed out
File “./usro_benchmark_usb.py”, line 96, in main

I have high speed usb connection and one other thing to note is that after I
run the program the green LED that blinks with 2Hz stops blinking and
remains ON. The TVRX and RFX2400 daughterboards are also mounted. I don’t
know whether any kind of setting for the daughterboards or motherboards are
missing or wrong to give such kind of usb_control_msg error. Does anybody
have any idea?

Sorry, no clue. You’re running under windows, right?
Bad USB cable?

Have you considered one of the free OS alternatives?
It’s where virtually all of the development takes place.

Eric

On Thu, Mar 6, 2008 at 6:48 PM, Eric B. [email protected] wrote:

Sorry, no clue. You’re running under windows, right?
Bad USB cable?

Have you considered one of the free OS alternatives?
It’s where virtually all of the development takes place.

Eric

No actually I am using a Linux distribution CentOS5 which is the only
available OS in our universities computers. I don’t know whether that is
problematic or not but I don’t have much options with that computer of
university. I don’t know whether the USB cable is bad or not but since
we
have received the USRP a couple of weeks ago I don’t think that there is
any
kind of problem with that. Of course manufacturing errors can stil
occur,
but I rather doubt of something else. Obviously when I run the same
program
without connecting the cable then it gives the error “USRP not found”.
Sometimes the blinking LED stops blinking and remains OFF and sometimes
it
stops blinking and remains ON. Therefore I doubt that a message is sent
to
USRP but then nothing is received so a timeout occurs. Obviosly then I
still
don’t know why it is so?

Hi, Gokceoglu.
I think I am in the troble that you were in.
root@localhost usrp]# python usrp_spectrum_sense.py 2.41G 2.42
G
usb_control_msg failed: error sending control message: Connection timed
out
usb_control_msg failed: error sending control message: Connection timed
out
usb_control_msg failed: error sending control message: Connection timed
out
usb_control_msg failed: error sending control message: Connection timed
out
usb_control_msg failed: error sending control message: Connection timed
out
usb_control_msg failed: error sending control message: Connection timed
out
usb_control_msg failed: error sending control message: Connection timed
out
usb_control_msg failed: error sending control message: Connection timed
out
usb_control_msg failed: error sending control message: Connection timed
out
usrp: failed to load fpga bitstream
/usr/share/usrp/rev4/std_2rxhb_2tx.rbf.
Traceback (most recent call last):
File “usrp_spectrum_sense.py”, line 255, in
tb = my_top_block()
File “usrp_spectrum_sense.py”, line 146, in init
fusb_nblocks=options.fusb_nblocks)
File “/usr/lib/python2.5/site-packages/gnuradio/usrp.py”, line 251, in
init
fpga_filename, firmware_filename)
File “/usr/lib/python2.5/site-packages/gnuradio/usrp1.py”, line 1232, in
source_c
return _usrp1.source_c(*args)
RuntimeError: can’t open usrp1

I am using Fedora Core 8.And I am testing usrp on 3 computers.One of our
computers is already OK.Then I met with this problem.I don’t know how to
deal with it.

CHEN