Beta release of gr-osmosdr for Gnu Radio and GQRX
Posted: Sun Jan 14, 2018 1:15 am
Jeff Long has forked gr-osmosdr and added support for RSP1, RSP2/RSP2pro and RSP1A - this is currently in beta testing, but the plan is to get this pushed back into the master build of gr-osmosdr
We're currently testing it here, and this is what I've done to get Gnu Radio and GQRX installed. I've also listed Jeff's instructions to build and then run Gnu Radio/GQRX with the new gr-osmosdr interface library.
Please note: These are my test build instructions. If you already have Gnu Radio and GQRX installed/running, you can probably just go down to where the gr-osmosdr build instructions are.
Ultimately, we'll work with Jeff to find a better way to deliver this to our customers, but for now, like a lot of Linux software, this requires a lot of building. This first section installs Gnu Radio and GQRX into your local directory. This should help to avoid corrupting any system installs of these applications you have.
This all assumes you have downloaded and installed the API from our website (https://www.sdrplay.com/downloads) - please make sure you get the right API installation for your system.
sudo apt install python-pip
pip install PyBOMBS
pip install --upgrade pip
pip install git+https://github.com/gnuradio/pybombs.git
instead of
sudo pip install --upgrade git+https://github.com/gnuradio/pybombs.git
pybombs auto-config
pybombs recipes add-defaults
mkdir ~/prefix
pybombs prefix init ~/prefix -a myprefix -R gnuradio-default
pybombs -p myprefix install gqrx
Build new gr-osmosdr (use whatever directory suits you for the installation instead of my ~/gr-osmosdr)...
git clone https://github.com/willcode/gr-osmosdr
cd gr-osmosdr
git checkout sdrplay2
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=~/gr-osmosdr -DENABLE_NONFREE=yes ..
make
mkdir ~/gr-osmosdr
make install
Run Gnu Radio with the new gr-osmosdr...
source ~/prefix/setup_env.sh
LD_LIBRARY_PATH=~/gr-osmosdr/lib:$LD_LIBRARY_PATH \
PYTHONPATH=~/gr-osmosdr/lib/python-2.7/dist-packages:$PYTHONPATH \
gnuradio-companion
Run GQRX with the new gr-osmosdr...
source ~/prefix/setup_env.sh
LD_LIBRARY_PATH=~/gr-osmosdr/lib:$LD_LIBRARY_PATH \
PYTHONPATH=~/gr-osmosdr/lib/python-2.7/dist-packages:$PYTHONPATH \
gqrx
When the master gr-osmosdr is updated, the building and running of these applications should be easier. Please note that this is all still in beta, please post any feedback and comments you have. The more feedback Jeff gets, the better implementation he'll be able to deliver.
Best regards,
Andy
SDRplay Software Development
We're currently testing it here, and this is what I've done to get Gnu Radio and GQRX installed. I've also listed Jeff's instructions to build and then run Gnu Radio/GQRX with the new gr-osmosdr interface library.
Please note: These are my test build instructions. If you already have Gnu Radio and GQRX installed/running, you can probably just go down to where the gr-osmosdr build instructions are.
Ultimately, we'll work with Jeff to find a better way to deliver this to our customers, but for now, like a lot of Linux software, this requires a lot of building. This first section installs Gnu Radio and GQRX into your local directory. This should help to avoid corrupting any system installs of these applications you have.
This all assumes you have downloaded and installed the API from our website (https://www.sdrplay.com/downloads) - please make sure you get the right API installation for your system.
sudo apt install python-pip
pip install PyBOMBS
pip install --upgrade pip
pip install git+https://github.com/gnuradio/pybombs.git
instead of
sudo pip install --upgrade git+https://github.com/gnuradio/pybombs.git
pybombs auto-config
pybombs recipes add-defaults
mkdir ~/prefix
pybombs prefix init ~/prefix -a myprefix -R gnuradio-default
pybombs -p myprefix install gqrx
Build new gr-osmosdr (use whatever directory suits you for the installation instead of my ~/gr-osmosdr)...
git clone https://github.com/willcode/gr-osmosdr
cd gr-osmosdr
git checkout sdrplay2
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=~/gr-osmosdr -DENABLE_NONFREE=yes ..
make
mkdir ~/gr-osmosdr
make install
Run Gnu Radio with the new gr-osmosdr...
source ~/prefix/setup_env.sh
LD_LIBRARY_PATH=~/gr-osmosdr/lib:$LD_LIBRARY_PATH \
PYTHONPATH=~/gr-osmosdr/lib/python-2.7/dist-packages:$PYTHONPATH \
gnuradio-companion
Run GQRX with the new gr-osmosdr...
source ~/prefix/setup_env.sh
LD_LIBRARY_PATH=~/gr-osmosdr/lib:$LD_LIBRARY_PATH \
PYTHONPATH=~/gr-osmosdr/lib/python-2.7/dist-packages:$PYTHONPATH \
gqrx
When the master gr-osmosdr is updated, the building and running of these applications should be easier. Please note that this is all still in beta, please post any feedback and comments you have. The more feedback Jeff gets, the better implementation he'll be able to deliver.
Best regards,
Andy
SDRplay Software Development