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

Does SoapyRemote work with soapy_power? #40

Closed
jlobingier1 opened this issue Apr 9, 2018 · 17 comments
Closed

Does SoapyRemote work with soapy_power? #40

jlobingier1 opened this issue Apr 9, 2018 · 17 comments

Comments

@jlobingier1
Copy link

I am able to find and probe SoapyRemote from a client, but when I install soapy_power on that client it will not connect and says that SoapySDR does not exist....which it does,. How have others been able to use soapy_power with a SoapyRemote server?

@guruofquality
Copy link
Contributor

What if you plug in the sdr directly to the client machine, are you saying that is working?

Whats the actual error message, can you share it?

Whats installed on the client and server? SoapySDRUtil --info

What options were the softwares configured with? cmake output?

@jlobingier1
Copy link
Author

jlobingier1 commented Apr 9, 2018 via email

@guruofquality
Copy link
Contributor

I dont think github will show any of the attachments from email. So no idea whats there.

soapy_power has no idea that its using a remote device, it should be transparent.

Make sure there is only one copy of libSoapySDR.so installed on the system. Many of these bugs are the result of several different versions installed in the same search path, with some tools using one version, and some using another. And only one of those versions might have the remote support installed for example. Happens all of the time.

In regards to installing soapy_power, its just a python module, so any way that it gets installed and python can import it should be good.

@jlobingier1
Copy link
Author

jlobingier1 commented Apr 9, 2018 via email

@jlobingier1
Copy link
Author

jlobingier1 commented Apr 9, 2018 via email

@guruofquality
Copy link
Contributor

Multiple library files usually come together for development/soversion/libversion like so

ls /usr/local/lib/libSoapySDR.so* -1
/usr/local/lib/libSoapySDR.so
/usr/local/lib/libSoapySDR.so.0.7
/usr/local/lib/libSoapySDR.so.0.7.0

I was suggesting that maybe some where hiding in /usr/lib instead, maybe a version 0.6 could be present too, maybe the soapy power has its own libraries copied around, not even sure. -- I dont have a lot of visibility here, so the install manifests from the different projects would sure tell a lot about what was installed. Remember, I havent seen any of the email attachments, so I can only barely guess at the problem.

The only other thing I would check is what the python environment is seeing. So if SoapySDRUtil --info looks good, can you print some python calls in the same environment that you import soapy_power and SoapySDR with? Like print (SoapySDR.getAPIVersion()) and SoapySDR.listSearchPaths(), listModules(), etc. We need to know what version of the libs and modules soapy_power modules and friends are looking it, if at all different.

@jlobingier1
Copy link
Author

jlobingier1 commented Apr 9, 2018 via email

@jlobingier1
Copy link
Author

jlobingier1 commented Apr 9, 2018 via email

@jlobingier1
Copy link
Author

jlobingier1 commented Apr 9, 2018 via email

@guruofquality
Copy link
Contributor

guruofquality commented Apr 9, 2018

You installed two copies of SoapySDR, one from apt package manager with version 0.6, and one from source build (development 0.7). They are both in default search paths, so different tools are picking up different versions. What was the impetus for installing two copies?

My suggestion:

  • use apt repo for library and some modules, build modules from source that are not in the apt repo
    (this also means installing libsoapysdr-dev to get the matching development files)
  • or use all source builds for the main library and modules and remove anything from apt repo

Related:

@jlobingier1
Copy link
Author

jlobingier1 commented Apr 9, 2018 via email

@jlobingier1
Copy link
Author

jlobingier1 commented Apr 9, 2018 via email

@jlobingier1
Copy link
Author

jlobingier1 commented Apr 10, 2018 via email

@jlobingier1
Copy link
Author

jlobingier1 commented Apr 11, 2018 via email

@guruofquality
Copy link
Contributor

Josh, on a clean system, should I be able to install SoapySDR from source, then run the print(SoapySDR.getAPIVersion()) and get a result ?

If its compiled with python bindings, and the PYTHONPATH is set properly, yet.

I know that you sent the suggestions above, but I still don't understand how to get rid of the 0.6 version if i can't find it. I have tried to remove libsoapysdr-dev, but it doesn't exist in my system. I had GQRX, but i purged it from the system. In short, I don't know where this 0.6 version came from, or how to get rid of it. Sorry to be so much of a novice on this, but I'm stuck.

If you arent sure about all this stuff, building from source is probably the last thing to do, unless there is a good reason. There are debian packages for soapy remote as well, given everything already installed, it was just another command/checkbox away:

https://github.com/pothosware/PothosCore/wiki/Ubuntu#sdr-runtime-packages

I seriously suggest spending sometime understanding ubuntu/debian packages tools, and some software development patterns on linux, and how the software packages you are using relate to one another. Things will click a lot easier.

@jlobingier1
Copy link
Author

jlobingier1 commented Apr 12, 2018 via email

@guruofquality
Copy link
Contributor

cool!

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

2 participants