Open Hazerre opened 2 months ago
@Hazerre - usually the error message sdrplay_api_Fail
means that there's an invalid or out of range parameter in the RSPdx API settings when the function sdrplay_api_Init()
.
The best way to find out what is the problem is to temporarily enable verbose debug messages in the SDRplay API. This can be done by uncommenting line 357 in Streaming.cpp
(https://github.com/pothosware/SoapySDRPlay3/blob/master/Streaming.cpp#L357) and commenting out the previous line.
After that, please rebuild and reinstall this SoapySDRPlay3 module, and rerun the stream loop test with SoapySDRUtil
; it will fail again, but this time the journalctl logs there should have some more useful details about what went wrong.
Please post those messages here so we can further troubleshoot the problem.
After the problem is fixed, you should change Streaming.cpp
back to the way it was originally since verbose debugging adds some overhead.
Regarding that InitialiseMappingTableFromFile
error message, I think it is harmless because I get it all the time here too. I think when you have an RSPdx, the SDRplay API can read an optional file called rspdx_gain_ini.txt
, but I don't know what it should contain, and I don't think not having it affects normal operations.
Franco
After having installed SDRPlay's API, installed SoapySDR, used make to install the SDRPlay module, I'm still having issues. Not sure what's wrong with it at this point. Any help is appreciated.
SoapySDRUtil --probe="driver=sdrplay"
SoapySDRUtil --args="driver=sdrplay" --rate=2e6 --direction=RX
journalctl -u sdrplay.service