Discussion and technical support related to USRP, UHD, RFNoC
View all threadsI just did a fresh git checkout and install of UHD as described here:
http://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/wiki
http://www.ettus.com/uhd_docs/manual/html/build.html
Everything appears to go smoothly, but ./uhd_find_devices reports:
linux; GNU C++ version 4.4.4 20100630 (Red Hat 4.4.4-10); Boost_104100;
UHD_20101109.230702.c0dfc2c
No UHD Devices Found
my /etc/udev/rules.d/10-usrp.rules contains:
ACTION=="add", BUS=="usb", SYSFS{idVendor}=="fffe",
SYSFS{idProduct}=="0002", GROUP:="usrp", MODE:="0660"
I can still use my USRP1 via GNURadio as before.
Do I need to flash firmware / fpga? If so, where can I find instructions on
doing so?
Thanks
-Steven
PS: Is it ok to send email to both usrp-users and discuss-gnuradio? I know
you guys are probably trying to increase the SNR, but it seems kind of a
shame to fragment the community into multiple mailing lists...
was the build configured with usrp1 support (what did cmake print)?
-Josh
On 11/11/2010 10:43 AM, Steven Clark wrote:
I just did a fresh git checkout and install of UHD as described here:
http://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/wiki
http://www.ettus.com/uhd_docs/manual/html/build.html
Everything appears to go smoothly, but ./uhd_find_devices reports:
linux; GNU C++ version 4.4.4 20100630 (Red Hat 4.4.4-10); Boost_104100;
UHD_20101109.230702.c0dfc2c
No UHD Devices Found
PS: Is it ok to send email to both usrp-users and discuss-gnuradio? I know
you guys are probably trying to increase the SNR, but it seems kind of a
shame to fragment the community into multiple mailing lists...
USRP users may not necessarily be gnuradio users, and gnuradio list
subscribers may not want to hear about simulink issues. Thats all.
-Josh
On Thu, Nov 11, 2010 at 1:46 PM, Josh Blum josh@joshknows.com wrote:
was the build configured with usrp1 support (what did cmake print)?
-Josh
Hmm, I guess I should have looked at that output more closely.
The relevant output seems to be:
-- Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIR)
-- Has USB support - not found
...
-- Configuring USRP1 support...
-- USRP1 support disabled by configure flag
-- Skipping USRP1 support.
-- Configuring USRP2 support...
-- USRP2 support enabled by configure flag
-- Building USRP2 support.
Where do I find the flag to enable USRP1 support? (if default install
behavior does not support USRP1, this should really be explicitly stated in
install guide...)
and
Why isn't my libusb install being picked up?
sudo yum install libusb ->
Package libusb-0.1.12-23.fc13.x86_64 already installed and latest version
Nothing to do
Thanks
-Steven
-- Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIR)
-- Has USB support - not found
...
-- Configuring USRP1 support...
-- USRP1 support disabled by configure flag
-- Skipping USRP1 support.
-- Configuring USRP2 support...
-- USRP2 support enabled by configure flag
-- Building USRP2 support.
Where do I find the flag to enable USRP1 support? (if default install
behavior does not support USRP1, this should really be explicitly stated in
install guide...)
Probably yes. Although, it will automatically enable if libusb support
is found. You may want to run cmake-gui and check the box, or specify
-DENABLE_USRP1=TRUE
and
Why isn't my libusb install being picked up?
sudo yum install libusb ->
Package libusb-0.1.12-23.fc13.x86_64 already installed and latest version
Nothing to do
did you install the development files for libusb1? the *-dev packages,
same as with gnuradio
-Josh
did you install the development files for libusb1? the *-dev packages, same
as with gnuradio
-Josh
I decided to ignore what yum was saying and explicitly install the version
of libusb linked from http://www.ettus.com/uhd_docs/manual/html/build.html
Still it complained:
[foo@bar build]$ cmake -DCMAKE_INSTALL_PREFIX=/opt/uhd -DENABLE_USRP1=TRUE
../
...
-- checking for module 'libusb-1.0'
-- package 'libusb-1.0' not found
-- Could NOT find LIBUSB (missing: LIBUSB_INCLUDE_DIR)
-- Has USB support - not found
-- Configuring interface address discovery...
-- Interface address discovery supported through getifaddrs.
-- Configuring USRP1 support...
-- USRP1 support enabled by configure flag
CMake Error at lib/usrp/usrp1/CMakeLists.txt:38 (MESSAGE):
USRP1 support enabled without USB support
Call Stack (most recent call first):
lib/usrp/CMakeLists.txt:36 (INCLUDE)
lib/CMakeLists.txt:69 (INCLUDE)
-- Configuring incomplete, errors occurred!
Finally I tried:
cmake -DCMAKE_INSTALL_PREFIX=/opt/uhd -DENABLE_USRP1=TRUE
-DLIBUSB_INCLUDE_DIR=/usr/local/include/libusb-1.0/ ../
and this seemed to make cmake happy.
Now I'm on to:
/opt/uhd/bin/uhd_find_devices
linux; GNU C++ version 4.4.4 20100630 (Red Hat 4.4.4-10); Boost_104100;
UHD_20101109.230702.c0dfc2c
Warning:
Could not locate USRP1 firmware.
Please install the images package.
No UHD Devices Found
After some head-scratching I followed the README in uhd/images, using:
cmake -DCPACK_GENERATOR=RPM ../
make package
sudo rpm -i UHD-images-20101109.230702.c0dfc2c-Linux.rpm
Finally, uhd_find_devices found my usrp1.
Thanks for your help!
-Steven
(10 minutes of adding a few more notes to the install guide could save hours
of answering questions from befuddled users like me in the months to come :)
Still it complained:
[foo@bar build]$ cmake -DCMAKE_INSTALL_PREFIX=/opt/uhd -DENABLE_USRP1=TRUE
../
...
-- checking for module 'libusb-1.0'
-- package 'libusb-1.0' not found
-- Could NOT find LIBUSB (missing: LIBUSB_INCLUDE_DIR)
-- Has USB support - not found
-- Configuring interface address discovery...
-- Interface address discovery supported through getifaddrs.
-- Configuring USRP1 support...
-- USRP1 support enabled by configure flag
CMake Error at lib/usrp/usrp1/CMakeLists.txt:38 (MESSAGE):
USRP1 support enabled without USB support
Call Stack (most recent call first):
lib/usrp/CMakeLists.txt:36 (INCLUDE)
lib/CMakeLists.txt:69 (INCLUDE)
-- Configuring incomplete, errors occurred!
Finally I tried:
cmake -DCMAKE_INSTALL_PREFIX=/opt/uhd -DENABLE_USRP1=TRUE
-DLIBUSB_INCLUDE_DIR=/usr/local/include/libusb-1.0/ ../
Is that were fedora install the libusb1.0 package, or did you build
libusb1 from source?
and this seemed to make cmake happy.
Now I'm on to:
/opt/uhd/bin/uhd_find_devices
linux; GNU C++ version 4.4.4 20100630 (Red Hat 4.4.4-10); Boost_104100;
UHD_20101109.230702.c0dfc2c
Warning:
Could not locate USRP1 firmware.
Please install the images package.
No UHD Devices Found
After some head-scratching I followed the README in uhd/images, using:
cmake -DCPACK_GENERATOR=RPM ../
make package
sudo rpm -i UHD-images-20101109.230702.c0dfc2c-Linux.rpm
Finally, uhd_find_devices found my usrp1.
Thanks for your help!
-Steven
(10 minutes of adding a few more notes to the install guide could save hours
of answering questions from befuddled users like me in the months to come :)
Finally I tried:
cmake -DCMAKE_INSTALL_PREFIX=/opt/uhd -DENABLE_USRP1=TRUE
-DLIBUSB_INCLUDE_DIR=/usr/local/include/libusb-1.0/ ../
Is that were fedora install the libusb1.0 package, or did you build libusb1
from source?
I built it from source. libusb-1.0.8.tar.bz2
See
http://code.ettus.com/redmine/ettus/projects/uhd/wiki#Downloads
http://www.ettus.com/uhd_docs/manual/html/images.html
After some head-scratching I followed the README in uhd/images, using:
cmake -DCPACK_GENERATOR=RPM ../
make package
sudo rpm -i UHD-images-20101109.230702.c0dfc2c-Linux.rpm
Finally, uhd_find_devices found my usrp1.
Thanks for your help!
-Steven
(10 minutes of adding a few more notes to the install guide could save
hours
of answering questions from befuddled users like me in the months to come
:)
Right, I saw those sections, but it wasn't initially clear to me whether the
images/ stuff was "here's some info about the images should you ever get
interested in modifying that stuff" versus "you must do this if you want to
use your USRPs at all". I fail at reading comprehension, I guess :)
-Steven
On Thu, Nov 11, 2010 at 1:43 PM, Steven Clark steven.p.clark@gmail.com wrote:
Thanks
-Steven
PS: Is it ok to send email to both usrp-users and discuss-gnuradio? I know
you guys are probably trying to increase the SNR, but it seems kind of a
shame to fragment the community into multiple mailing lists...
If you are talking about using the USRP with GNU Radio, then I'd
prefer you keep posting to GNU Radio. It will help keep the
information flowing through here, and the questions/answers might be
related or pertinent to GNU Radio and not restricted to USRP space.
Tom