Ubuntu 16.04 and SDRPlay don't work
Posted: Sun Aug 07, 2016 3:45 am
I tried to get the SDRPlay running unter Linux, but I have a lot of trouble.
No configurations works without problems or crachs.
1.)
sudo apt-get update && apt-get upgrade
2.)
Download the latest API from sdrplay and install it
(SDRplay_RSP_MiricsAPI-Linux-1.95.3.run)
3.)
I use the file Mirics_SDR_API_Linux_install_technote_r2p0.pdf for compile all necessary sources.
gqrx works and I get a spectrum from the device. But if I change the sample rate, the hole system freeze after a few seconds. I did not find a entry in the logs or a core dump.
4.)
I try to install CubeSDR. I use this description:
https://github.com/cjcliffe/CubicSDR/wiki/Build-Linux
The soapy + liquid-dsp + wxwidget seems to work. But if I start CubicSDR, I get an illegal instruction and CubicSDR crash.
I added the command "ulimit -c unlimited" and tries again.
I get a core file and if I open ddd ./CubicSDR core and start the debugger, I get a problem in liquid-dsp/src/nco/src/nco.c
5.)
I try to install soapy and gqrx via the ppa
See https://github.com/pothosware/pothos/wiki/Ubuntu & http://gqrx.dk/download/install-ubuntu
gqrx found a Mircis MSSI2500 default/Device String miri=0, but it is not possible to slelect an input rate and I did not get a spectrum or audio.
If I start gqrx in an terminal, I get this output:
->
If I start gqrx agian, I get:
msi2500 and msi001 are blacklisted.
But the driver is not available:
Between Step 3/4/5, I deleted all files via make uninstall or used apt-get autoremove and rebooted.
Any Idea how to get a running SDRPlay?
73 Andreas, DL2FZN
No configurations works without problems or crachs.
1.)
sudo apt-get update && apt-get upgrade
2.)
Download the latest API from sdrplay and install it
(SDRplay_RSP_MiricsAPI-Linux-1.95.3.run)
3.)
I use the file Mirics_SDR_API_Linux_install_technote_r2p0.pdf for compile all necessary sources.
gqrx works and I get a spectrum from the device. But if I change the sample rate, the hole system freeze after a few seconds. I did not find a entry in the logs or a core dump.
4.)
I try to install CubeSDR. I use this description:
https://github.com/cjcliffe/CubicSDR/wiki/Build-Linux
The soapy + liquid-dsp + wxwidget seems to work. But if I start CubicSDR, I get an illegal instruction and CubicSDR crash.
I added the command "ulimit -c unlimited" and tries again.
I get a core file and if I open ddd ./CubicSDR core and start the debugger, I get a problem in liquid-dsp/src/nco/src/nco.c
5.)
I try to install soapy and gqrx via the ppa
See https://github.com/pothosware/pothos/wiki/Ubuntu & http://gqrx.dk/download/install-ubuntu
gqrx found a Mircis MSSI2500 default/Device String miri=0, but it is not possible to slelect an input rate and I did not get a spectrum or audio.
If I start gqrx in an terminal, I get this output:
->
Code: Select all
No user supplied config file. Using "default.conf"
gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.9
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya
Using Volk machine: sse4_2_64_orc
FM demod gain: 1.52789
IQ DCR alpha: 1.04166e-05
Using audio backend: auto
New filter offset: 0 Hz
BookmarksFile is /home/xx/.config/gqrx/bookmarks.csv
Loading configuration from: "default.conf"
Configuration file: "/home/xx/.config/gqrx/default.conf"
No change in output device:
old:
new:
New FFT rate: 25 Hz
Requested bandwidth: 0 Hz
Actual bandwidth : 0 Hz
setFreqCorr : 0 ppm
New LNB LO: 0 Hz
updateHWFrequencyRange failed fetching new hardware frequency range
New mode index: 0
Filter preset for mode 0 LO: 0 HI: 0
setFftRate to "25 fps"
New FFT rate: 25 Hz
New FFT rate: 25 Hz
setFftSize to "8192"
New FFT rate: 25 Hz
Launching I/O device editor
firstTimeConfig
CIoConfig : Available input devices:
0 : "Mirics MSi2500 default (e.g. VTX3D card)"
1 : "RFSPACE SDR-IQ Receiver"
2 : "RFSPACE SDR-IP Receiver"
3 : "RFSPACE NetSDR Receiver"
4 : "RFSPACE Cloud-IQ Receiver"
5 : "RTL-SDR Spectrum Server"
6 : "Red Pitaya Transceiver Server"
7 : "Complex Sampled (IQ) File"
CIoConfig : Available output devices:
0 : "Built-in Audio Analog Stereo"
Code: Select all
..
Using device #0: Mirics MSi2500 default (e.g. VTX3D card)
usb_claim_interface error -6
FATAL: Failed to open mirisdr device.
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.
********************
********************
--
Code: Select all
SoapySDRUtil -probe
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################
Probe device
----------------------------------------------------
-- Device identification
----------------------------------------------------
driver=SDRPlay
hardware=SDRPlay
mir_sdr_version=1.950000
----------------------------------------------------
-- 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: YES
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
Code: Select all
SoapySDRUtil -check=SDRPlay
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################
Loading modules... done
Checking driver 'SDRPlay'... MISSING!
Any Idea how to get a running SDRPlay?
73 Andreas, DL2FZN