On Mon, Feb 16, 2009 at 4:31 AM, anne kwong
<address@hidden> wrote:
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
address@hidden 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 <module>
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