Newbie need help with validating USRP


#1

Hi,

I am trying to validate my USRP installation with usrp_wfm_rcv.py. I am
getting error saying: RuntimeError: can’t open usrp1

I am able to run the benchmark test with USB port, and the LED light is
on.

Does anyone know what is the problem?

Here is the error message

[root@fodora usrp]# ./usrp_wfm_rcv.py -f96.3
usrp_open_interface:usb_claim_interface: failed interface 2
could not claim interface 2: Device or resource busy
usrp_basic_rx: can’t open rx interface
Traceback (most recent call last):
File “./usrp_wfm_rcv.py”, line 289, in
app = stdgui2.stdapp (wfm_rx_block, “USRP WFM RX”)
File
“/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py”,
line 36, in init
wx.App.init (self, redirect=False)
File
“/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py”,
line 7836, in init
self._BootstrapApp()
File
“/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py”,
line 7433, in _BootstrapApp
return core.PyApp__BootstrapApp(*args, **kwargs)
File
“/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py”,
line 39, in OnInit
frame = stdframe (self.top_block_maker, self.title, self._nstatus)
File
“/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py”,
line 60, in init
self.panel = stdpanel (self, self, top_block_maker)
File
“/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py”,
line 81, in init
self.top_block = top_block_maker (frame, self, vbox, sys.argv)
File “./usrp_wfm_rcv.py”, line 79, in init
self.u = usrp.source_c() # usrp is data source
File “/usr/local/lib/python2.5/site-packages/gnuradio/usrp.py”, line
250,
in init
fpga_filename, firmware_filename)
File “/usr/local/lib/python2.5/site-packages/gnuradio/usrp1.py”, line
1232, in source_c
return _usrp1.source_c(*args)
RuntimeError: can’t open usrp1

Thank you very much for all your help.

Pete


#2

Hi,

I was able to bring up the ui for usrp_wfm_rcv.py after restarting USRP.
In the UI, it says “Failed to set initial frequency” and I am getting
the
following warning from the command line.

[root@fodora usrp]# ./usrp_wfm_rcv.py -f96.3
Using RX d’board A: Flex 900 Rx MIMO B

gr_fir_ccf: using SSE
gr_fir_fff: using SSE
audio_alsa_sink[hw:0,0]: unable to support sampling rate 32000
card requested 44100 instead.

** (python:2886): WARNING **: IPP request failed with status 1030

** (python:2886): WARNING **: IPP request failed with status 1030
FYI: No Powermate or Contour Knob found
aUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaU

Does anyone know what is wrong?

Thanks,
Anne


#3

your -f96.3 argument tells gnuradio to tune to 96.3Hz
i think you intended -f96.3M, which gives you 96.3MHz

Dimitris S.
“If you think you’re too small to make a difference, try sleeping with
a mosquito!” - Amnesty International


#4

udadidd wrote:

Hi
By mistake i have pulled out the connection of USRP while the
benchmark_rx.py program was running.

You’re going to need to provide more information. Which connection of
the USRP did you pull out? The USB or power? See if you can use some of
the USRP diagnostic tools like print_dbs or look dmesg to see if the
system is seeing the USRP being plugged back in.

Tom


#5

Hi
By mistake i have pulled out the connection of USRP while the
benchmark_rx.py program was running.
Now i get an Error :
usrp: failed to find usrp[0]
Traceback (most recent call last):
File “benchmark_tx.py”, line 137, in
main()
File “benchmark_tx.py”, line 98, in main
tb = my_top_block(mods[options.modulation], options)
File “benchmark_tx.py”, line 42, in init
self.txpath = transmit_path(modulator, options)
File “/Users/udaya/gnuradio-examples/python/digital/transmit_path.py”,
line 64, in init
self._setup_usrp_sink(options)
File “/Users/udaya/gnuradio-examples/python/digital/transmit_path.py”,
line 111, in _setup_usrp_sink
self.u = usrp_options.create_usrp_sink(options)
File “/Users/udaya/gnuradio-examples/python/digital/usrp_options.py”,
line
99, in create_usrp_sink
fusb_nblocks=options.fusb_nblocks,
File “/Users/udaya/gnuradio-examples/python/digital/generic_usrp.py”,
line
153, in init
except: self._setup_usrp_source()
File “/Users/udaya/gnuradio-examples/python/digital/generic_usrp.py”,
line
176, in _setup_usrp_source
fusb_nblocks=self._fusb_nblocks)
File
“/usr/local/lib/python2.5/site-packages/gnuradio/usrp/usrp_swig.py”,
line 2469, in sink_c
return _usrp_swig.sink_c(*args, **kwargs)
RuntimeError: can’t open usrp
Exception exceptions.AttributeError: “‘gr_hier_block2_sptr’ object has
no
attribute ‘_type’” in <bound method generic_usrp_sink_c.del of
<generic_usrp.generic_usrp_sink_c object at 0x2a32cd0>> ignored

Please help…Thanks
Udaya


View this message in context:
http://www.nabble.com/Newbie-need-help-with-validating-USRP-tp22034089p24724103.html
Sent from the GnuRadio mailing list archive at Nabble.com.


#6

I pulled Back the Power cable from the USRP
First time it gave the errors! But i tried removing the connections and
connecting back again! It worked Then!!

But may i know wat are these print_dbs and dmesg and how do i Use them?

Thanks for your time.

Tom R. wrote:

File “benchmark_tx.py”, line 42, in init
fusb_nblocks=options.fusb_nblocks,
line 2469, in sink_c


Discuss-gnuradio mailing list
removed_email_address@domain.invalid
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


View this message in context:
http://www.nabble.com/Newbie-need-help-with-validating-USRP-tp22034089p24741989.html
Sent from the GnuRadio mailing list archive at Nabble.com.