jj1bdx / airspy-fmradion

Software decoder for FM/AM broadcast radio with AirSpy R2 / Mini, Airspy HF+, and RTL-SDR
GNU General Public License v3.0
136 stars 19 forks source link

Airspy HF+ Firmware R4.0.8 and libairspyhf 1.8 support #77

Closed jj1bdx closed 3 months ago

jj1bdx commented 3 months ago

Compatibility tests with the new firmware R4.0.8-BB/CD of Airspy HF+ Dual Port/Discovery should be conducted.

Checklist:

Utilizing new functionality in the latest libairspyhf from airspy-fmradion AirspyHFSource driver will be another issue.

jj1bdx commented 3 months ago

Updating Airspy HF+ firmware from R3.0.7 to R4.0.8 was successfully performed on the three Discovery devices and one Dual Port device at KRPEO. The flash update was done with a Windows 11 machine. R4.0.8 was fully compatible with libairspyhf 1.6.8.

jj1bdx commented 3 months ago

Airspy HF+ Firmware changelog: https://airspy.com/downloads/hfplus_changelog.txt

jj1bdx commented 3 months ago

libairspyhf 1.8 (new version) tested without issues on macOS and Ubuntu.

jj1bdx commented 3 months ago

Note: for macOS Apple Silicon, you need to add precedence of /usr/local/lib/pkg-config for PKG_CONFIG_PATH as:

export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH}"

On Raspberry Pi OS, you also need the above script to take precedence of /usr/local/lib/pkgconfig to /usr/lib/pkgconfig.

jj1bdx commented 3 months ago

For Raspberry Pi OS 64bit Lite, you have to modify /etc/udev/rules.d/52-airspyhf.rules as:

ATTR{idVendor}=="03eb", ATTR{idProduct}=="800c", SYMLINK+="airspyhf-%k", TAG+="uaccess", MODE="660", GROUP="plugdev"
jj1bdx commented 3 months ago

libairspyhf 1.8 also tested and ran OK on Raspberry Pi OS 64bit Lite, provided the modification of /etc/udev/rules.d/52-airspyhf.rules added MODE="660", GROUP="plugdev".

jj1bdx commented 3 months ago

So basically R4.0.8 firmware works OK without issues, for libairspyhf both version 1.6.8 or 1.8.

jj1bdx commented 3 months ago

For Homebrew, reinstall airspyhf with --HEAD option to use libairspyhf 1.8, as:

brew remove airspyhf
brew install airspyhf --HEAD
jj1bdx commented 3 months ago

See also: https://github.com/airspy/airspyhf/issues/46

jj1bdx commented 3 months ago

On Ubuntu 22.04.4 LTS, the modification of /etc/udev/rules.d/52-airspyhf.rules added MODE="660", GROUP="plugdev" was also required.

jj1bdx commented 3 months ago

80 merged, so all the tasks are done.