linux mint 18.1 sdrplay, windows xp look
this is a howto how i have install it on Mint 18.1


CubicSDR

cqelog, fldigi and wjst-x

qsstv

last shot is from my ubuntu 16.04 in apple style
now i tell you how i all heve install on Linux mint 18.1 it works on ubuntu 16.04 too only then you get 2 error in the install script from gnu radio
press
Code: Select all
ctrl+alt+T
first install linuxmint 18.1 i have use this version https://www.linuxmint.com/edition.php?id=226 if you not know how here are the docs https://www.linuxmint.com/documentation.php
Code: Select all
sudo apt update && sudo apt upgrade
sudo locale-gen --purge –no-archive (https://forums.linuxmint.com/viewtopic.php?t=111527)
Code: Select all
cd ~/ && mkdir source && cd source
Code: Select all
chmod +x SDRplay_RSP_API-Linux-2.10.1.run
sudo ./SDRplay_RSP_API-Linux-2.10.1.run
sudo ldconfig
Code: Select all
sudo apt install -y git build-essential automake cmake swig
sudo apt install -y libpulse-dev libgtk-3-dev
sudo apt install -y freeglut3 freeglut3-dev
Build SoapySDR
Code: Select all
git clone https://github.com/pothosware/SoapySDR.git
cd SoapySDR
mkdir build && cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release
make -j4 && sudo make install && sudo ldconfig
cd ~/source
Build SoapyRemote
Code: Select all
git clone https://github.com/pothosware/SoapyRemote.git
cd SoapyRemote
mkdir build && cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release
make && sudo make install && sudo ldconfig
cd ~/source
Build SoapyAudio
Code: Select all
git clone https://github.com/pothosware/SoapyAudio.git
cd SoapyAudio
mkdir build && cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release
make && sudo make install sudo ldconfig
cd ~/source
SoapySDRUtil --probe]######################################################
## Soapy SDR -- the SDR abstraction library
######################################################
Lib Version: v0.6.0-g74f890ce
API Version: v0.6.0
ABI Version: v0.6
Install root: /usr/local
Search path: /usr/local/lib/SoapySDR/modules0.6
Module found: /usr/local/lib/SoapySDR/modules0.6/libaudioSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libremoteSupport.so
Loading modules... done
Available factories...audio, null, remote,
Build and install liquid-dsp######################################################
## Soapy SDR -- the SDR abstraction library
######################################################
Probe device
----------------------------------------------------
-- Device identification
----------------------------------------------------
driver=Audio
hardware=Audio
device_id=0
origin=https://github.com/pothosware/SoapyAudio
----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
Channels: 1 Rx, 0 Tx
Timestamps: NO
Other Settings:
* Stereo Sample Offset - Offset stereo samples for off-by-one audio inputs.
[key=sample_offset, default=0, type=string, options=(-2, -1, 0, 1, 2)]
----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
Full-duplex: YES
Supports AGC: YES
Stream formats: CS8, CS16, CF32
Native format: CS16 [full-scale=65536]
Stream args:
* Channel Setup - Input channel configuration.
[key=chan, default=mono_l, type=string, options=(mono_l, mono_r, stereo_iq, stereo_qi)]
Antennas: RX
Full gain range: [0, 0] dB
Full freq range: [0, 6000] MHz
RF freq range: [0, 6000] MHz
Sample rates: 0.008, 0.016, 0.02205, 0.032, 0.0441, 0.048, 0.096 MSps
Code: Select all
git clone https://github.com/jgaeddert/liquid-dsp
cd liquid-dsp
./bootstrap.sh
CFLAGS="-march=native -O3" ./configure --enable-fftoverride
make -j4 && sudo make install && sudo ldconfig
cd ~/source
Code: Select all
wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxWidgets-3.1.0.tar.bz2
tar -xvjf wxWidgets-3.1.0.tar.bz2
cd wxWidgets-3.1.0/
mkdir -p ~/Develop/wxWidgets-staticlib
./autogen.sh
./configure --with-opengl --disable-shared --enable-monolithic --with-libjpeg --with-libtiff --with-libpng --with-zlib --disable-sdltest --enable-unicode --enable-display --enable-propgrid --disable-webkit --disable-webview --disable-webviewwebkit --prefix=`echo ~/Develop/wxWidgets-staticlib` CXXFLAGS="-std=c++0x"
make -j4 && make install
cd ~/source
http://www.hamlib.org
Build Hamlibs
Code: Select all
sudo apt install texinfo
git clone https://github.com/N0NB/hamlib.git
cd hamlib
./autogen.sh
make && sudo make install
cd ~/source
Code: Select all
sudo apt-get install libhamlib2 libhamlib-utils libhamlib++-dev libhamlib-dev libhamlib-doc python-libhamlib2
Code: Select all
git clone https://github.com/cjcliffe/CubicSDR.git
cd CubicSDR
mkdir build && cd build
cmake ../ -DUSE_HAMLIB=1 -DCMAKE_BUILD_TYPE=Release -DwxWidgets_CONFIG_EXECUTABLE=~/Develop/wxWidgets-staticlib/bin/wx-config
make
cd x64/
./CubicSDR then close it
cd ..
sudo make install && sudo ldconfig
cd ~/source
Code: Select all
git clone https://github.com/pothosware/SoapySDRPlay.git
cd SoapySDRPlay
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make && sudo make install && sudo ldconfig
cd ~/source
SoapySDRUtil –probe######################################################
## Soapy SDR -- the SDR abstraction library
######################################################
Lib Version: v0.6.0-g74f890ce
API Version: v0.6.0
ABI Version: v0.6
Install root: /usr/local
Search path: /usr/local/lib/SoapySDR/modules0.6
Module found: /usr/local/lib/SoapySDR/modules0.6/libaudioSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libremoteSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libsdrPlaySupport.so
Loading modules... done
Available factories...audio, null, remote, sdrplay,
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################
Probe device
fwDownload: FW image size = 6083
mir_sdr_usb_GetDevices Dev0:vid=1df7 pid=3010 rev=0207 serno=160505Cxxx bus=002 port=001 devAvail=1
----------------------------------------------------
-- Device identification
----------------------------------------------------
driver=Audio
hardware=Audio
device_id=0
origin=https://github.com/pothosware/SoapyAudio
----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
Channels: 1 Rx, 0 Tx
Timestamps: NO
Other Settings:
* Stereo Sample Offset - Offset stereo samples for off-by-one audio inputs.
[key=sample_offset, default=0, type=string, options=(-2, -1, 0, 1, 2)]
----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
Full-duplex: YES
Supports AGC: YES
Stream formats: CS8, CS16, CF32
Native format: CS16 [full-scale=65536]
Stream args:
* Channel Setup - Input channel configuration.
[key=chan, default=mono_l, type=string, options=(mono_l, mono_r, stereo_iq, stereo_qi)]
Antennas: RX
Full gain range: [0, 0] dB
Full freq range: [0, 6000] MHz
RF freq range: [0, 6000] MHz
Sample rates: 0.008, 0.016, 0.02205, 0.032, 0.0441, 0.048, 0.096 MSps
Code: Select all
sudo apt-get install \
libnuma-dev \
libpython-dev python-numpy \
qtbase5-dev libqt5svg5-dev libqt5opengl5-dev libqwt-qt5-dev \
portaudio19-dev libjack-jackd2-dev \
graphviz
Code: Select all
sudo add-apt-repository -y ppa:pothosware/support
sudo add-apt-repository -y ppa:pothosware/framework
sudo apt-get update
sudo apt-get install \
libpoco-dev \
libspuce-dev \
libmuparserx-dev \
libpothos-serialization-dev
build pothos
Code: Select all
git clone --recursive https://github.com/pothosware/pothos.git
cd pothos
mkdir build && cd build
cmake ../ && make -j4 && sudo make install && sudo ldconfig
PothosUtil --self-tests
PothosGui
cd ~/source
Code: Select all
sudo apt install python-ply python-yaml python-mako
Code: Select all
cd ~/source
mkdir gnuradio
cd gnuradio
wget http://www.sbrac.org/files/build-gnuradio && chmod a+x build-gnuradio && ./build-gnuradio
cd ~/source
Build gr-osmosdr
Code: Select all
git clone git://git.osmocom.org/gr-osmosdr
cd gr-osmosdr/
mkdir build && cd build/
cmake ../ -DENABLE_NONFREE=TRUE
make && sudo make install && sudo ldconfig
cd ~/source
Code: Select all
https://github.com/pothosware/gr-pothos/wiki
git clone https://github.com/pothosware/gr-pothos.git
cd gr-pothos
mkdir build && cd build
#set CMAKE_INSTALL_PREFIX to match the GNU Radio install
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr/local
make -j8 && sudo make install && sudo ldconfig
cd ~/source
build csdr
Code: Select all
git clone https://github.com/simonyiszk/csdr.git
cd csdr
make && sudo make install && sudo ldconfig
cd ~/source
Code: Select all
https://github.com/rxseger/rx_tools
git clone https://github.com/rxseger/rx_tools
cd rx_tools
mkdir build && cd build
cmake ..
make && sudo make install && sudo ldconfig
Code: Select all
blacklist sdr_msi3101
blacklist msi001
blacklist msi2500
SoapySDRUtil --find
cd ~/######################################################
## Soapy SDR -- the SDR abstraction library
######################################################
mir_sdr_usb_GetDevices Dev0:vid=1df7 pid=3010 rev=0207 serno=160505CXXX bus=002 port=001 devAvail=1
Found device 0
default_input = True
default_output = True
device_id = 0
driver = audio
label = PulseAudio
Found device 1
driver = sdrplay
label = SDRplay Dev0 RSP2 160505CXXX
git clone https://github.com/simonyiszk/openwebrx.git
cd openwebrx
nano config_webrx.py
https://github.com/simonyiszk/openwebrx ... -OpenWebRX
copy the Step #4: Edit OpenWebRX configuration in the config_webrx.py
soapy_device_query="0" change this part to soapy_device_query="driver=sdrplay"
to run
Code: Select all
python2 openwebrx.py