SoapySDRUtil

Z Poznámkový blok
Verze z 21. 9. 2019, 16:35, kterou vytvořil Tydyt (diskuse | příspěvky) (Building SoapyOsmo)
Přejít na: navigace, hledání

Poznámka:

  • MSi.SDR = Mirics MSi2500 default (e.g. VTX3D card)- miri-sdr soapysdr-module-mirisdr

https://www.sdrplay.com/community/viewtopic.php?t=2181

Potřebné balíčky pro kompilaci

sudo apt-get install git cmake g++ libpython-dev python-numpy swig

Stažení z githubu a vlastní kompilace knihovny

git clone https://github.com/pothosware/SoapySDR.git
cd SoapySDR

git pull origin master 

mkdir build
cd build
cmake ..
make -j4
sudo make install

sudo ldconfig #needed on debian systems
SoapySDRUtil --info
cat /etc/udev/rules.d/66-mirics.rules

#USB devices
SUBSYSTEM=="usb" ATTR{idVendor}=="1df7" ATTR{idProduct}=="2500" MODE:="0666"
SUBSYSTEM=="usb" ATTR{idVendor}=="1df7" ATTR{idProduct}=="3010" MODE:="0666"
SUBSYSTEM=="usb",ENV{DEVTYPE}=="usb_device",ATTRS{idVendor}=="1df7",ATTRS{idProduct}=="2500",MODE:="0666"
SUBSYSTEM=="usb",ENV{DEVTYPE}=="usb_device",ATTRS{idVendor}=="1df7",ATTRS{idProduct}=="3010",MODE:="0666"

You will need to blacklist the kernel drivers (msi001, msi2500, sdr_msi3101) and install the API and SoapySDRPlay library. There is a non-Windows workflow document on our downloads (http://www.sdrplay.com/downloads) page.

Je potřeba vytvorit bleklist:

nano /etc/modprobe.d/blacklist.conf

blacklist sdr_msi3101
blacklist msi001
blacklist msi2500

Building SoapyOsmo

sudo apt-get update

sudo apt-get install libboost-all-dev
sudo apt-get install osmo-sdr libosmosdr-dev
sudo apt-get install miri-sdr libmirisdr-dev
sudo apt-get install airspy libairspy-dev


git clone https://github.com/pothosware/SoapyOsmo.git
cd SoapyOsmo && mkdir build && cd build
cmake ..
make && sudo make install && sudo ldconfig