pothosware / PothosSDR

Pothos SDR windows development environment
https://github.com/pothosware/PothosSDR/wiki
313 stars 48 forks source link

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

Closed guruofquality closed 6 years ago

guruofquality commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

beta-tester commented 6 years ago

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 commented 6 years ago

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

Have to see if I can get something out for testing

guruofquality commented 6 years ago

The installer is up, please test

beta-tester commented 6 years ago

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 commented 6 years ago

When I try to install on my machine, Windows Defender keeps popping up warning me not to install. This did not, and does not happen when I try to install the 3 earlier versions.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: beta-tester notifications@github.com Sent: Thursday, July 5, 2018 6:01:45 AM To: pothosware/PothosSDR Cc: loid123; Mention Subject: Re: [pothosware/PothosSDR] SoapySdR please include drivers for plutosdr --windows 10.... (#53)

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. (but i think to remember, that is worked with an RTL donlge at that time) now i installed the version "PothosSDR-2018.07.04-vc14-x64.exe" that shows the PlutoSDR, but with that error message. even when i use the RTL dongle again i get that error. also trying to uninstall and reinstall the older version i now always get that error...

now i get none of them to work under Pothos Flow...

did i missed something?

a simple rf test with PlutoSDR: [p1]https://user-images.githubusercontent.com/4750719/42316593-87656256-804a-11e8-8905-0c2ffa0c0f47.PNG [p2]https://user-images.githubusercontent.com/4750719/42316603-8db5d2bc-804a-11e8-96a8-459354d6bf26.PNG

and with RTL Dongle: [p3]https://user-images.githubusercontent.com/4750719/42316609-91e43982-804a-11e8-9d33-fe998b7ec156.PNG

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/pothosware/PothosSDR/issues/53#issuecomment-402672202, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlAJlE-JXdVH36An-U0r8dy4VHBfCSGmks5uDeQJgaJpZM4TrLEc.

guruofquality commented 6 years ago

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 commented 6 years ago

It is stock windows defender. My virus scanner found nothing and so far is allowing me to run, without deleting anything so far. Hopefully its just certificate signing issue.

GQRX recognizes plutosdr automatically and works fine with sample rate of 3 Mhz and bandwidth of 3Mhz.

Will test it further and also cubicsdr.

Pothos gave me this:

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

I checked the box with Python version 2 when installing.

When I loaded soapysdr it found plutosdr and loaded usb settings automatically.

Thank you all so much…

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: Josh Blum notifications@github.com Sent: Thursday, July 5, 2018 11:26:56 AM To: pothosware/PothosSDR Cc: loid123; Mention Subject: Re: [pothosware/PothosSDR] SoapySdR please include drivers for plutosdr --windows 10.... (#53)

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

@beta-testerhttps://github.com/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.

@loid123https://github.com/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?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/pothosware/PothosSDR/issues/53#issuecomment-402760807, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlAJlMbNK9IXkamRi0bpzSBSOKsBznsLks5uDjBAgaJpZM4TrLEc.

loid123 commented 6 years ago

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

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: Josh Blum notifications@github.com Sent: Thursday, July 5, 2018 11:26:56 AM To: pothosware/PothosSDR Cc: loid123; Mention Subject: Re: [pothosware/PothosSDR] SoapySdR please include drivers for plutosdr --windows 10.... (#53)

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

@beta-testerhttps://github.com/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.

@loid123https://github.com/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?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/pothosware/PothosSDR/issues/53#issuecomment-402760807, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlAJlMbNK9IXkamRi0bpzSBSOKsBznsLks5uDjBAgaJpZM4TrLEc.

guruofquality commented 6 years ago

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 commented 6 years ago

Got the pothos example simple_fm_demod.pothos working with plutosdr.

Thank you. Thank you!

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: Josh Blum notifications@github.com Sent: Thursday, July 5, 2018 1:13:01 PM To: pothosware/PothosSDR Cc: loid123; Mention Subject: Re: [pothosware/PothosSDR] SoapySdR please include drivers for plutosdr --windows 10.... (#53)

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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/pothosware/PothosSDR/issues/53#issuecomment-402791945, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlAJlAVS7KMF_dI30dJOEIoJYCNEMqfNks5uDkkdgaJpZM4TrLEc.

beta-tester commented 6 years ago
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 commented 6 years ago

I ran SoapySDRUtil –find, it found plutosdr.

Then I started Cubicsdr again and plutosdr showed up in its list of sdr devices.

Cubicsdr works fine with plutosdr.

Thanks again.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: beta-tester notifications@github.com Sent: Thursday, July 5, 2018 1:36:23 PM To: pothosware/PothosSDR Cc: loid123; Mention Subject: Re: [pothosware/PothosSDR] SoapySdR please include drivers for plutosdr --windows 10.... (#53)

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

@beta-testerhttps://github.com/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]https://user-images.githubusercontent.com/4750719/42337978-a2a5496c-8088-11e8-8130-fa97482bde55.PNG

[p2b]https://user-images.githubusercontent.com/4750719/42337984-a5f0f4c2-8088-11e8-81b6-f62a7b8c83f1.PNG

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]https://user-images.githubusercontent.com/4750719/42338530-67cdf350-808a-11e8-82ea-e5948d061f0f.PNG (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 projecthttps://www.welle.io/... i hoped with simply installing PothosSDR it would be done.

but anyhow, thank you very much for your work!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/pothosware/PothosSDR/issues/53#issuecomment-402798548, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlAJlCs4qjFMkBXC2F918LxphhEM6LjPks5uDk6XgaJpZM4TrLEc.

beta-tester commented 6 years ago

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 commented 6 years ago

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

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 commented 6 years ago

Can anyone comment on https://github.com/jocover/SoapyPlutoSDR/issues/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.

beta-tester commented 6 years ago

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.