CubicSDR icon indicating copy to clipboard operation
CubicSDR copied to clipboard

CubicSDR 0.2.3/0.2.5 does not work with RFSpace NetSDR on High Sierra or Ubuntu

Open righthalfplane opened this issue 6 years ago • 7 comments

NetSDR worked with the first version for CubicSDR that I tried using Yosemite, but it now fails on High Sierra, Sierra and El Captain. I tracked to problem down to the "sdr discover" routines - they now fail to find the NetSDR device and give an error. It looks like the "sdr discover" routines were derived from those in the old versions of CuteSDR. The discover routines in CuteSDR were rewritten early last year and work well with Sierra and High Sierra. Other programs search for the device and fail, but when I give them the network information - they use it and everything works fine. With CubicSDR I can find no way to get it to skip discover step and just use the network information given.

righthalfplane avatar Feb 02 '18 16:02 righthalfplane

I rewrote the "discover_netsdr" routine so that it works on Sierra. I rebuild CubicSDR 0.2.3 using my new routine and it now works well on MacOS Sierra with the NetSDR and Sdrplay.

righthalfplane avatar Feb 11 '18 04:02 righthalfplane

@righthalfplane Out of curiosity, what SoapySDR module is used to access RF Space devices ?

vsonnier avatar Feb 11 '18 07:02 vsonnier

In SoapyOsmo (git clone https://github.com/pothosware/SoapyOsmo.git) the file "rfspace_source_c.cc" has the code that accesses the RF Space devices. I rewrote the discover_netsdr routine.

righthalfplane avatar Feb 11 '18 17:02 righthalfplane

@righthalfplane Thank you for your effort ! You should also create a pull request, or at least an issue on SoapyOsmo Github so that everybody could benefit of your good work.

vsonnier avatar Feb 12 '18 06:02 vsonnier

I can take the pull request, but keep in mind SoapyOsmo basically has a copy of gr-osmosdr which it wraps up various modules without pulling in gnuradio: https://github.com/pothosware/SoapyOsmo/wiki

Point being, since its just containing a copy of gr-osmosdr, so any worthwhile patches should go upstream to gr-osmosdr or they might get lost when updating at a later date...

or if I missed some upstream update from gr-osmosdr, let me know so I can update SoapyOsmo.

guruofquality avatar Feb 12 '18 06:02 guruofquality

I have pointed out the problem on the "osmocom-sdr mailing" list - they seem to be working on some of gr-osmosdr problems - Is there a better place to try?

righthalfplane avatar Feb 13 '18 04:02 righthalfplane

This seems to still be an issue in the new 0.2.5 release. CuteSDR connects fine, but CubicSDR just gives a "not found" why I connect via IP to the NetSDR. Any thoughts on additional troubleshooting or a temporary patch?

jjschwarz avatar Aug 28 '18 16:08 jjschwarz