Giter VIP home page Giter VIP logo

Comments (9)

zuckschwerdt avatar zuckschwerdt commented on June 24, 2024

Check with SoapySDRUtil --info which version you have and where modules are located.
Then check that soapy_power uses that same version. You might have installed SimpleSoapy with a different Soapy version?

from soapysdr.

gaut777 avatar gaut777 commented on June 24, 2024

Here is what I have:

Capture d’écran du 2024-04-11 16-02-00

Capture d’écran du 2024-04-11 16-05-45

Indeed, I have two times the modules0.8 that appears when I type SoapySDRUtil --info, could it be the problem?

And all the versions seem different also.

from soapysdr.

zuckschwerdt avatar zuckschwerdt commented on June 24, 2024

python3-soapysdr with version 0.8.1 seems to match. Not sure why SimpleSoapy / soapy_power can't locate the modules or enumearte them. Perhaps try the SimpleSoapy examples in a Python shell?

from soapysdr.

gaut777 avatar gaut777 commented on June 24, 2024

I tried that but nothing working. So it means that both simplesoapy and soapy_power don't work.


Capture d’écran du 2024-04-12 09-19-59

from soapysdr.

zuckschwerdt avatar zuckschwerdt commented on June 24, 2024

This is stock Ubuntu Jammy, right? I'll later try to reproduce the environment.
I've never used the Python bindings though and don't have any concrete ideas.

I hope somebody else can help out?

from soapysdr.

gaut777 avatar gaut777 commented on June 24, 2024

Yes! It would be very nice from you to make a try!

Capture d’écran du 2024-04-12 11-44-37

And of course if somebody else has an idea, it would be really helpful for me to make it up to work, but unfortunately installing packages and managing versions is not what I prefer... :/

from soapysdr.

zuckschwerdt avatar zuckschwerdt commented on June 24, 2024

I got the same here. SoapySDRUtil --info looks good, SoapySDRUtil --make=driver=rtlsdr works -- but only when using sudo which might be a clue.

Then simplesoapy does work but only on the second try and only with sudo:

sudo python3

import simplesoapy
simplesoapy.detect_devices()

Also plain SoapySDR python bindings work:

sudo python3

import SoapySDR
SoapySDR.Device.enumerate()

Check that it's not a permission problem. But that might be just my very minimal install using

$ sudo apt install python3-soapysdr soapysdr-tools python3-pip
$ pip install simplesoapy
$ sudo pip install simplesoapy

on a plain stock Jammy image.

If the plain SoapySDR python example works this issue might be for simplesoapy.

from soapysdr.

gaut777 avatar gaut777 commented on June 24, 2024

Thanks for this little update. The plain SoapySDR python example does not work for me unfortunately. It is interesting to see that I have a different output while doing pip install simplesoapy and sudo pip install simplesoapy. I will check again on monday! What do you mean about permission? To execute as a simple user? Even If I do sudo I get the same results so I don't think so :/

Capture d’écran du 2024-04-12 15-11-53

Capture d’écran du 2024-04-12 15-15-35

Capture d’écran du 2024-04-12 15-15-47

Capture d’écran du 2024-04-12 15-17-17

from soapysdr.

gaut777 avatar gaut777 commented on June 24, 2024

Hi,

Today I have tried to do again what I have already did before to see then what you told me, but nothing is working anymore (I cannot detect my BladeRF anymore except with the bladeRF-cli command). And even SoapySDRUtil --info give me other versions than before.

Capture d’écran du 2024-04-15 15-31-56

In my case, I also installed more packages than you did. I have installed SoapySDR, SoapyBladeRF, qspectrumanalyzer, pybladeRF, PothosCore, LibBladeRF, bladeRF. So there is a risk of having multiple times a same package. To be honest I am lost right now and I have no more idea on how to overcome this problem!

from soapysdr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.