Hello,
I am a high school student who has been working with gnuradio. I have
been trying to reinstall gnuradio with UHD, but am getting the No
device error. In internet searches, I have found others who have had
the same error, but I have not found the solution to the problem.
I installed per redmine and ettus instructions below (also included
prior dep.)
For UHD:
git clone git://code.ettus.com/ettus/uhd.git
cd uhd/host
mkdir build
cd build
cmake …/
make
make test
sudo make install
for gnuradio
git clone git://gnuradio.org/gnuradio
cd gnuradio
cd build
make
make test
sudo make install
sudo ldconfig
The gnuradio-companion works with dial tone example. However it cannot
find my USRP 1, giving the following error:
linux; GNU C++ version 4.6.1; Boost_104601; UHD_003.004.001-27-g93d4a16f
return _uhd_swig.usrp_source(*args)
RuntimeError: LookupError: KeyError: No devices found for ----->
Empty Device Address
The uhd_find_devices command returned the following:
linux; GNU C++ version 4.6.1; Boost_104601; UHD_003.004.001-27-g93d4a16f
No UHD Devices Found
Finally, when I checked in ~/uhd/host/build/lib/usrp/usrp1, it was
empty. So, I am wondering if there was another step I needed to
perform to be able to use my USRP1 with the UHD.
I really appreciate any help you can give me!
Many thanks,
J.
On 04/29/2012 12:29 PM, Ji Slee wrote:
git clone git://code.ettus.com/ettus/uhd.git
cd uhd/host
mkdir build
cd build
cmake …/
was usrp1 one of the configured components?
If not you need to install libusb1.0-dev
http://files.ettus.com/uhd_docs/manual/html/build.html#libusb
make
make test
sudo make install
Did you do the post install tasks? like installing udev rules?
http://files.ettus.com/uhd_docs/manual/html/transport.html#setup-udev-for-usb-linux
-josh
Dear Mr. Blum,
Belated thanks for your advice. I did install libusb1.0-dev and the
post install tasks, but I still got the same error as before (the
devices not found error ) and the computer did not recognize the
USRP1. I will keep trying though, thanks for your advice!
Many thanks,
J.
Dear Mr. Leech,
Thank you so much for your advice! I did use the build-gnuradio script
on my Mint operating system, and the USRP1 is now being recognized. I
still unable to get sound out of my AM/FM demodulation flowgraphs due
to underrun errors, but I will keep trying to work them out. Thank you
so much, I really appreciate the advice.
Sincerely,
J.
On 04/29/2012 03:29 PM, Ji Slee wrote:
git clone git://code.ettus.com/ettus/uhd.git
cd uhd/host
mkdir build
cd build
cmake …/
make
make test
sudo make install
If you’re on a Fedora, Ubuntu, or Debian Squeeze system, you can use:
http://www.sbrac.org/files/build-gnuradio
Which will take care of fetching/building all the latest UHD and Gnu
Radio software, as well as install the pre-requisites, and take care of
the
post-install tasks.
–
Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium