On 22/07/12 10:54 PM, David Brush wrote:
> Hello,
>
> I am trying to get GNU Radio up and running, I am am experiencing an
> error that I haven't been able to fix. It seems that uhd cannot find
> my EzTV 668 usb dongle. rtl_test, however, lists it correctly. When I
> try to run uhd_fft, I get a traceback and an error that says "No
> device found for ----> Empty device address." I used the most recent
> version of build-gnuradio to install all of the components, and have
> an up to date Ubuntu 12.04 x86_64 distribution. I have also made sure
> that udev was configured
> per 
> http://files.ettus.com/uhd_docs/manual/html/transport.html#usb-transport-libusb.
> I have attached the outputs I get from lsusb, rtl_test, uhd_fft, and
> uhd_find_devices. Please help!
>
> I can provide additional info as needed.
>
> Thank you!
> -David
>
> $ lsusb
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 003: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0
> multicard reader
> Bus 001 Device 004: ID 05ca:180a Ricoh Co., Ltd 
> Bus 003 Device 007: ID 413c:8160 Dell Computer Corp. Wireless 365
> Bluetooth
> Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub
> (part of BCM2046 Bluetooth)
> Bus 003 Device 003: ID 413c:8161 Dell Computer Corp. Integrated Keyboard
> Bus 003 Device 004: ID 413c:8162 Dell Computer Corp. Integrated
> Touchpad [Synaptics]
> Bus 002 Device 008: ID 0bda:2838 Realtek Semiconductor Corp. 
> $ 
> $ 
> $ 
> $ rtl_test
> Found 1 device(s):
>   0:  ezcap USB 2.0 DVB-T/DAB/FM dongle
>
> Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle
> Found Elonics E4000 tuner
> Supported gain values (18): -1.0 1.5 4.0 6.5 9.0 11.5 14.0 16.5 19.0
> 21.5 24.0 29.0 34.0 42.0 43.0 45.0 47.0 49.0 
> Reading samples in async mode...
> ^CSignal caught, exiting!
>
> User cancel, exiting...
> $ uhd_find_devices
> linux; GNU C++ version 4.6.3; Boost_104601; UHD_003.004.002-181-g25649781
>
> No UHD Devices Found
> $ uhd_fft
> linux; GNU C++ version 4.6.3; Boost_104601; UHD_003.004.002-181-g25649781
>
> Traceback (most recent call last):
>   File "/usr/local/bin/uhd_fft", line 337, in <module>
>     main ()
>   File "/usr/local/bin/uhd_fft", line 333, in main
>     app = stdgui2.stdapp(app_top_block, "UHD FFT", nstatus=1)
>   File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py",
> line 38, in __init__
>     wx.App.__init__ (self, redirect=False)
>   File
> "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
> line 7981, in __init__
>     self._BootstrapApp()
>   File
> "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
> line 7555, in _BootstrapApp
>     return _core_.PyApp__BootstrapApp(*args, **kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py",
> line 42, in OnInit
>     self._max_noutput_items)
>   File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py",
> line 64, in __init__
>     self.panel = stdpanel (self, self, top_block_maker, max_nouts)
>   File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py",
> line 86, in __init__
>     self.top_block = top_block_maker (frame, self, vbox, sys.argv)
>   File "/usr/local/bin/uhd_fft", line 91, in __init__
>     otw_format=options.wire_format, args=options.stream_args))
>   File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/__init__.py",
> line 116, in constructor_interceptor
>     return old_constructor(*args)
>   File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py",
> line 2726, in usrp_source
>     return _uhd_swig.usrp_source(*args)
> RuntimeError: LookupError: KeyError: No devices found for ----->
> Empty Device Address
> $ 
>
> Thanks again!
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>   
UHD devices are those manufactured by Ettus Research (the USRP family),
and have *nothing* to do with
  RTLSDR dongles at all.

build-gnuradio installs both gr-osmosdr, and rtl-sdr components, and I
think they include a simple test app,
 other than rtl_test--osmosdr_source_1rtl.grc  appears to be a simple
test app for gr-osmosdr-type devices,
  including RTLSDR devices.

Now, confusingly enough, the gr-osmosdr *source* object for Gnu Radio
acts a kind of quasi-universal
  abstraction layer for SDR-like hardware, so you can use that source
for RTLSDR, OSMOSDR, FunCube, and
  UHD-type devices.  Until the (very recent) advent of gr-osmosdr, there
wasn't any hardware-independant
  device abstraction for Gnu Radio, although UHD provides a universal
abstraction for USRP devices, there
  was nothing that was cross-manufacturer.  With gr-osmosdr, you can
write an RX flow-graph that doesn't
  really "know" very much about the hardware involved.





-- 
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to