How to install version 3.15 uhd driver (source code compilation and installation)

About how to install the old version of uhd (3.15.0.0)

Add dedicated users and groups for usrp

sudo /usr/sbin/groupadd  usrp
sudo /usr/sbin/usermod -a -G usrp $USER
sudo gedit /etc/security/limits.conf 
sudo cp uhd/host/utils/uhd-usrp.rules /etc/udev/rules.d/10-usrp.rules
sudo chown root /etc/udev/rules.d/10-usrp.rules 
sudo chgrp root /etc/udev/rules.d/10-usrp.rules 

The corresponding software sources that need to be installed

sudo apt-get install autoconf automake build-essential ccache cmake cpufrequtils doxygen ethtool g++ git inetutils-tools libboost-all-dev libncurses5 libncurses5-dev libusb-1.0-0 libusb-1.0-0-dev libusb-dev python3-dev python3-mako python3-numpy python3-requests python3-scipy python3-setuptools python3-ruamel.yaml 

The process of downloading source code from the official website and compiling it

git clone https://gitee.com/rssdr/uhd
cd uhd/

git checkout v3.15.0.0
cd host/
mkdir build
cd build/
cmake ..
make -j36
sudo make install
sudo ldconfig

Download related images of uhd

sudo uhd_images_downloader 

sudo uhd_images_downloader -t b2 
sudo uhd_images_downloader -t x3

uhd_find_devices 
uhd_usrp_probe 

uhd_usrp_probe --args=type=b200

Expand the cache during uhd transmission

sudo sysctl -w net.core.rmem_max=128000000
sudo sysctl -w net.core.wmem_max=128000000

Guess you like

Origin blog.csdn.net/daijingxin/article/details/122464109