-
Notifications
You must be signed in to change notification settings - Fork 13
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
rx_fm using SoapySDR with Airspy mini won't terminate #23
Comments
Its probably stuck in deactivateStream https://github.com/pothosware/SoapyAirspy/blob/master/Streaming.cpp#L205 If I had to guess, but it would be good to start with rx_fm and see which functions get called. Can you add some strategic prints and see what function its stuck in? Is it a SoapySDR routine, and if so, is it some underlying airspy call like |
While I understand what you mean (add strategic code to write stuff to a log, so you can see where it gets stuck), I must say I'm not a programmer. But it's never to late to learn, so I will try to do a pull request and work with that. This is the section of code in rx_fm that I believe closes the stream:
So do you believe I should focus on rx_fm instead? |
Thats perfect, its an onion and you have to work your way into the center starting from the outside Which one of these calls get stuck? That will tell us where to look next. I dont have an airspy to validate this, but I can do my best to offer suggestions |
Hi,
I'm using rx_fm, which uses the SoapySDR, with an Airspy Mini.
The problem is that it won't terminate, the process stays there, using 100% of a processor.
I never get the prompt back, it just sits at Signal caught, exiting.
I eventually have to sigkill the process.
I should add that while the above example uses timeout to terminate after 10 seconds, the same happens if I just stop it with ctrl+c.
This doesn't happen with rx_fm (SoapySDR) and an RTL-SDR, and looking at the rx_fm source, it doesn't make a distinction between SDRs, so it must be the SoapySDR Airspy module causing this.
This is on a Raspberry Pi 3B, completely up to date.
Fresh install from source code of SoapySDR, its Airspy module and rx_tools.
The text was updated successfully, but these errors were encountered: