Reputation: 49
I am trying to build and run the simple example for SoapySdr as found here https://github.com/pothosware/SoapySDR/wiki/C_API_Example. I can use the SDR with Gnuradio but that doesn't work for my application (reason not relevant). I get the simple program to compile but when it runs it doesn't see any devices. Running
SoapySDRUtil --info
######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################
Lib Version: v0.8.1-gbb33b2d2
API Version: v0.8.200
ABI Version: v0.8-3
Install root: /usr/local
Search path: /usr/local/lib/SoapySDR/modules0.8-3 (missing)
No modules found!
Available factories... No factories found!
Available converters...
- CF32 -> [CF32, CS16, CS8, CU16, CU8]...
No modules found and no factories found. For me the hard part is getting a time series stream from the device. I can do whatever processing I need on that stream.
So, I just need to get this simple example to run.
I've tried a number of installs such as
sudo apt-get install rtl-sdr soapysdr-module-rtlsdr
but nothing seems to change the result.
When I compile and run the example (I added a print statement to output the number of Soapy SDR devices found) I get this:
gcc -std=c99 example.c -lSoapySDR && ./a.out
Found 0 devicesSoapySDRDevice_make my fail: SoapySDR::Device::make() no match
Upvotes: 2
Views: 1670
Reputation: 2743
In my case I solved my issue by downloading:
https://github.com/pothosware/SoapyRTLSDR/wiki#building-soapy-rtl-sdr
and remove
sudo rmmod dvb_usb_rtl28xxu
sudo nano /etc/modprobe.d/rtl-sdr.conf
blacklist dvb_usb_rtl28xxu
Upvotes: -1