Build gr-osmosdr with soapy support

#1

hi,

want to use my lime with gnuradio. Unfortunately gr-osmosdr does not support soapy, how can i build with support for it?

soapysdr does recognise my lime
however when i build kgr-osmosdr it doesnt have soapy built in, i don’t understand why…

my OS is arch and i build everything from git sources…

[nios@archPC build]$ SoapySDRUtil --probe
######################################################

Soapy SDR – the SDR abstraction library

######################################################

Probe device
[INFO] Make connection: ‘LimeSDR-USB [USB 3.0] 9060B00542A13’
[WARNING] Firmware version mismatch!
Expected firmware version 4, but found version 3
Follow the FW and FPGA upgrade instructions:
http://wiki.myriadrf.org/Lime_Suite#Flashing_images
Or run update on the command line: LimeUtil --update

[WARNING] Gateware version mismatch!
Expected gateware version 2, revision 12
But found version 2, revision 11
Follow the FW and FPGA upgrade instructions:
http://wiki.myriadrf.org/Lime_Suite#Flashing_images
Or run update on the command line: LimeUtil --update

[INFO] Reference clock 30.720 MHz
[INFO] Device name: LimeSDR-USB
[INFO] Reference: 30.72 MHz
[INFO] Init LMS7002M(0)
[INFO] Ver=7, Rev=1, Mask=1
[INFO] LMS7002M calibration values caching Disable


– Device identification

driver=STREAM
hardware=LimeSDR-USB
boardSerialNumber=0x9060b00542a13
firmwareVersion=3
hardwareVersion=4
protocolVersion=1


– Peripheral summary

Channels: 2 Rx, 2 Tx
Timestamps: YES
Sensors: clock_locked, lms7_temp
Registers: BBIC, RFIC0
GPIOs: MAIN


– RX Channel 0

Full-duplex: YES
Supports AGC: NO
Stream formats: CF32, CS12, CS16
Native format: CS16 [full-scale=2048]
Stream args:
* Buffer Length - The buffer transfer size over the link.
[key=bufferLength, units=samples, default=0, type=int]
* Link Format - The format of the samples over the link.
[key=linkFormat, default=CS16, type=string, options=(CS16, CS12)]
Antennas: NONE, LNAH, LNAL, LNAW, LB1, LB2
Corrections: DC removal, IQ balance
Full gain range: [-12, 61] dB
TIA gain range: [0, 12] dB
LNA gain range: [0, 30] dB
PGA gain range: [-12, 19] dB
Full freq range: [0, 3800] MHz
RF freq range: [30, 3800] MHz
BB freq range: [-10, 10] MHz
Tune args:
* LO Offset - Tune the LO with an offset and compensate with the baseband CORDIC.
[key=OFFSET, units=Hz, default=0.0, type=float, range=[-1e+07, 1e+07]]
* BB - Specify a specific value for this component or IGNORE to skip tuning it.
[key=BB, units=Hz, default=DEFAULT, type=float, range=[-1e+07, 1e+07], options=(DEFAULT, IGNORE)]
Sample rates: [0.1, 56.25], [61.4375, 65] MSps
Filter bandwidths: [1.4, 130] MHz
Sensors: lo_locked
Other Settings:
* TSP DC Level - Digital DC level in LMS7002M TSP chain.
[key=TSP_CONST, type=int, range=[0, 32767]]


– RX Channel 1

Full-duplex: YES
Supports AGC: NO
Stream formats: CF32, CS12, CS16
Native format: CS16 [full-scale=2048]
Stream args:
* Buffer Length - The buffer transfer size over the link.
[key=bufferLength, units=samples, default=0, type=int]
* Link Format - The format of the samples over the link.
[key=linkFormat, default=CS16, type=string, options=(CS16, CS12)]
Antennas: NONE, LNAH, LNAL, LNAW, LB1, LB2
Corrections: DC removal, IQ balance
Full gain range: [-12, 61] dB
TIA gain range: [0, 12] dB
LNA gain range: [0, 30] dB
PGA gain range: [-12, 19] dB
Full freq range: [0, 3800] MHz
RF freq range: [30, 3800] MHz
BB freq range: [-10, 10] MHz
Tune args:
* LO Offset - Tune the LO with an offset and compensate with the baseband CORDIC.
[key=OFFSET, units=Hz, default=0.0, type=float, range=[-1e+07, 1e+07]]
* BB - Specify a specific value for this component or IGNORE to skip tuning it.
[key=BB, units=Hz, default=DEFAULT, type=float, range=[-1e+07, 1e+07], options=(DEFAULT, IGNORE)]
Sample rates: [0.1, 56.25], [61.4375, 65] MSps
Filter bandwidths: [1.4, 130] MHz
Sensors: lo_locked
Other Settings:
* TSP DC Level - Digital DC level in LMS7002M TSP chain.
[key=TSP_CONST, type=int, range=[0, 32767]]


– TX Channel 0

Full-duplex: YES
Supports AGC: NO
Stream formats: CF32, CS12, CS16
Native format: CS16 [full-scale=2048]
Stream args:
* Buffer Length - The buffer transfer size over the link.
[key=bufferLength, units=samples, default=0, type=int]
* Link Format - The format of the samples over the link.
[key=linkFormat, default=CS16, type=string, options=(CS16, CS12)]
Antennas: NONE, BAND1, BAND2
Corrections: DC offset, IQ balance
Full gain range: [-12, 64] dB
PAD gain range: [0, 52] dB
IAMP gain range: [-12, 12] dB
Full freq range: [0, 3800] MHz
RF freq range: [30, 3800] MHz
BB freq range: [-10, 10] MHz
Tune args:
* LO Offset - Tune the LO with an offset and compensate with the baseband CORDIC.
[key=OFFSET, units=Hz, default=0.0, type=float, range=[-1e+07, 1e+07]]
* BB - Specify a specific value for this component or IGNORE to skip tuning it.
[key=BB, units=Hz, default=DEFAULT, type=float, range=[-1e+07, 1e+07], options=(DEFAULT, IGNORE)]
Sample rates: [0.1, 56.25], [61.4375, 65] MSps
Filter bandwidths: [5, 40], [50, 130] MHz
Sensors: lo_locked
Other Settings:
* TSP DC Level - Digital DC level in LMS7002M TSP chain.
[key=TSP_CONST, type=int, range=[0, 32767]]


– TX Channel 1

Full-duplex: YES
Supports AGC: NO
Stream formats: CF32, CS12, CS16
Native format: CS16 [full-scale=2048]
Stream args:
* Buffer Length - The buffer transfer size over the link.
[key=bufferLength, units=samples, default=0, type=int]
* Link Format - The format of the samples over the link.
[key=linkFormat, default=CS16, type=string, options=(CS16, CS12)]
Antennas: NONE, BAND1, BAND2
Corrections: DC offset, IQ balance
Full gain range: [-12, 64] dB
PAD gain range: [0, 52] dB
IAMP gain range: [-12, 12] dB
Full freq range: [0, 3800] MHz
RF freq range: [30, 3800] MHz
BB freq range: [-10, 10] MHz
Tune args:
* LO Offset - Tune the LO with an offset and compensate with the baseband CORDIC.
[key=OFFSET, units=Hz, default=0.0, type=float, range=[-1e+07, 1e+07]]
* BB - Specify a specific value for this component or IGNORE to skip tuning it.
[key=BB, units=Hz, default=DEFAULT, type=float, range=[-1e+07, 1e+07], options=(DEFAULT, IGNORE)]
Sample rates: [0.1, 56.25], [61.4375, 65] MSps
Filter bandwidths: [5, 40], [50, 130] MHz
Sensors: lo_locked
Other Settings:
* TSP DC Level - Digital DC level in LMS7002M TSP chain.
[key=TSP_CONST, type=int, range=[0, 32767]]

building gr-osmocom:

git clone git://git.osmocom.org/gr-osmosdr

[nios@archPC ~]$ cd gr-osmosdr/
[nios@archPC gr-osmosdr]$ mkdir build
[nios@archPC gr-osmosdr]$ cd build/
[nios@archPC build]$ cmake …/
– The CXX compiler identification is GNU 7.2.1
– The C compiler identification is GNU 7.2.1
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Build type not specified: defaulting to release.
– Found Git: /usr/bin/git (found version “2.16.1”)
– Extracting version information from git describe…
– Configuring Boost C++ Libraries…
– Looking for pthread.h
– Looking for pthread.h - found
– Looking for pthread_create
– Looking for pthread_create - not found
– Looking for pthread_create in pthreads
– Looking for pthread_create in pthreads - not found
– Looking for pthread_create in pthread
– Looking for pthread_create in pthread - found
– Found Threads: TRUE
– Boost version: 1.66.0
– Found the following Boost libraries:
– thread
– system
– chrono
– date_time
– atomic
– Found PkgConfig: /usr/bin/pkg-config (found version “0.29.2”)
Checking for GNU Radio Module: RUNTIME
– Checking for module ‘gnuradio-runtime’
– Found gnuradio-runtime, version 3.7.11

  • INCLUDES=/usr/include
  • LIBS=/lib/libgnuradio-runtime.so;/lib/libgnuradio-pmt.so
    – Found GNURADIO_RUNTIME: /lib/libgnuradio-runtime.so;/lib/libgnuradio-pmt.so
    GNURADIO_RUNTIME_FOUND = TRUE
    Checking for GNU Radio Module: BLOCKS
    – Checking for module ‘gnuradio-blocks’
    – Found gnuradio-blocks, version 3.7.11
  • INCLUDES=/usr/include
  • LIBS=/lib/libgnuradio-blocks.so;/lib/libgnuradio-runtime.so;/lib/libgnuradio-pmt.so
    – Found GNURADIO_BLOCKS: /lib/libgnuradio-blocks.so;/lib/libgnuradio-runtime.so;/lib/libgnuradio-pmt.so
    GNURADIO_BLOCKS_FOUND = TRUE
    Checking for GNU Radio Module: PMT
    – Checking for module ‘gnuradio-runtime’
    – Found gnuradio-runtime, version 3.7.11
  • INCLUDES=/usr/include
  • LIBS=/lib/libgnuradio-runtime.so;/lib/libgnuradio-pmt.so
    – Found GNURADIO_PMT: /lib/libgnuradio-runtime.so;/lib/libgnuradio-pmt.so
    GNURADIO_PMT_FOUND = TRUE
    – Checking for module ‘gnuradio-iqbalance’
    – Found gnuradio-iqbalance, version 0
    – Found GNURADIO_IQBALANCE: /lib/libgnuradio-iqbalance.so
    – Found UHD: /usr/lib/libuhd.so
    – Checking for module ‘gnuradio-uhd’
    – Found gnuradio-uhd, version 3.7.11
    – Found gnuradio-uhd: /usr/include, /lib/libgnuradio-uhd.so
    – Found GNURADIO_UHD: /lib/libgnuradio-uhd.so
    – Checking for module ‘gnuradio-fcd’
    – Found gnuradio-fcd, version 3.7.11
    – Found gnuradio-fcd: /usr/include, /lib/libgnuradio-fcd.so
    – Found GNURADIO_FCD: /lib/libgnuradio-fcd.so
    – Checking for module ‘gnuradio-fcdproplus’
    – Package ‘gnuradio-core’, required by ‘gnuradio-fcdproplus’, not found
    – Found gnuradio-fcdproplus: /usr/include, /lib/libgnuradio-fcdproplus.so
    – Found GNURADIO_FCDPP: /lib/libgnuradio-fcdproplus.so
    – Checking for module ‘libosmosdr’
    – No package ‘libosmosdr’ found
    – libosmosdr not found.
    – Checking for module ‘librtlsdr’
    – Found librtlsdr, version v0.5.3-5-g6ee5
    – Found librtlsdr: /usr/local/include, /usr/local/lib/librtlsdr.so
    – Checking for module ‘libmirisdr’
    – No package ‘libmirisdr’ found
    – libmirisdr not found.
    – Checking for module ‘libhackrf’
    – Found libhackrf, version 0.5
    – Found LIBHACKRF: /lib/libhackrf.so
    – Checking for module ‘libairspy’
    – Found libairspy, version 1.0
    – Found LIBAIRSPY: /lib/libairspy.so
    – Checking for module ‘volk’
    – Found volk, version 1.3
    – Found VOLK: /lib/libvolk.so
    – Checking for module ‘libbladeRF’
    – Found libbladeRF, version 1.8.0-git
    – Found libbladeRF: /usr/include, /usr/lib/libbladeRF.so
    – Checking for module ‘libfreesrp’
    – No package ‘libfreesrp’ found
    – libfreesrp not found.
    – Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
    – Found PythonLibs: /usr/lib/libpython2.7.so (found suitable version “2.7.14”, minimum required is “2”)

    – Checking for module SWIG
    – Found SWIG version 3.0.12.
    – Found SWIG: /usr/bin/swig
    – Minimum SWIG version required is 1.3.31

    – The build system will automatically enable all components.
    – Use -DENABLE_DEFAULT=OFF to disable components by default.

    – Configuring Python support support…
    – Dependency PYTHONLIBS_FOUND = TRUE
    – Dependency SWIG_FOUND = TRUE
    – Dependency SWIG_VERSION_CHECK = TRUE
    – Enabling Python support support.
    – Override with -DENABLE_PYTHON=ON/OFF

    – Configuring high resolution timing…
    – Performing Test HAVE_CLOCK_GETTIME
    – Performing Test HAVE_CLOCK_GETTIME - Success
    – Performing Test HAVE_MACH_ABSOLUTE_TIME
    – Performing Test HAVE_MACH_ABSOLUTE_TIME - Failed
    – Performing Test HAVE_QUERY_PERFORMANCE_COUNTER
    – Performing Test HAVE_QUERY_PERFORMANCE_COUNTER - Failed
    – High resolution timing supported through clock_gettime.

    – Configuring Osmocom IQ Imbalance Correction support…
    – Dependency GNURADIO_IQBALANCE_FOUND = TRUE
    – Enabling Osmocom IQ Imbalance Correction support.
    – Override with -DENABLE_IQBALANCE=ON/OFF

    – Configuring sysmocom OsmoSDR support…
    – Dependency LIBOSMOSDR_FOUND = FALSE
    – Disabling sysmocom OsmoSDR support.
    – Override with -DENABLE_OSMOSDR=ON/OFF

    – Configuring FUNcube Dongle support…
    – Dependency GNURADIO_FCD_FOUND = TRUE
    – Enabling FUNcube Dongle support.
    – Override with -DENABLE_FCD=ON/OFF

    – Configuring FUNcube Dongle Pro+ support…
    – Dependency GNURADIO_FCDPP_FOUND = TRUE
    – Enabling FUNcube Dongle Pro+ support.
    – Override with -DENABLE_FCDPP=ON/OFF

    – Configuring IQ File Source & Sink support…
    – Dependency GNURADIO_BLOCKS_FOUND = TRUE
    – Enabling IQ File Source & Sink support.
    – Override with -DENABLE_FILE=ON/OFF

    – Configuring Osmocom RTLSDR support…
    – Dependency LIBRTLSDR_FOUND = TRUE
    – Enabling Osmocom RTLSDR support.
    – Override with -DENABLE_RTL=ON/OFF

    – Configuring RTLSDR TCP Client support…
    – Dependency GNURADIO_BLOCKS_FOUND = TRUE
    – Enabling RTLSDR TCP Client support.
    – Override with -DENABLE_RTL_TCP=ON/OFF

    – Configuring Ettus USRP Devices support…
    – Dependency UHD_FOUND = TRUE
    – Dependency GNURADIO_UHD_FOUND = TRUE
    – Enabling Ettus USRP Devices support.
    – Override with -DENABLE_UHD=ON/OFF

    – Configuring Osmocom MiriSDR support…
    – Dependency LIBMIRISDR_FOUND = FALSE
    – Disabling Osmocom MiriSDR support.
    – Override with -DENABLE_MIRI=ON/OFF

    – Configuring HackRF & rad1o Badge support…
    – Dependency LIBHACKRF_FOUND = TRUE
    – Enabling HackRF & rad1o Badge support.
    – Override with -DENABLE_HACKRF=ON/OFF
    – Looking for hackrf_device_list
    – Looking for hackrf_device_list - found
    – HackRF multiple device support enabled

    – Configuring nuand bladeRF support…
    – Dependency LIBBLADERF_FOUND = TRUE
    – Enabling nuand bladeRF support.
    – Override with -DENABLE_BLADERF=ON/OFF

    – Configuring RFSPACE Receivers support…
    – Enabling RFSPACE Receivers support.
    – Override with -DENABLE_RFSPACE=ON/OFF

    – Configuring AIRSPY Receiver support…
    – Dependency LIBAIRSPY_FOUND = TRUE
    – Enabling AIRSPY Receiver support.
    – Override with -DENABLE_AIRSPY=ON/OFF

    – Configuring SoapySDR support support…
    – Dependency SoapySDR_FOUND = 1
    – Enabling SoapySDR support support.
    – Override with -DENABLE_SOAPY=ON/OFF

    – Configuring Red Pitaya SDR support…
    – Enabling Red Pitaya SDR support.
    – Override with -DENABLE_REDPITAYA=ON/OFF

    – Configuring FreeSRP support support…
    – Dependency LIBFREESRP_FOUND = FALSE
    – Disabling FreeSRP support support.
    – Override with -DENABLE_FREESRP=ON/OFF
    – Found PythonInterp: /usr/bin/python2 (found suitable version “2.7.14”, minimum required is “2”)
    – Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE
    – Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success

    – ######################################################
    – # Gnuradio enabled components
    – ######################################################
    – * Python support
    – * Osmocom IQ Imbalance Correction
    – * FUNcube Dongle
    – * FUNcube Dongle Pro+
    – * IQ File Source & Sink
    – * Osmocom RTLSDR
    – * RTLSDR TCP Client
    – * Ettus USRP Devices
    – * HackRF & rad1o Badge
    – * nuand bladeRF
    – * RFSPACE Receivers
    – * AIRSPY Receiver
    – * SoapySDR support
    – * Red Pitaya SDR

    – ######################################################
    – # Gnuradio disabled components
    – ######################################################
    – * sysmocom OsmoSDR
    – * Osmocom MiriSDR
    – * FreeSRP support

    – Building for version: v0.1.4-91-gcf954948 / 0.1.5git
    – Using install prefix: /usr/local
    – Configuring done
    – Generating done
    – Build files have been written to: /home/nios/gr-osmosdr/build
    [nios@archPC build]$

– Configuring SoapySDR support support…
– Dependency SoapySDR_FOUND = 1
– Enabling SoapySDR support support.

so it should be with soapy support or???

[nios@archPC build]$
[nios@archPC build]$ make -j8
[ 10%] Built target pygen_apps_13638
[ 10%] Built target osmosdr_grc_xml_blocks
[ 14%] Built target pygen_python_83b8b
[ 14%] Built target osmosdr_swig_swig_doc
[ 22%] Built target pygen_apps_8420b
[ 76%] Built target gnuradio-osmosdr
[ 80%] Built target _osmosdr_swig_swig_tag
[ 86%] Built target osmosdr_swig_swig_2d0df
[ 92%] Built target pygen_swig_65beb
[100%] Built target _osmosdr_swig
[nios@archPC build]$
[nios@archPC build]$ sudo make install
[ 54%] Built target gnuradio-osmosdr
[ 54%] Built target osmosdr_swig_swig_doc
[ 58%] Built target _osmosdr_swig_swig_tag
[ 64%] Built target osmosdr_swig_swig_2d0df
[ 72%] Built target _osmosdr_swig
[ 78%] Built target pygen_swig_65beb
[ 82%] Built target pygen_python_83b8b
[ 88%] Built target osmosdr_grc_xml_blocks
[ 92%] Built target pygen_apps_13638
[100%] Built target pygen_apps_8420b
Install the project…
– Install configuration: “Release”
– Installing: /usr/local/lib/pkgconfig/gnuradio-osmosdr.pc
– Up-to-date: /usr/local/include/osmosdr/api.h
– Up-to-date: /usr/local/include/osmosdr/pimpl.h
– Up-to-date: /usr/local/include/osmosdr/ranges.h
– Up-to-date: /usr/local/include/osmosdr/time_spec.h
– Up-to-date: /usr/local/include/osmosdr/device.h
– Up-to-date: /usr/local/include/osmosdr/source.h
– Up-to-date: /usr/local/include/osmosdr/sink.h
– Installing: /usr/local/lib/libgnuradio-osmosdr-0.1.5git.so.0.0.0
– Up-to-date: /usr/local/lib/libgnuradio-osmosdr-0.1.5git.so
– Set runtime path of “/usr/local/lib/libgnuradio-osmosdr-0.1.5git.so.0.0.0” to “”
– Up-to-date: /usr/local/lib/libgnuradio-osmosdr.so
– Up-to-date: /usr/local/lib/libgnuradio-osmosdr-0.1.5git.so.0
– Installing: /usr/local/lib/python2.7/site-packages/osmosdr/_osmosdr_swig.so
– Set runtime path of “/usr/local/lib/python2.7/site-packages/osmosdr/_osmosdr_swig.so” to “”
– Installing: /usr/local/lib/python2.7/site-packages/osmosdr/osmosdr_swig.py
– Installing: /usr/local/lib/python2.7/site-packages/osmosdr/osmosdr_swig.pyc
– Installing: /usr/local/lib/python2.7/site-packages/osmosdr/osmosdr_swig.pyo
– Up-to-date: /usr/local/include/osmosdr/swig/osmosdr_swig.i
– Installing: /usr/local/include/osmosdr/swig/osmosdr_swig_doc.i
– Up-to-date: /usr/local/lib/python2.7/site-packages/osmosdr/init.py
– Installing: /usr/local/lib/python2.7/site-packages/osmosdr/init.pyc
– Installing: /usr/local/lib/python2.7/site-packages/osmosdr/init.pyo
– Installing: /usr/local/share/gnuradio/grc/blocks/rtlsdr_source.xml
– Installing: /usr/local/share/gnuradio/grc/blocks/osmosdr_source.xml
– Installing: /usr/local/share/gnuradio/grc/blocks/osmosdr_sink.xml
– Up-to-date: /usr/local/lib/python2.7/site-packages/osmosdr/osmocom_siggen_base.py
– Installing: /usr/local/lib/python2.7/site-packages/osmosdr/osmocom_siggen_base.pyc
– Installing: /usr/local/lib/python2.7/site-packages/osmosdr/osmocom_siggen_base.pyo
– Installing: /usr/local/bin/osmocom_fft
– Installing: /usr/local/bin/osmocom_siggen
– Installing: /usr/local/bin/osmocom_siggen_nogui
– Installing: /usr/local/bin/osmocom_spectrum_sense
[nios@archPC build]$
[nios@archPC build]$
[nios@archPC build]$ sudo ldconfig
[nios@archPC build]$
[nios@archPC build]$ /usr/local/bin/osmocom_fft
linux; GNU C++ version 7.2.1 20171224; Boost_106600; UHD_003.010.002.000-0-unknown

/usr/lib/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn(“wxPython/wxWidgets release number mismatch”)
gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.11
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy

FATAL: No supported devices found to pick from.

Trying to fill up 1 missing channel(s) with null source(s).
This is being done to prevent the application from crashing
due to gnuradio bug #528.

Source has no sample rates (wrong device arguments?).
[nios@archPC build]$

why it doesnt show soapy in the list??
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy

and the most annoying thing thing is under windows 10 it works ):

okay i use binär packages there but why doesn’t work when i build it…

#2

Finally i found the answer and the tutorial i was expected to find directly on the lime sdr site.

No offence, but i am a little bit disappointed about your documentation and setup description

However if you want to build your lime sdr from source, here is a fast and easy straight forward solution for you:

http://blog.reds.ch/?p=43

Please verify you removed all limesdr / soapy /gnuradio / rtl / gqrx packets before

Otherwise you will get a chaos like me, nothing works and hard to find the reasons…

yours,
xeniter

#3

Hello and sorry English isn’t my native language

I just received my limesdr MINI . I began to do some tests . I 'm usally using xunbutu 16.04 for all my SDR’s ( sdrplay, hackrf, rtl sdr, airspy) .

My problem is I can’t see LIMESDR mini with Soapy , the error is

SoapySDRUtil --find
######################################################

Soapy SDR – the SDR abstraction library

######################################################

No devices found!

OR

SoapySDRUtil --probe
######################################################

Soapy SDR – the SDR abstraction library

######################################################

Probe device
Error probing device: device_id missing.

I did test with AIRSPY and RTLSDR and I get the result

SoapySDRUtil --find
######################################################

Soapy SDR – the SDR abstraction library

######################################################

Found device 0
device_id = 0
driver = airspy
label = AIRSPY [XXXXXXXX
serial = XXXXXXX

I 'm able to see limesdr mini with limesdr suite

like

23:00:13] INFO: Reference clock 40.00 MHz
[23:00:13] INFO: Connected Control port: LimeSDR-Mini FW:5 HW:0 Protocol:1 GW:1.24 Ref Clk: 40.00 MHz

I can see Airspy or rtlsdr with cubicsdr and gqrx using soapy modules

That means gr-osmosdr in correctly installed with soapy libraries

I also copied file to udev directory

I have no idea to try on

Laptop is USB 2.0 but limesdr suite can see my device

any help would be welcome

Thanks

Pascal

#4

If SoapySDR was not installed when you built Lime Suite the module for it will not have been built.

#5

Thanks for anwer

If my SoapySDR was bad installed, it means I could see any of other devices ? When I’m running

Soapy SDR – the SDR abstraction library

######################################################

Found device 0
device_id = 0
driver = airspy
label = AIRSPY [XXXXXXXX
serial = XXXXXXX

AIRSPY is recognize

Is this previous information means Soapysdr is correctly installed or how can I be sure that soapySDR is good

thanks

#6

The order you install things is important. If you installed Lime Suite first it would not have been able to build the SoapySDR module for it that provides access to LimeSDR hardware. You may well be able to see other SoapySDR devices, because the links out from it to their support libraries are there — but not for LimeSDR hardware.

#7

I did re-installation of limesdr with GIT and no with apt-get install . Working now fine . I have to re-install GQRX from GIt too because gqrx can see the limesdr but crash and close . Cubicsdr is working fine .

Thanks again for help

#8

i honestly gave up, i always destroyed my distro somehow…

my solution for now is a docker image (based on ubunut 18.04 lts) where everything is inside and working see:
https://github.com/xeniter/limesdr_docker/
docker image is available under:
https://hub.docker.com/r/xeniter/ubuntu1804_limesdr_toolkit_v1/

#9

@xeniter, @fe8769,

GQRX is terribly broken and hasn’t been maintained in over a year. Some Lime users that have installed it with Ubuntu have gotten it to run marginally but because of firmware changes in the Lime and just the ongoing incompatibility of GQRX because of those firmware changes it’s truly broken. You’re much better off to install SDRAngel or SDRConsole for receiving with the Lime - those apps are constantly maintained and will continue to work with the LimeSDR.

Hope this helps - 73 de Marty, KN0CK