Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SoapySdR please include drivers for plutosdr --windows 10.... #53

Closed
guruofquality opened this issue Apr 28, 2018 · 18 comments
Closed

SoapySdR please include drivers for plutosdr --windows 10.... #53

guruofquality opened this issue Apr 28, 2018 · 18 comments

Comments

@guruofquality
Copy link
Contributor

From @loid123 on April 28, 2018 0:38

Please include drivers for libiio, in the windows binary of pothos, so that adalm-pluto [plutosdr] can be used in windows with pothos...

Thanks.

Copied from original issue: pothosware/PothosCore#159

@beta-tester
Copy link

beta-tester commented Jul 1, 2018

yes, i have the same desire...
please add PlutoSDR !!!

it would give me the ability to use my PlutoSDR in the welle.io project under Windows.

@guruofquality
Copy link
Contributor Author

The IIO zip doesnt look too bad, this might go smoothly

@beta-tester
Copy link

beta-tester commented Jul 3, 2018

under Linux it is no problem to me to compile things,
but under windows i have no plan how to get it work because of no ability/permission on that computer to install all the dev dependencies/environment to compile necessary stuff.
so i need compiled binaries.

i have PlutoSDR-M2k-USB-Drivers.exe installed for windows already,
i have downloaded and installed PothosSDR-2018.04.26-vc14-x64
but my PlutoSDR is not shown up on any of the tools included in PothosSDR.

i can use SDRangel with my PlutoSDR without problems.
i think they have native support for PlutoSDR.

@guruofquality
Copy link
Contributor Author

Took a while but building so far: https://github.com/pothosware/PothosSDR/tree/plutosdr

  • already had libusb and Pthreads
  • libxml2, libiio, and libad9361 added
  • it builds and doesnt error out when loading the pluto module

Have to see if I can get something out for testing

@guruofquality
Copy link
Contributor Author

The installer is up, please test

@beta-tester
Copy link

beta-tester commented Jul 5, 2018

thank you.

now i can see "plutosdr #0 192.168.2.1" in the "SoapySDR Source".

but unfortunately i don't get any output...
there is an error message

Pothos.PluginLoader.load: Plugin Module Error: Pothos::PluginModule(C:\Program Files\PothosSDR\lib\Pothos\modules0.6\proxy\environment\PythonSupport.dll): failed safe load

i am not sure if this is the reason.

i had installed version "PothosSDR-2018.04.26-vc14-x64.exe" before, and as it didn't aupported my PlutoSDR i uninstalled it.
now i installed the version "PothosSDR-2018.07.04-vc14-x64.exe" that shows the PlutoSDR, but with that error message.

did i missed something?

a simple rf test with PlutoSDR:
p1
p2

EDIT: first i told my RTL Dongle is not working anymore. but it is still working.

@loid123
Copy link

loid123 commented Jul 5, 2018 via email

@guruofquality
Copy link
Contributor Author

Pothos.PluginLoader.load: Plugin Module Error: Pothos::PluginModule(C:\Program Files\PothosSDR\lib\Pothos\modules0.6\proxy\environment\PythonSupport.dll): failed safe load

@beta-tester do you what boxes you checked in the installer. Its nothing to worry about, it usually means that python dlls arent present. I just want to double check that you checked these boxes, otherwise, I need to fix the install rules so they areint installed by default.

I don't have any experience with pluto, so if it connects to the device that seems like a very good sign that the drivers work. Maybe there are some recommended gain settings? You might try CubicSDR/GQRX too.

@loid123 I have no idea. I using windows 10 too with defender on and its not saying anything. But that always a concern, so I will try a few other machines. Is it like a particular virus scan speaking through windows defender, or just the stock windows defender?

@loid123
Copy link

loid123 commented Jul 5, 2018 via email

@loid123
Copy link

loid123 commented Jul 5, 2018 via email

@guruofquality
Copy link
Contributor Author

Plutosdr not recognized by cubicsdr. Then again neither is it in the official version.

CubicSDR is really agnostic to the device, so if its detected by SoapySDRUtil, it should work. The official version could easily just not be packaging the hardware support. No idea...

I checked the box with Python version 2 when installing.

Its actually a development thing for writing python blocks for Pothos, its not the same as general python2 bindings for lets say gnuradio or soapysdr. So you don't need to check this.

@loid123
Copy link

loid123 commented Jul 5, 2018 via email

@beta-tester
Copy link

Pothos.PluginLoader.load: Plugin Module Error: Pothos::PluginModule(C:\Program Files\PothosSDR\lib\Pothos\modules0.6\proxy\environment\PythonSupport.dll): failed safe load

@beta-tester do you what boxes you checked in the installer. Its nothing to worry about, it usually means that python dlls arent present. I just want to double check that you checked these boxes, otherwise, I need to fix the install rules so they areint installed by default.

I don't have any experience with pluto, so if it connects to the device that seems like a very good sign that the drivers work. Maybe there are some recommended gain settings? You might try CubicSDR/GQRX too.

no, i didn't ticked the checkboxes for python... i thought i hade already python installed before.
now i reinstalled Pothos with ticking Python2 and Python3 support.

ok, now i get output from PlutoSDR. curiously not with the first run. i changed some settings (gain: auto, bandwidth to 2.5e6) and reload framework. after that it was working.
maybe i did something wrong previously.

but now i get a waterfall:
p1b

p2b

PS.: now i get tree of those error messages... maybe one for each python version ;-)
PPS.: the bundeled CubicSDR and Gqrx works with PlutoSDR now.
p3b
(in Gqrx i only can tune down to 140MHz but maybe i missed some setting - is my first use of Gqrx)

now i have to see, how i get SoapySDR to work in the welle.io project...
i hoped with simply installing PothosSDR it would be done.

but anyhow, thank you very much for your work!

@loid123
Copy link

loid123 commented Jul 5, 2018 via email

@beta-tester
Copy link

When I try to install on my machine, Windows Defender keeps popping up warning me not to install.

yes, i also got that warning from windows defender. i made a right-click to the EXE file opened the properties and ticked the checkbox to allow access to that file.

warning

@guruofquality
Copy link
Contributor Author

no, i didn't ticked the checkboxes for python... i thought i hade already python installed before.
now i reinstalled Pothos with ticking Python2 and Python3 support.

@beta-tester Just a few more possibilities in case you have trouble when you see this message

  • the PythonSupport dlls could stick around in an old install. The installer does not uninstall if an existing folder is present, so sometimes old files cause complications.
  • the python runtime (python.dll) dlls also need to be in the PATH which they may not be by default. So you will see the error if the PythonSupport.dll is installed, but no python.dll in the %PATH%

You can always delete the file in question. That will fix the print :-)

yes, i also got that warning from windows defender. i made a right-click to the EXE file opened the properties and ticked the checkbox to allow access to that file.

I tried on a few machines since then, and I'm not seeing that defender issue. But its good that the unpacked install is not causing any issues with defender.

For some reason the installer must look suspicious because has so many 100s of dlls from different projects. Or the issue just "installer signing", which is not something I have done. So maybe we have different security settings for defender.

@guruofquality
Copy link
Contributor Author

Can anyone comment on jocover/SoapyPlutoSDR#3 ? There seems to be some huge timeout issue when pluto driver access hardware thats not present.

Is it a network device or a usb device? Looks like USB.

  • If its a usb device, that hole section of network stuff can be commented out
  • if it is a network device, it needs to only do that when an actual host is specified.

@beta-tester
Copy link

beta-tester commented Jul 20, 2018

the PlutoSDR is connected to the computer via USB port,
but it will apper to the compuer as a USB-networkinterface (and USB-serial port and USB-memory-stick).
unbenannt

the plutoSDR runs also a web-server.
by default at IP 192.168.2.1 and hostname "pluto", but hostname and IP address can be changed on the PlutoSDR.

there is also an option to put an USB-WLAN dongle to the PlutoSDR and let the PlutoSDR completely run with a wireless connection to a computer. then it is connected to the computer by WiFi only.

so the communication to the pluto is done mainly via network connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants