unixpunk / PlutoWeb

PlutoWeb
73 stars 19 forks source link

Question: Will the latest PlutoWeb kernel work with IIO? #46

Closed glangsto closed 5 years ago

glangsto commented 5 years ago

This is more of a question than an issue. I've successfully run some python on the early January 2019 PlutoWeb kernel. The new capabilities are great.

However I'm having some trouble running some of the interfaces with PlutoSDR and Gnuradio companion graphs. Which, if any, of the Gnuradio-companion source and sink blocks work with this version of the PlutoSDR kernel?

Thanks for all your effort.

Best regards Glen

unixpunk commented 5 years ago

I've not messed with gnuradio at all so I have no idea. Do you mean that you have trouble with gnuradio running on your PC? Have you made sure to stop any running apps by selecting either SoapyRemote or LeanTRX from the webUI or settings.sh -r none from SSH? You can set the default as well so you don't have to do this each boot, settings.sh -r none -W y -or- set the autostart value in config.txt to none (literally the word none) and eject. If you can provide specifics, I'll do what I can to fix it. Can you also test flashing the .30 version directly from the plutosdr-fw repo to make sure its not broke upstream?

glangsto commented 5 years ago

Hi Thanks for your very quick response. Yes I've got Odroid XU4 and a Raspberry PI 3B+, both Ubuntu 18.04 LTS +/- some Raspian additions, that were running gnu radio companion Pluto SDR Source blocks (and kernel v0.29) fine, talking with the Pluto SDR.

Then with the new, improved kernel, the Gnuradio graphs did not work, but possibly I did not turn off the boot-up processing done by the kernel. Unfortunately, I can not test your suggestion until a week from today. I'll double check that boot up processing was stopped, before starting gnu radio.

Thanks again. PS I did get event capture running well in gnu radio. The python code and test graphs are available via: git clone https://www.github.com/glangsto/gr-nsf I'm working on a port to C++,- to get the designs to work at a faster rate than 1MHz.

unixpunk commented 5 years ago

Were you able to confirm if this worked for you after disabling the default autostart of openwebrx (and setting the value to none) in the config.txt and rebooting?

glangsto commented 5 years ago

Hi

Thanks for following up on my questions. The last time I tried (about 1.5 months ago), I could use python and applications on PlutoSdr, but I could no longer run Gnuradio programs on my laptop and talk to the PlutoSdr to get data.

I will try again this weekend.

event capture running in C++. We’ve put the code (both C++ and Python Versions) on GitHub:

https://github.com/glangsto/gr-detect_cc/ https://github.com/glangsto/gr-detect_cc/

This seems to be working well. I’ve just improved the documentation.

Best regards

Glen

On Mar 13, 2019, at 3:17 PM, unixpunk <notifications@github.com mailto:notifications@github.com> wrote:

Were you able to confirm if this worked for you after disabling the default autostart of openwebrx (and setting the value to none) in the config.txt and rebooting?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/unixpunk/PlutoWeb","title":"unixpunk/PlutoWeb","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/unixpunk/PlutoWeb https://github.com/unixpunk/PlutoWeb"}},"updates":{"snippets":[{"icon":"PERSON","message":"@unixpunk in #46: Were you able to confirm if this worked for you after disabling the default autostart of openwebrx (and setting the value to none) in the config.txt and rebooting?"}],"action":{"name":"View Issue","url":"https://github.com/unixpunk/PlutoWeb/issues/46#issuecomment-472567313 https://github.com/unixpunk/PlutoWeb/issues/46#issuecomment-472567313"}}} [ { "@context": "http://schema.org http://schema.org/", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/unixpunk/PlutoWeb/issues/46#issuecomment-472567313 https://github.com/unixpunk/PlutoWeb/issues/46#issuecomment-472567313", "url": "https://github.com/unixpunk/PlutoWeb/issues/46#issuecomment-472567313 https://github.com/unixpunk/PlutoWeb/issues/46#issuecomment-472567313", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com https://github.com/" } } ]

unixpunk commented 5 years ago

I commented in reply to this on the other issue regarding your code. I'm going to assume that if you stop any of the apps using the radio that gnuradio will then work fine since other tools using iio do.