Installation
Debian
Install soapysdr0.6, soapysdr-tools, and libsoapysdr-tools using apt
Download SoapyHackRF from github, compile and install
If you have any soapySDR modules other than hackrf, move them out of the modules0.6 folder (usually in /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6, or /usr/local/lib/SoapySDR/modules0.6
Compile osmocom-analog-hackrf using the instructions at eversberg.eu
On your ./configure command, use the following arguments --with-soapy, and optionally, --with-alsa
Use
Ensure that you have two HackRFs plugged into your machine. I recommend plugging the CLKOUT into the CLKIN of the other HackRF to ensure they are synchronized to the same clock frequency. If you have any other SDRs that might interfere with the software, it's recommended to remove them. Here is an example of a command for AMPS that worked with the HackRF:
amps --sdr-soapy --sdr-rx-gain 40 --sdr-tx-gain 10 -s 1000000 -k 334 -k 326 --sdr-lo-offset 0 --sdr-samplerate 10000000