{"id":13579740,"url":"https://github.com/airspy/airspyone_host","last_synced_at":"2025-12-18T11:16:46.224Z","repository":{"id":13953034,"uuid":"16653180","full_name":"airspy/airspyone_host","owner":"airspy","description":"AirSpy's usemode driver and associated tools","archived":false,"fork":false,"pushed_at":"2025-01-26T09:17:42.000Z","size":822,"stargazers_count":255,"open_issues_count":2,"forks_count":94,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-04-08T10:34:17.669Z","etag":null,"topics":["c","libusb"],"latest_commit_sha":null,"homepage":"http://airspy.com","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/airspy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-02-08T21:07:21.000Z","updated_at":"2025-04-05T01:13:45.000Z","dependencies_parsed_at":"2024-08-01T15:31:11.611Z","dependency_job_id":"07946c36-6ea3-4355-9b5d-8d0ca0470c3a","html_url":"https://github.com/airspy/airspyone_host","commit_stats":{"total_commits":174,"total_committers":21,"mean_commits":8.285714285714286,"dds":0.5977011494252873,"last_synced_commit":"6f92f47146aa8a8fce59b60927cf8c53da6851b3"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airspy%2Fairspyone_host","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airspy%2Fairspyone_host/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airspy%2Fairspyone_host/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airspy%2Fairspyone_host/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/airspy","download_url":"https://codeload.github.com/airspy/airspyone_host/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254436949,"owners_count":22070947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","libusb"],"created_at":"2024-08-01T15:01:42.598Z","updated_at":"2025-12-18T11:16:45.864Z","avatar_url":"https://github.com/airspy.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"AirSpy\n======\n\nA tiny and efficient software defined radio.\n\nThis repository contains host software (Linux/Windows) for AirSpy, a project to\nproduce a low cost, open source software radio platform.\n\nAirSpy: http://www.airspy.com\n\n## How to build host software on Windows:\n\n### For VisualStudio 2013 or later:\n\n* `git clone https://github.com/airspy/airspyone_host.git host`\n* Download https://github.com/libusb/libusb/releases/download/v1.0.20/libusb-1.0.20.7z\n* Extract **libusb-1.0.20.7z** to host directory\n  * You should have **host\\libusb-1.0.20**\n    * Inside this directory there is README.txt, libusb-1.0.def and some directories\n* Download ftp://mirrors.kernel.org/sourceware/pthreads-win32/pthreads-w32-2-9-1-release.zip\n* Extract **pthreads-w32-2-9-1-release.zip** to host directory\n  * You should have **host\\libpthread-2-9-1-win**\n    * Inside this directory there is lot of README files and some directories (dll, include, lib)\n* Launch host\\libairspy\\vc\\airspy_2013.sln with VisualStudio 2013, choose **Release** and **Build Solution**\n\n### Windows MSYS2/mingw64\n- Install MSYS2/mingw64 from https://www.msys2.org\n- Start mingw64 console\n- `pacman -Syu`\n- `pacman -S git mingw-w64-x86_64-make mingw-w64-x86_64-pkgconf mingw-w64-x86_64-gcc mingw-w64-x86_64-libusb`\n\n- For Windows OS less than Vista Install Windows driver for AirSpy hardware or use Zadig see http://sourceforge.net/projects/libwdi/files/zadig\n  - If you want to use Zadig  select AirSpy USB device and just install/replace it with WinUSB driver.\n \n\u003e**Note for Windows build:**\n You shall always execute airspy_tools from Windows command shell and not from Cygwin or Mingw shell because on Cygwin/Mingw\n Ctrl C is not managed correctly and especially for airspy_rx the Ctrl C(abort) will not stop correctly and will corrupt the file.\n\n```\ngit clone https://github.com/airspy/airspyone_host.git host\ncd host\nmkdir build\ncd build\n```\n\n#### Release version\n```\ncmake ../ -G \"MinGW Makefiles\"\nmingw32-make.exe clean all\n```\n- Optional copy libusb-1.0.dll \u0026 libwinpthread-1.dll to same directory as the executable(if it is not in your path)\n  - `cp /mingw64/bin/libusb-1.0.dll ./airspy-tools/src/`\n  - `cp /mingw64/bin/libwinpthread-1.dll ./airspy-tools/src/`\n\n#### Debug version\n```\ncmake ../ -G \"MinGW Makefiles\" -DCMAKE_BUILD_TYPE=Debug\nmingw32-make.exe clean all\n```\n- Optional copy libusb-1.0.dll \u0026 libwinpthread-1.dll to same directory as the executable(if it is not in your path)\n  - `cp /mingw64/bin/libusb-1.0.dll ./airspy-tools/src/`\n  - `cp /mingw64/bin/libwinpthread-1.dll ./airspy-tools/src/`\n\n## How to build the host software on Linux:\n\n### Prerequisites for Linux (Debian/Ubuntu/Raspbian):\n\n\n`sudo apt-get install build-essential cmake libusb-1.0-0-dev pkg-config`\n\n\n### Build host software on Linux:\n\n```\nwget https://github.com/airspy/airspyone_host/archive/master.zip\nunzip master.zip\ncd airspyone_host-master\nmkdir build\ncd build\ncmake ../ -DINSTALL_UDEV_RULES=ON\nmake\nsudo make install\nsudo ldconfig\n```\n\n## Clean CMake temporary files/dirs:\n```\ncd airspyone_host-master/build\nrm -rf *\n```\n## How to build host software on FreeBSD.\n\n### Get the prerequisites (from root)\n\n`pkg install git cmake`\n\n### Build\n```\ngit clone https:\\\\github.com\\airspy\\airspyone_host.git\ncd airspyone_host\nmkdir build\ncd build\ncmake .. -DLIBUSB_LIBRARIES=/usr/lib/libusb.so\nmake\n```\n(from root)\n`make install`\n\n### Add users to group plugdev\n\n(from root)\n`usermod -a -G plugdev \u003cuser\u003e`\n\n## Principal authors:\n\nBenjamin Vernoux \u003cbvernoux@gmail.com\u003e and Youssef Touil \u003cyoussef@airspy.com\u003e \n\n\nhttp://www.airspy.com\n\nThis file is part of AirSpy (based on HackRF project see http://greatscottgadgets.com/hackrf/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairspy%2Fairspyone_host","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fairspy%2Fairspyone_host","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairspy%2Fairspyone_host/lists"}