AirSpy's usemode driver and associated tools
C CMake
Clone or download


A tiny and efficient software defined radio.

This repository contains host software (Linux/Windows) for AirSpy, a project to produce a low cost, open source software radio platform.


How to build host software on Windows:

Prerequisites for mingw:

Note for Windows build: You shall always execute airspy_tools from Windows command shell and not from Cygwin or Mingw shell because on Cygwin/Mingw Ctrl C is not managed correctly and especially for airspy_rx the Ctrl C(abort) will not stop correctly and will corrupt the file.

For VisualStudio 2013 or later:

  • git clone host
  • Download
  • Extract libusb- to host directory
    • You should have host\libusb-1.0.20
      • Inside this directory there is README.txt, libusb-1.0.def and some directories
  • Download
  • Extract to host directory
    • You should have host\libpthread-2-9-1-win
      • Inside this directory there is lot of README files and some directories (dll, include, lib)
  • Launch host\libairspy\vc\airspy_2013.sln with VisualStudio 2013, choose Release and Build Solution

For MinGW:

git clone host

cd host

mkdir build

cd build

Normal version:

cmake ../ -G "MSYS Makefiles" -DLIBUSB_INCLUDE_DIR=/usr/local/include/libusb-1.0/

Debug version:

cmake ../ -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Debug -DLIBUSB_INCLUDE_DIR=/usr/local/include/libusb-1.0/


make install

How to build the host software on Linux:

Prerequisites for Linux (Debian/Ubuntu/Raspbian):

sudo apt-get install build-essential cmake libusb-1.0-0-dev pkg-config

Build host software on Linux:



cd airspyone_host-master

mkdir build

cd build



sudo make install

sudo ldconfig

Clean CMake temporary files/dirs:

cd airspyone_host-master/build

rm -rf *

How to build host software on FreeBSD.

Get the prerequisites (from root)

pkg install git cmake


git clone https:\\\airspy\airspyone_host.git

cd airspyone_host

mkdir build

cd build

cmake .. -DLIBUSB_LIBRARIES=/usr/lib/


(from root) make install

Add users to group plugdev

(from root) useradd -a -G plugdev <user>

Principal authors:

Benjamin Vernoux and Youssef Touil

This file is part of AirSpy (based on HackRF project see