pothosware / SoapySDR

Vendor and platform neutral SDR support library.
https://github.com/pothosware/SoapySDR/wiki
Boost Software License 1.0
1.13k stars 180 forks source link

LimeSDR + SoapySDR + GNURadio + Mac OS X #131

Closed cfriedt closed 6 years ago

cfriedt commented 7 years ago

Hi, I've got a github project packaging GNURadio as a simple Mac OS X .app here. I've had success with several SDR's such as the B200 and RTL, but when it came to using the LimeSDR gr-osmosdr, although the device is recognized, I only get static on rx. There is definitely zero RF coming through. I've tried adjusting the gain via GNURadio and adjusting the frequency, but those do not seem to have any effect whatsoever.

The LimeSDR Quick Test works fine.

What's the status of LimeSDR + SoapySDR + GNURadio combination? Is it known to work? It seems that some of the hardware controls are missing..

<<< Welcome to GNU Radio Companion 3.7.10.1 >>>

Block paths:
    /Applications/GNURadio.app/Contents/MacOS/usr/share/gnuradio/grc/blocks

Loading: "/Users/cfriedt/Desktop/spectrum.grc"
>>> Done

Loading: "/Users/cfriedt/Desktop/simple.grc"
>>> Done

Loading: "/Users/cfriedt/Desktop/fm-receiver-wx.grc"
>>> Done

Loading: "/Users/cfriedt/Desktop/fm-receiver-qt.grc"
>>> Done

Generating: '/Users/cfriedt/Desktop/top_block.py'

Executing: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u /Users/cfriedt/Desktop/top_block.py

gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.10.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya 
[INFO] [UHDMac OS; Clang version 8.1.0 (clang-802.0.42); Boost_106300; UHD_3.11.0.local-master-233-g25fc32af] 
[INFO] Make connection: 'LimeSDR-USB [USB 2.0] 9060B00462F0D'
[INFO] Estimated reference clock 30.7196 MHz
[INFO] Selected reference clock 30.720 MHz
[INFO] Device name: LimeSDR-USB
[INFO] Reference: 30.72 MHz
[INFO] Init LMS7002M(0)
[INFO] LMS7002M cache /Users/cfriedt/.limesuite/LMS7002M_cache_values.db
[INFO] Ver=7, Rev=1, Mask=1
[INFO] LMS7002M calibration values caching Enable
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
[INFO] Rx Filter calibrated from cache
[INFO] Tx Filter calibrated from cache
[INFO] Rx Filter calibrated from cache
[INFO] Tx Filter calibrated from cache
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
MCU algorithm time: 11 ms
MCU Ref. clock: 30.72 MHz
MCU algorithm time: 159 ms
INFO: Audio sink arch: osx
INFO: 

Using output audio device 'Built-in Output'.
  ... which is the current default output audio device.
  Changing the default output audio device in the System Preferences will 
  result in changing it here, too (with an internal reconfiguration).

aUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUlibusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [libusb_exit] application left some devices open

>>> Done

Generating: '/Users/cfriedt/Desktop/top_block.py'

Executing: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u /Users/cfriedt/Desktop/top_block.py

gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.10.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya 
[INFO] [UHDMac OS; Clang version 8.1.0 (clang-802.0.42); Boost_106300; UHD_3.11.0.local-master-233-g25fc32af] 
[INFO] Make connection: 'LimeSDR-USB [USB 2.0] 9060B00462F0D'
[INFO] Estimated reference clock 30.7196 MHz
[INFO] Selected reference clock 30.720 MHz
[INFO] Device name: LimeSDR-USB
[INFO] Reference: 30.72 MHz
[INFO] Init LMS7002M(0)
[INFO] LMS7002M cache /Users/cfriedt/.limesuite/LMS7002M_cache_values.db
[INFO] Ver=7, Rev=1, Mask=1
[INFO] LMS7002M calibration values caching Enable
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
[INFO] Rx Filter calibrated from cache
[INFO] Tx Filter calibrated from cache
[INFO] Rx Filter calibrated from cache
[INFO] Tx Filter calibrated from cache
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
SetFrequency using cache values vco:0, csw:10
[INFO] Rx Filter calibrated from cache
INFO: Audio sink arch: osx
INFO: 

Using output audio device 'Built-in Output'.
  ... which is the current default output audio device.
  Changing the default output audio device in the System Preferences will 
  result in changing it here, too (with an internal reconfiguration).

[INFO] L 1392640
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [libusb_exit] application left some devices open

>>> Done

Generating: '/Users/cfriedt/Desktop/top_block.py'

Executing: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u /Users/cfriedt/Desktop/top_block.py

gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.10.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya 
[INFO] [UHDMac OS; Clang version 8.1.0 (clang-802.0.42); Boost_106300; UHD_3.11.0.local-master-233-g25fc32af] 
[INFO] Make connection: 'LimeSDR-USB [USB 2.0] 9060B00462F0D'
[INFO] Estimated reference clock 30.7196 MHz
[INFO] Selected reference clock 30.720 MHz
[INFO] Device name: LimeSDR-USB
[INFO] Reference: 30.72 MHz
[INFO] Init LMS7002M(0)
[INFO] LMS7002M cache /Users/cfriedt/.limesuite/LMS7002M_cache_values.db
[INFO] Ver=7, Rev=1, Mask=1
[INFO] LMS7002M calibration values caching Enable
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
[INFO] Rx Filter calibrated from cache
[INFO] Tx Filter calibrated from cache
[INFO] Rx Filter calibrated from cache
[INFO] Tx Filter calibrated from cache
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
SetFrequency using cache values vco:0, csw:10
[INFO] Rx Filter calibrated from cache
INFO: Audio sink arch: osx
INFO: 

Using output audio device 'Built-in Output'.
  ... which is the current default output audio device.
  Changing the default output audio device in the System Preferences will 
  result in changing it here, too (with an internal reconfiguration).

(top_block.py:34630): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34630): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34630): Gdk-CRITICAL **: gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(top_block.py:34630): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(top_block.py:34630): Gdk-CRITICAL **: gdk_draw_drawable: assertion 'GDK_IS_DRAWABLE (src)' failed

(top_block.py:34630): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34630): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34630): Gdk-CRITICAL **: gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(top_block.py:34630): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(top_block.py:34630): Gdk-CRITICAL **: gdk_draw_drawable: assertion 'GDK_IS_DRAWABLE (src)' failed

(top_block.py:34630): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34630): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34630): Gdk-CRITICAL **: gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(top_block.py:34630): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34630): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34630): Gdk-CRITICAL **: gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed
[INFO] L 1392640
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
SetFrequency using cache values vco:0, csw:10
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2

>>> Done

Generating: '/Users/cfriedt/Desktop/top_block.py'

Executing: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u /Users/cfriedt/Desktop/top_block.py

gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.10.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya 
[INFO] [UHDMac OS; Clang version 8.1.0 (clang-802.0.42); Boost_106300; UHD_3.11.0.local-master-233-g25fc32af] 
[INFO] Make connection: 'LimeSDR-USB [USB 2.0] 9060B00462F0D'
[INFO] Estimated reference clock 30.7197 MHz
[INFO] Selected reference clock 30.720 MHz
[INFO] Device name: LimeSDR-USB
[INFO] Reference: 30.72 MHz
[INFO] Init LMS7002M(0)
[INFO] LMS7002M cache /Users/cfriedt/.limesuite/LMS7002M_cache_values.db
[INFO] Ver=7, Rev=1, Mask=1
[INFO] LMS7002M calibration values caching Enable
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
[INFO] Rx Filter calibrated from cache
[INFO] Tx Filter calibrated from cache
[INFO] Rx Filter calibrated from cache
[INFO] Tx Filter calibrated from cache
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 2
SetFrequency using cache values vco:0, csw:10
[INFO] Rx Filter calibrated from cache
INFO: Audio sink arch: osx
INFO: 

Using output audio device 'Built-in Output'.
  ... which is the current default output audio device.
  Changing the default output audio device in the System Preferences will 
  result in changing it here, too (with an internal reconfiguration).

(top_block.py:34640): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34640): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34640): Gdk-CRITICAL **: gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(top_block.py:34640): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(top_block.py:34640): Gdk-CRITICAL **: gdk_draw_drawable: assertion 'GDK_IS_DRAWABLE (src)' failed

(top_block.py:34640): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34640): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34640): Gdk-CRITICAL **: gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(top_block.py:34640): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(top_block.py:34640): Gdk-CRITICAL **: gdk_draw_drawable: assertion 'GDK_IS_DRAWABLE (src)' failed

(top_block.py:34640): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34640): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34640): Gdk-CRITICAL **: gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(top_block.py:34640): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34640): Gdk-CRITICAL **: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(top_block.py:34640): Gdk-CRITICAL **: gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed
[INFO] L 1392640
guruofquality commented 7 years ago

could be the antenna selection mismatch? Theres three options LNAL, LNAH, LNAW which correspond to the ports named accordingly. Also the range of controllable gain is fairly wide, about 60 dB of range, so it might still be low gain, just a guess.