discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] How to get PlutoSDR Sink and Source into Gnuradio


From: Ed Troy
Subject: Re: [Discuss-gnuradio] How to get PlutoSDR Sink and Source into Gnuradio in Linux Ubuntu 17.04
Date: Tue, 21 Nov 2017 17:44:46 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

I am coming to the conclusion that gnuradio with pluto is simply not compatible with Ubuntu 17.04. I see that 17.1 is out. Perhaps I will try that. Otherwise I will have to try going back to an earlier version.

On 11/21/2017 4:52 PM, Brashendeavours wrote:
The gr-recipes folder is where you should find it! :)

Sent from my iPhone

On Nov 21, 2017, at 4:40 PM, Ed Troy <address@hidden> wrote:

I did find a gr-iio.lwr file in home/.pybombs/recipes/gr-recipes/ along with many, many other *.lwr files in the notebook

On 11/21/2017 3:44 PM, Brashendeavours wrote:
But it can’t fetch the gr-iio.. 

In the VM
Does the .lwr recipe exist for gr-iio?
Did you remember to run the setup_env.sh?

I’m not sure what to say at this point.
Start from absolute scratch?

I can delete and install gnuradio, and gr-iio on my Ubuntu 16.10 Desktop and VM, using PyBombs. Pluto gets installed.


Sent from my iPhone

On Nov 21, 2017, at 3:32 PM, Ed Troy <address@hidden> wrote:

No, the VM has connectivity. I opened Firefox in Ubuntu VM and it works fine.


On 11/21/2017 3:23 PM, Brashendeavours wrote:
I was referring to the VM. 
The notebook might have great connectivity. But if it’s not passed through to the VM, it would result in the “unable to fetch error” you reported.


Sent from my iPhone

On Nov 21, 2017, at 3:02 PM, Ed Troy <address@hidden> wrote:

What could cause that? I just confirmed that the notebook has internet connectivity.

On 11/21/2017 2:41 PM, Brashendeavours wrote:
It looks like that error occurred because your PyBombs doesn’t a connection to download gr-iio?  “Unable to fetch”



On Nov 21, 2017, at 2:36 PM, Ed Troy <address@hidden> wrote:

I tried this on another computer running Ubuntu 17.04 within VMWare that gives me the same problem. In this case, I did not need sudo and got slightly different results, but still no luck.
PyBOMBS.install_manager - INFO - No packages to install.
address@hidden:~/prefix/default$ source setup_env.sh
address@hidden:~/prefix/default$ pybombs remove gr-iio
PyBOMBS - INFO - PyBOMBS Version 2.3.2
PyBOMBS.remove - INFO - Removing package gr-iio.
Uninstalling: (100%) [========================================================]
address@hidden:~/prefix/default$ yes | pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git
PyBOMBS - INFO - PyBOMBS Version 2.3.2
PyBOMBS.recipes - WARNING - Cache dir /home/edtroy/.pybombs/recipes/gr-recipes for remote recipe location gr-recipes already exists! Deleting.
Cloning:     (100%) [=========================================================]
address@hidden:~/prefix/default$ sed -i 's/gitrev.* /gitbranch: master/' ~/.pybombs/recipes/gr-recipes/gr-iio.lwr
address@hidden:~/prefix/default$ pybombs install gr-iio
PyBOMBS - INFO - PyBOMBS Version 2.3.2
PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages:
Install tree:
|
\- gr-iio
PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source packages to prefix:
PyBOMBS.install_manager - INFO - Installing package: gr-iio
Cloning:     (100%) [=========================================================]
PyBOMBS.Packager.source - ERROR - Problem occurred while building package gr-iio:
Unable to fetch recipe gr-iio
PyBOMBS.install_manager - ERROR - Error installing package gr-iio. Aborting.
address@hidden:~/prefix/default$




On 11/21/2017 1:46 PM, Brashendeavours wrote:
Lets blow away the gr-iio you have in there and start from scratch.

Try:
$ cd ~/prefix/default
$ source setup_env.sh
$ pybombs remove gr-iio
$ yes | pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git
$ sed -i 's/gitrev.*/gitbranch: master/' ~/.pybombs/recipes/gr-recipes/gr-iio.lwr
$ pybombs install gr-iio

Please try these instructions and if any give you an error, post that.

gnuradio-companion gives me:
<mime-attachment.png>


Blake



On Tue, Nov 21, 2017 at 1:18 PM, Ed Troy <address@hidden> wrote:
My setup is under ~/prefix/default

Actually, I had tried that earlier and it did not work. When I do it, after pybombs install gr-iio, I get
PyBOMBS - INFO - PyBOMBS Version 2.3.2
ByBOMB.install_manager - INFO - Phase 1: Creating install tree and installing binary packages:
PyBOMBS.install_manager - INFO - No packages to install.

After starting gnuradio-companion, if I search for pluto, it does not find anything

Something is wrong, but I don't know what.
Regards,
Ed




On 11/21/2017 12:51 PM, Brashendeavours wrote:
Ed,

You installed using PyBombs? Perfect, that’s what the instructions call for! :)

When using PyBombs and installing new modules, you want to ensure you are under the proper prefix.  This is usually ~/gnuradio/default or ~/prefex/default (as per https://www.gnuradio.org/blog/pybombs-the-what-the-how-and-the-why/)

Additionally, make sure to run the script that ensures both PyBombs and gnuradio components are installed in the correct locations.
$ cd ~/prefix/default  (or ~/gnuradio/default)
$ source ./setup_env.sh

So get a grip on this, then run:
sed -i 's/gitrev.*/gitbranch: master/' ~/.pybombs/recipes/gr-recipes/gr-iio.lwr
$ pybombs install gr-iio

Let me know if it’s a win.

Cheers,
Blake

On Nov 21, 2017, at 12:33 PM, Ed Troy <address@hidden> wrote:

Hi Blake,
I saw that, and some other things, but I am wondering if that will work in my case since I installed Gnuradio-companion using PYBOMBS. I believe that results in a totally different directory structure, but I am not sure.
Regards,
Ed

On 11/21/2017 12:21 PM, Brashendeavours wrote:
Hello Ed,

Located on the post you mentioned, at: https://www.rtl-sdr.com/adalm-pluto-sdr-unboxing-and-initial-testing/

Is a link to a reddit post explaining what you ask: https://www.reddit.com/r/RTLSDR/comments/6tnjba/getting_started_with_adalmpluto_and_gnu_radio/

Steps 2 and 3 of that post explain how to install the newest version of the gr-iio module (that includes Pluto support).

Cheers,
Blake


On Nov 21, 2017, at 11:32 AM, Ed Troy <address@hidden> wrote:

I am trying to get my PlutoSDR to work with Gnuradio-companion in Ubuntu 17.04. It took a while, but I have Gnuradio-companion up and running and if I go into the Industrial IO, I see various sinks and sources for FMCOMMS, but nothing for PlutoSDR. I have seen several posts where the PlutoSDR source is clearly in Gnuradio-companion. How do you get it into the software? One page that clearly shows the source is https://www.rtl-sdr.com/adalm-pluto-sdr-unboxing-and-initial-testing/.

I am running GNU Radio Companion 3.7.12git-269-g8aa965c6

Below is a screen shot of what I am trying to get from the above-mentioned web site.
<dedbgcaj.png>
Thanks,
Ed




reply via email to

[Prev in Thread] Current Thread [Next in Thread]