Discussion:
[USRP-users] GNU Radio can't detect USRP 1
Kehinde Ogunyanda
2013-06-19 07:56:10 UTC
Permalink
I followed the instruction on this link to install GNU radio package on my
Ubuntu 12.04:
http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall

I have been able to do some online examples with GRC, but sometimes along
the examples the GRC window closes abprutly, and whatever recent changes I
might have made used to varnish, only God knows what the problem is.

Also, I don't seem to find any directory like this on my machine:
gnuradio-examples/python/usrp

In fact, there is nothing like gnuradio-folder any where on the machine.

The main problem that prompted me to poste this question is that, GNU does
not recognise the USRP 1 I connected to the system, and I don't really know
what the problem is. The command provided in the link above, for testing if
the device is recognised or not, did not work for me, since i do not have
the example folder. I tried to manually download the “usrp_benchmark_usb.py”
file, but when I issue the command, “./usrp_benchmark_usb.py” from the
directory where I saved it, I get the following error:

bash: ./usrp_benchmark_usb.py: Permission denied

I have tiredlessly sought for solutions online, but to avail. Kindly help
solve these problems. The following are the details that appear from my
terminal, each time I load the GRC, they might help you in finding speedy
response to my problems.

Warning: Block key "blocks_ctrlport_monitor_performance" not found when
loading category tree.
linux; GNU C++ version 4.6.3; Boost_104601; UHD_003.005.003-release
<<< Welcome to GNU Radio Companion 3.7.0git-127-g1d453860 >>>
Mike Jameson
2013-06-19 09:36:11 UTC
Permalink
Hi,

I'd highly recommend uninstalling all GNU Radio and UHD Ubuntu package
files and running the build-gnuradio script which Marcus Leech has been
working hard to perfect:

http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGR#Using-the-build-gnuradio-script

As of yesterday the above script installs GNU Radio Companion along with
GNU Radio 3.6.5 and UHD_003.005.003 by default and installs flawlessly on
Ubuntu 12.04 LTS x64. You need to paste and run the following line:

wget http://www.sbrac.org/files/build-gnuradio && chmod a+x
./build-gnuradio && ./build-gnuradio -ja -v

For you to then update to GNU Radio 3.7, goto the 'gnuradio/build' folder
and run the following in order:

sudo make uninstall
rm -rf ../../gnuradio/build/*
git checkout master
cmake ../
make -j4 (4 = number of cpu cores you have)
sudo make install
sudo ldconfig

Regarding your 'Permission Denied' error, in Linux you need to do a 'chmod
+x' to make it executable and run it as root with the 'sudo' command if you
do not have USB permissions. Marcus' build-gnuradio script above sets up
these USB permissions for you automatically.

Regards,

Mike

--
Mike Jameson M0MIK BSc MIET
Email: ***@scanoo.com
Web: http://scanoo.com
Post by Kehinde Ogunyanda
I followed the instruction on this link to install GNU radio package on
http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall
I have been able to do some online examples with GRC, but sometimes along
the examples the GRC window closes abprutly, and whatever recent changes I
might have made used to varnish, only God knows what the problem is.
gnuradio-examples/python/usrp
In fact, there is nothing like gnuradio-folder any where on the machine.
The main problem that prompted me to poste this question is that, GNU does
not recognise the USRP 1 I connected to the system, and I don't really know
what the problem is. The command provided in the link above, for testing if
the device is recognised or not, did not work for me, since i do not have
the example folder. I tried to manually download the “
usrp_benchmark_usb.py” file, but when I issue the command, “
./usrp_benchmark_usb.py” from the directory where I saved it, I get the
bash: ./usrp_benchmark_usb.py: Permission denied
I have tiredlessly sought for solutions online, but to avail. Kindly help
solve these problems. The following are the details that appear from my
terminal, each time I load the GRC, they might help you in finding speedy
response to my problems.
Warning: Block key "blocks_ctrlport_monitor_performance" not found when
loading category tree.
linux; GNU C++ version 4.6.3; Boost_104601; UHD_003.005.003-release
<<< Welcome to GNU Radio Companion 3.7.0git-127-g1d453860 >>>
_______________________________________________
USRP-users mailing list
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Loading...