PINE64
HackRF on Pine64... - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: PostmarketOS on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=124)
+---- Thread: HackRF on Pine64... (/showthread.php?tid=11338)



HackRF on Pine64... - mh4it - 09-08-2020

Cant really find any information about HackRF on Alpine online.

Shooting for this first..
https://github.com/pavsa/hackrf-spectrum-analyzer

Does anyone have information about getting HackRF running?
I have found alternative APK equivalent packages for LibUSB, FFTW, and default-jdk.

Linux:
  1. To run, ensure these packages are installed (exact name depends on distro):

    libusb-1.0 libfftw3 default-jdk
  2. Newer openjdk might work also, not tested. On Ubuntu 18.04:

    sudo apt install libusb-1.0 libfftw3-bin default-jdk
  3. Follow the HackRF USB permissions setup - you have to add rules to udev to allow hackrf library to open the HackRF USB device, it does not work by default.
  4.   --> "(The following things have been tested on Ubuntu and Gentoo and may need to be adapted to other Linux distributions. In particular, your distro may have a group named something other than plugdev for this purpose.)
    To do that, you need to create a new rules file in the
    Code:
    /etc/udev/rules.d
  5. folder. I called mine
    Code:
    52-hackrf.rules
  6. . Here is the content:
    Code:
    ATTR{idVendor}=="1d50", ATTR{idProduct}=="604b", SYMLINK+="hackrf-jawbreaker-%k", MODE="660", GROUP="plugdev"
    ATTR{idVendor}=="1d50", ATTR{idProduct}=="6089", SYMLINK+="hackrf-one-%k", MODE="660", GROUP="plugdev"
    ATTR{idVendor}=="1fc9", ATTR{idProduct}=="000c", SYMLINK+="hackrf-dfu-%k", MODE="660", GROUP="plugdev"
  7. "
"



See Also: https://github.com/mossmann/hackrf