SDRPlay Issues with Xubuntu 15.10 while building gnuradio-osmosdr

Post information or questions regarding SDRplay products here
corq
Posts: 11
Joined: Sat Jan 30, 2016 2:21 am

SDRPlay Issues with Xubuntu 15.10 while building gnuradio-osmosdr

Postby corq » Sat Jan 30, 2016 2:54 am

While I know 15.10 might be pushing the edge on support for SDRplay, I'm sort of agnostic about version stuff, I'd be willing to downgrade back to 14.10 if it helps. Also, I have previously build QtRadio and GQRX so not sure if something I've already build is causing conflict, but thought I'd post my logs before Reinstall 14.10.

Thanks for any guidance anyone has.


For whatever reason, I can't seem to attach the log file as a *.txt file so for better or worse, pasting here:

====================================================================================

Code: Select all

./SDRplay_RSP_MiricsAPI-1.9.4.run
Verifying archive integrity... All good.
Uncompressing SDRplay Mirics API Install Package V1.9.4  100% 
Installing SDRplay RSP Mirics API library...
Architecture: x86_64
API Version: 1.8.1
Remove old libraries...
Install /usr/local/lib/libmirsdrapi-rsp.so
Remove old header files...
Install /usr/local/include/mirsdrapi-rsp.h
Udev rules directory found, adding rules...
Libusb found, continuing...
Installing SoapySDRPlay...
Installing SoapySDR...
Finished.



root@corqbuntu:/opt# git clone git://git.osmocom.org/gr-osmosdr
Cloning into 'gr-osmosdr'...
remote: Counting objects: 3948, done.
remote: Compressing objects: 100% (2640/2640), done.
remote: Total 3948 (delta 2828), reused 1886 (delta 1270)
Receiving objects: 100% (3948/3948), 953.82 KiB | 475.00 KiB/s, done.
Resolving deltas: 100% (2828/2828), done.
Checking connectivity... done.

root@corqbuntu:/opt# cd gr-osmosdr/
root@corqbuntu:/opt/gr-osmosdr# ls
apps     cmake           COPYING  gnuradio-osmosdr.pc.in  include  MANIFEST.md  README
AUTHORS  CMakeLists.txt  docs     grc                     lib      python       swig

root@corqbuntu:/opt/gr-osmosdr# mkdir build

root@corqbuntu:/opt/gr-osmosdr# cd build/

root@corqbuntu:/opt/gr-osmosdr/build# cmake ../
-- The CXX compiler identification is GNU 5.2.1
-- The C compiler identification is GNU 5.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.5.0")
-- Extracting version information from git describe...
-- Configuring Boost C++ Libraries...
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   thread
--   system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
Checking for GNU Radio Module: RUNTIME
-- checking for module 'gnuradio-runtime'
--   found gnuradio-runtime, version 3.7.8
 * INCLUDES=/usr/include
 * LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
-- Found GNURADIO_RUNTIME: /usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so 
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: BLOCKS
-- checking for module 'gnuradio-blocks'
--   found gnuradio-blocks, version 3.7.8
 * INCLUDES=/usr/include
 * LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-blocks.so;/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
-- Found GNURADIO_BLOCKS: /usr/lib/x86_64-linux-gnu/libgnuradio-blocks.so;/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so 
GNURADIO_BLOCKS_FOUND = TRUE
Checking for GNU Radio Module: PMT
-- checking for module 'gnuradio-runtime'
--   found gnuradio-runtime, version 3.7.8
 * INCLUDES=/usr/include
 * LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
-- Found GNURADIO_PMT: /usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so 
GNURADIO_PMT_FOUND = TRUE
-- checking for module 'gnuradio-iqbalance'
--   found gnuradio-iqbalance, version 0
-- Found GNURADIO_IQBALANCE: /usr/lib/x86_64-linux-gnu/libgnuradio-iqbalance.so 
-- checking for module 'uhd'
--   found uhd, version 003.009.002-release
-- Found UHD: /usr/lib/x86_64-linux-gnu/libuhd.so 
-- checking for module 'gnuradio-uhd'
--   found gnuradio-uhd, version 3.7.8
-- Found gnuradio-uhd: /usr/include, /usr/lib/x86_64-linux-gnu/libgnuradio-uhd.so
-- Found GNURADIO_UHD: /usr/lib/x86_64-linux-gnu/libgnuradio-uhd.so 
-- checking for module 'gnuradio-fcd'
--   found gnuradio-fcd, version 3.7.8
-- Found gnuradio-fcd: /usr/include, /usr/lib/x86_64-linux-gnu/libgnuradio-fcd.so
-- Found GNURADIO_FCD: /usr/lib/x86_64-linux-gnu/libgnuradio-fcd.so 
-- checking for module 'gnuradio-fcdproplus'
--   found gnuradio-fcdproplus, version 0.0.1
-- Found gnuradio-fcdproplus: /usr/include, /usr/lib/x86_64-linux-gnu/libgnuradio-fcdproplus.so
-- Found GNURADIO_FCDPP: /usr/lib/x86_64-linux-gnu/libgnuradio-fcdproplus.so 
-- checking for module 'libosmosdr'
--   package 'libosmosdr' not found
-- libosmosdr not found.
-- checking for module 'librtlsdr'
--   found librtlsdr, version 0.5.3
-- Found librtlsdr: /usr/include, /usr/lib/x86_64-linux-gnu/librtlsdr.so
-- checking for module 'libmirisdr'
--   package 'libmirisdr' not found
-- libmirisdr not found.
-- checking for module 'libhackrf'
--   found libhackrf, version 0.4
-- Found LIBHACKRF: /usr/lib/x86_64-linux-gnu/libhackrf.so 
-- checking for module 'libairspy'
--   package 'libairspy' not found
-- Could NOT find LIBAIRSPY (missing:  LIBAIRSPY_LIBRARIES LIBAIRSPY_INCLUDE_DIRS)
-- checking for module 'libbladeRF'
--   package 'libbladeRF' not found
-- libbladeRF not found.
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.10", minimum required is "2")
--
-- Checking for module SWIG
-- Found SWIG version 2.0.12.
-- Found SWIG: /usr/bin/swig2.0 
-- 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 = FALSE
--   Disabling 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 = FALSE
--   Disabling 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
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.10", minimum required is "2")
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- 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
--   * RFSPACE Receivers
--   * SoapySDR support
--   * Red Pitaya SDR
--
-- ######################################################
-- # Gnuradio disabled components                       
-- ######################################################
--   * sysmocom OsmoSDR
--   * Osmocom MiriSDR
--   * nuand bladeRF
--   * AIRSPY Receiver
--
-- Building for version: v0.1.4-67-gac15e789 / 0.1.5git
-- Using install prefix: /usr/local
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/gr-osmosdr/build
root@corqbuntu:/opt/gr-osmosdr/build# make
Scanning dependencies of target gnuradio-osmosdr
[  2%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/source_impl.cc.o
[  5%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/sink_impl.cc.o
[  7%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/ranges.cc.o
[ 10%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/device.cc.o
[ 13%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/time_spec.cc.o
[ 15%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/fcd/fcd_source_c.cc.o
[ 18%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_source_c.cc.o
[ 21%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_sink_c.cc.o
[ 23%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o
[ 26%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_f.cc.o
[ 28%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_c.cc.o
[ 31%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_sink_c.cc.o
[ 34%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_source_c.cc.o
[ 36%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_source_c.cc.o
[ 39%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_sink_c.cc.o
[ 42%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rfspace/rfspace_source_c.cc.o
[ 44%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_source_c.cc.o
[ 47%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_sink_c.cc.o
[ 50%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_source_c.cc.o
[ 52%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_sink_c.cc.o
[ 55%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_common.cc.o
Linking CXX shared library libgnuradio-osmosdr.so
CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_source_c.cc.o: In function `soapy_source_c::get_devices[abi:cxx11]()':
soapy_source_c.cc:(.text+0x2627): undefined reference to `SoapySDR::Device::enumerate(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)'
CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_source_c.cc.o: In function `soapy_source_c::soapy_source_c(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
soapy_source_c.cc:(.text+0x3355): undefined reference to `SoapySDR::Device::make(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)'
CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_sink_c.cc.o: In function `soapy_sink_c::get_devices[abi:cxx11]()':
soapy_sink_c.cc:(.text+0x2347): undefined reference to `SoapySDR::Device::enumerate(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)'
CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_sink_c.cc.o: In function `soapy_sink_c::soapy_sink_c(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
soapy_sink_c.cc:(.text+0x3078): undefined reference to `SoapySDR::Device::make(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)'
collect2: error: ld returned 1 exit status
lib/CMakeFiles/gnuradio-osmosdr.dir/build.make:599: recipe for target 'lib/libgnuradio-osmosdr.so.0.1.5git' failed
make[2]: *** [lib/libgnuradio-osmosdr.so.0.1.5git] Error 1
CMakeFiles/Makefile2:121: recipe for target 'lib/CMakeFiles/gnuradio-osmosdr.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
 
Last edited by corq on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

admin
Site Admin
Posts: 5
Joined: Mon Dec 01, 2014 12:41 pm

Re: SDRPlay Issues with Xubuntu 15.10 while building gnuradio-osmosdr

Postby admin » Sat Jan 30, 2016 7:07 am

Hi,

It's possible that the SoapySDR installed with the API isn't compatible with that version of gr-osmosdr or something with it is broken on 15.10

With the RSP connected, does this run without errors from a terminal window...

SoapySDRUtil --probe=sdrplay

If so, then you may just need an updated version of SoapySDR and SoapySDRPlay, you can get those to compile here:

https://github.com/pothosware/SoapySDR/wiki
https://github.com/pothosware/SoapySDRPlay/wiki

Best regards,

SDRplay
Last edited by admin on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

corq
Posts: 11
Joined: Sat Jan 30, 2016 2:21 am

Re: SDRPlay Issues with Xubuntu 15.10 while building gnuradio-osmosdr

Postby corq » Sat Jan 30, 2016 3:27 pm

Thanks for the help! I've detached all other perifs that use usb other than the radio and my keyboard/mouse Logitech dongle. The libusb claim interface is interesting.


currently the output is:

root@corqbuntu:/opt/gr-osmosdr/build# SoapySDRUtil --probe=sdrplay
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Probe device sdrplay
mir_sdr_Init: starting hardware initialization
mir_sdr_Init: gR=40dB fs=2.048MHz rf=222.064MHz bw=1.536MHz if=0.000MHz

mir_sdr_usb_USB DLL: Revision 0.1.1

Warning: libusb_claim_interface() -6

mir_sdr_2500_Init: fnaddr = 2 detected, trying to change...

mir_sdr_2500_Init: fnaddr = 10

mir_sdr_2500_Init: adjusting squelch trim 0x1, rx gating enable 1, tx_trim 0, reg2 = 0x4801
initHw: Register7 = 0x000005
initHw: Tuner Register0 = 0x04f440
mir_sdr_SetFs: Sample Freq requested 2047999.978065
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2048000.0+0.0Hz=2048000.0Hz FsToggle->1
mir_sdr_SetRf: f->222064000.000Hz (int=25 frac=20 afc=0) fSynth:3553024000.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=222064000.0+0.0+0.0Hz+0.0Hz=222064000.0Hz RfToggle->1
mir_sdr_SetGr: GR->40[16,24,0,0] gRset->0x210 DCCALmode=4 DCCALspd=1 GrToggle->1
setToggleStates: initialising sampNum=0x0001f802, gainSetting=0x210, FsToggle=0, RfToggle=0, GrToggle=0
setToggleStates: initialising Fs=2047999.978, Rf=222064000.000, Gr=40
mir_sdr_2500_Readback001Trim: readback = 0xe301610
mir_sdr_2500_Bypass001Trim: reg13=0x20d reg14=0x6c016e

----------------------------------------------------
-- Device identification
----------------------------------------------------
driver=SDRPlay
hardware=SDRPlay
mir_sdr_version=1.700000

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
Channels: 1 Rx, 0 Tx
Timestamps: NO
Other Settings:
* Low IF (when available) - Use low IF when available: 0.5MHz SR with 200 and 300khz BW, 1MHz SR with 600kHz BW, 2048kHz SR with 1536kHz BW
[key=use_low_if, default=true, type=bool]
* IF Mode - IF frequency in kHz
[key=if_mode, default=Zero-IF, type=string, options=(Zero-IF, 450kHz, 1620kHz, 2048kHz)]

----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
Full-duplex: YES
Supports AGC: NO
Stream formats: CS16, CF32
Native format: CS16 [full-scale=2048]
Antennas: RX
Corrections: DC removal, DC offset
Full gain range: [0, 204] dB
TUNER gain range: [0, 102] dB
LNAT gain range: [0, 102] dB
Full freq range: [0.1, 2000] MHz
RF freq range: [0.1, 2000] MHz
Sample rates: [0.222222, 12] MHz
Filter bandwidths: [0.2, 8] MHz

Additionally I re-seated the SDRPlay and there everything looks normal, the "claim interface" messages doesn't change.

[143434.641703] usb 5-4: USB disconnect, device number 10
[143436.809819] usb 5-4: new high-speed USB device number 11 using ehci-pci
[143436.942081] usb 5-4: New USB device found, idVendor=1df7, idProduct=2500
[143436.942088] usb 5-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[143436.945263] msi2500 5-4:1.0: Registered as swradio0
[143436.945269] msi2500 5-4:1.0: SDR API is still slightly experimental and functionality changes may follow

Should I push forward with updating soapySDR?
Last edited by corq on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 626
Joined: Wed Jan 07, 2015 7:58 am

Re: SDRPlay Issues with Xubuntu 15.10 while building gnuradio-osmosdr

Postby sdrplay » Sat Jan 30, 2016 4:00 pm

can you post the output of:

lsmod

Best regards,

SDRplay
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

9a4db
Posts: 14
Joined: Sun Jan 24, 2016 6:44 pm

Re: SDRPlay Issues with Xubuntu 15.10 while building gnuradio-osmosdr

Postby 9a4db » Sat Jan 30, 2016 8:18 pm

Hi,
Here have almost the same problem...

CubicSDR working OK
but GRC and GQRX no luck so far, SDRPlay not available for both...
all on Ubuntu 14.04 LTS 32 bit
73
Djani

This is my output->
q@q-3000-N100:~/gr-osmosdr/build$ SoapySDRUtil --probe=sdrplay
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Probe device sdrplay
mir_sdr_Init: starting hardware initialization
mir_sdr_Init: gR=40dB fs=2.048MHz rf=222.064MHz bw=1.536MHz if=0.000MHz

mir_sdr_usb_USB DLL: Revision 0.1.1

Warning: libusb_claim_interface() -6

mir_sdr_2500_Init: revisionId = 0x0200, doing FW update
fwDownload: FW image size = 6008
mir_sdr_usb_USB DLL: Revision 0.1.1

Warning: libusb_claim_interface() -6

mir_sdr_2500_Init: fnaddr = 8

mir_sdr_2500_Init: adjusting squelch trim 0x1, rx gating enable 1, tx_trim 0, reg2 = 0x4801
initHw: Register7 = 0x000005
initHw: Tuner Register0 = 0x04f440
mir_sdr_SetFs: Sample Freq requested 2047999.978065
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2048000.0+0.0Hz=2048000.0Hz FsToggle->1
mir_sdr_SetRf: f->222064000.000Hz (int=25 frac=20 afc=0) fSynth:3553024000.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=222064000.0+0.0+0.0Hz+0.0Hz=222064000.0Hz RfToggle->1
mir_sdr_SetGr: GR->40[16,24,0,0] gRset->0x210 DCCALmode=4 DCCALspd=1 GrToggle->1
setToggleStates: initialising sampNum=0x000201d6, gainSetting=0x210, FsToggle=0, RfToggle=1, GrToggle=1
setToggleStates: initialising Fs=2047999.978, Rf=222064000.000, Gr=40
mir_sdr_2500_Readback001Trim: readback = 0xe301810
mir_sdr_2500_Bypass001Trim: reg13=0x20d reg14=0x6c018e

----------------------------------------------------
-- Device identification
----------------------------------------------------
driver=SDRPlay
hardware=SDRPlay
mir_sdr_version=1.700000

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
Channels: 1 Rx, 0 Tx
Timestamps: NO
Other Settings:
* Low IF (when available) - Use low IF when available: 0.5MHz SR with 200 and 300khz BW, 1MHz SR with 600kHz BW, 2048kHz SR with 1536kHz BW
[key=use_low_if, default=true, type=bool]
* IF Mode - IF frequency in kHz
[key=if_mode, default=Zero-IF, type=string, options=(Zero-IF, 450kHz, 1620kHz, 2048kHz)]

----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
Full-duplex: YES
Supports AGC: NO
Stream formats: CS16, CF32
Native format: CS16 [full-scale=2048]
Antennas: RX
Corrections: DC removal, DC offset
Full gain range: [0, 204] dB
TUNER gain range: [0, 102] dB
LNAT gain range: [0, 102] dB
Full freq range: [0.1, 2000] MHz
RF freq range: [0.1, 2000] MHz
Sample rates: [0.222222, 12] MHz
Filter bandwidths: [0.2, 8] MHz


q@q-3000-N100:~/gr-osmosdr/build$ lsmod
Module Size Used by
nls_utf8 16384 1
isofs 40960 1
ctr 16384 1
ccm 20480 1
cuse 16384 3
bnep 20480 2
rfcomm 61440 8
msi001 16384 1
msi2500 24576 0
videobuf2_vmalloc 16384 1 msi2500
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_core 49152 1 msi2500
v4l2_common 16384 3 msi2500,msi001,videobuf2_core
videodev 139264 4 msi2500,msi001,v4l2_common,videobuf2_core
media 24576 1 videodev
snd_hda_codec_hdmi 49152 1
snd_hda_codec_realtek 69632 1
snd_hda_codec_generic 65536 1 snd_hda_codec_realtek
pcmcia 53248 0
coretemp 16384 0
snd_hda_intel 32768 4 snd_hda_codec_hdmi
snd_hda_controller 32768 1 snd_hda_intel
snd_hda_codec 122880 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep 16384 1 snd_hda_codec
joydev 20480 0
r852 20480 0
sm_common 20480 1 r852
arc4 16384 2
nand 69632 2 r852,sm_common
nand_ecc 16384 1 nand
nand_bch 16384 1 nand
bch 20480 1 nand_bch
snd_pcm 94208 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 28672 1 snd_seq_midi
serio_raw 16384 0
iwl3945 65536 0
snd_seq 57344 2 snd_seq_midi_event,snd_seq_midi
yenta_socket 40960 0
lpc_ich 20480 0
iwlegacy 90112 1 iwl3945
r592 20480 0
nand_ids 12288 1 nand
mac80211 618496 2 iwl3945,iwlegacy
memstick 16384 1 r592
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
mtd 57344 2 nand,sm_common
i915 921600 3
cfg80211 450560 3 iwl3945,iwlegacy,mac80211
pcmcia_rsrc 20480 1 yenta_socket
pcmcia_core 24576 3 pcmcia,pcmcia_rsrc,yenta_socket
drm_kms_helper 114688 1 i915
drm 282624 5 i915,drm_kms_helper
snd_timer 28672 2 snd_pcm,snd_seq
btusb 36864 0
i2c_algo_bit 16384 1 i915
snd 69632 17 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
bluetooth 430080 22 bnep,btusb,rfcomm
video 20480 1 i915
soundcore 16384 2 snd,snd_hda_codec
shpchp 32768 0
mac_hid 16384 0
parport_pc 32768 0
ppdev 20480 0
lp 16384 0
parport 40960 3 lp,ppdev,parport_pc
sdhci_pci 20480 0
firewire_ohci 36864 0
psmouse 102400 0
firewire_core 65536 1 firewire_ohci
8139too 32768 0
crc_itu_t 16384 1 firewire_core
8139cp 28672 0
pata_acpi 16384 0
sdhci 45056 1 sdhci_pci
mii 16384 2 8139cp,8139too
q@q-3000-N100:~/gr-osmosdr/build$

Last edited by 9a4db on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 626
Joined: Wed Jan 07, 2015 7:58 am

Re: SDRPlay Issues with Xubuntu 15.10 while building gnuradio-osmosdr

Postby sdrplay » Sun Jan 31, 2016 5:23 am

You seem to have the same issue with the port being blocked.

What version of the kernel do you have? please tape the following in a terminal window and post the result:

uname -a

Thanks,

SDRplay
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

corq
Posts: 11
Joined: Sat Jan 30, 2016 2:21 am

Re: SDRPlay Issues with Xubuntu 15.10 while building gnuradio-osmosdr

Postby corq » Sun Jan 31, 2016 5:44 am

Actually rolled back to 14.04 before I saw this message and grabbed the info too late :(

Working now currently on 14.04:
root@corqbox:~# uname -a
Linux corqbox 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Last edited by corq on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 626
Joined: Wed Jan 07, 2015 7:58 am

Re: SDRPlay Issues with Xubuntu 15.10 while building gnuradio-osmosdr

Postby sdrplay » Sun Jan 31, 2016 6:04 am

Thanks,

I'm on 3.13 and the module I'm thinking of came in at 3.17 so if you are not having a problem in 3.19 then either it's not active or it must be something else.

I'll have to get a 15.10 install here and investigate. Will send you something to test when I've found the problem.

Best regards,

SDRplay
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

9a4db
Posts: 14
Joined: Sun Jan 24, 2016 6:44 pm

Re: SDRPlay Issues with Xubuntu 15.10 while building gnuradio-osmosdr

Postby 9a4db » Sun Jan 31, 2016 8:44 am

Thank you, here ->
q@q-3000-N100:~$ uname -a
Linux q-3000-N100 3.19.0-47-generic #53~14.04.1-Ubuntu SMP Mon Jan 18 16:09:43 UTC 2016 i686 i686 i686 GNU/Linux

73
Djani
Last edited by 9a4db on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

corq
Posts: 11
Joined: Sat Jan 30, 2016 2:21 am

Re: SDRPlay Issues with Xubuntu 15.10 while building gnuradio-osmosdr

Postby corq » Sun Jan 31, 2016 6:33 pm

So had a little time, and knowing I can reinstall 14.xx and get it working, thought I'd push ahead and to a clean install of 15.10 from scratch:

Code: Select all

# uname -a
Linux CORQBUNTU 4.2.0-25-generic #30-Ubuntu SMP Mon Jan 18 12:31:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux


Code: Select all

# lsb_release -a
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 15.10
Release:   15.10
Codename:   wily


API seems to install fine, trouble happens when I move to install SoapySDR stuff (version from SDRPlay linux instructions):

Code: Select all

root@CORQBUNTU:/opt/SoapySDR/build# SoapySDRUtil --info
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

API Version: v0.4.1-g0768722a
ABI Version: v0.4-2
Install root: /usr/local
Module found: /usr/local/lib/SoapySDR/modules/libsdrPlaySupport.so
Loading modules... [ERROR] SoapySDR::loadModule(/usr/local/lib/SoapySDR/modules/libsdrPlaySupport.so)
  dlopen() failed: /usr/local/lib/SoapySDR/modules/libsdrPlaySupport.so: undefined symbol: _ZN8SoapySDR6Device18setFrontendMappingEiRKSs
done
Available factories...null,
Last edited by corq on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason


Return to “SDRplay related”

Who is online

Users browsing this forum: No registered users and 7 guests