-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hackrf_start_rx_sweep() failed: feature not supported by installed firmware (-1005) #84
Comments
Pretty much means that your HackRF One's firmware doesn't match the API used by |
now it says: hackrf_start_rx_sweep() pipe error (-1000) |
I am getting not able to get QSA to grab my SDR (HackRF One) either by using soapy or by hackrf_sweep settings.
C:\Program Files\QSpectrumAnalyzer>SoapySDRUtil --probe="driver=hackrf" Soapy SDR -- the SDR abstraction library###################################################### Probe device driver=hackrf [INFO] Opening HackRF One #0 17c467dc299e5ec3... -- Device identificationdriver=HackRF OK so sounds excellent so far however....however... Xmikos...I need, we need, your help to resolve why QSA is sometimes not hooking in the SDR...if missing the QSA Control menu is just a result of SDR not being hooked into QSA. Ask any questions, Ready to try whatever you wish or need. I am not a programmer per se, but I can edit and tinker with your direction. |
Same error on my side with Ubuntu 20.04 and HackRF Firmware 2018.01.1. It works on Kali current version with the same HackRF One. Output on Ubuntu: hackrf_sweep -f 2400:2500 -B -w 100000 -l 16 -g 24 call hackrf_sample_rate_set(20.000 MHz) Output hackrf_info on Kali: hackrf_info version: unknown Output on Ubuntu: hackrf_info version: git-52851ee I installed both hackrf tools via apt. QSpectrumanalyzer via git and pip3 install from https://github.com/xmikos/qspectrumanalyzer |
I had the same error, here is the problem : You have installed an old library for "libhackrf0" that doesn't handle the sweep mode. What you need to do is :
In the end, in my case, upgrading the hackrf firmware was useless because I had already a sweep compatible version, but hey, it's always better to have the latest version of the firmware anyway, so in my case again, the only issue was that I had installed, with GQRX and QSpectrumanalyzer package installers, an old version of the libhackrf0 not handling the hackrf sweep mode. Kind regards, Stman. Crypto-Anarchist Federation |
Thank you stman! Rebuilding the libhackrf0 solved it!! Now QSpectrumanalyzer works fantastic! BR |
Output fields:
date, time, hz_low, hz_high, hz_bin_width, num_samples, dB, dB, . . .
hackrf_sweep params:
{'bin_size': 1000.0,
'crop': 0,
'device': 0,
'gain': 40,
'hops': 0,
'interval': 0,
'lna_gain': 16,
'ppm': 0,
'sample_rate': 20000000.0,
'single_shot': False,
'start_freq': 2.0,
'stop_freq': 6002.0,
'vga_gain': 24}
call hackrf_sample_rate_set(20.000 MHz)
call hackrf_baseband_filter_bandwidth_set(15.000 MHz)
Sweeping from 2 MHz to 6002 MHz
hackrf_start_rx_sweep() failed: feature not supported by installed firmware (-1005)
Usage:
[-h] # this help
[-d serial_number] # Serial number of desired HackRF
[-a amp_enable] # RX RF amplifier 1=Enable, 0=Disable
[-f freq_min:freq_max] # minimum and maximum frequencies in MHz
[-p antenna_enable] # Antenna port power, 1=Enable, 0=Disable
[-l gain_db] # RX LNA (IF) gain, 0-40dB, 8dB steps
[-g gain_db] # RX VGA (baseband) gain, 0-62dB, 2dB steps
[-n num_samples] # Number of samples per frequency, 8192-4294967296
[-w bin_width] # FFT bin width (frequency resolution) in Hz
[-1] # one shot mode
[-N num_sweeps] # Number of sweeps to perform
[-B] # binary output
[-I] # binary inverse FFT output
-r filename # output file
Output fields:
date, time, hz_low, hz_high, hz_bin_width, num_samples, dB, dB, . . .
I get this when I run qspectrumanalyzer. Have tried older firmware same result.
The text was updated successfully, but these errors were encountered: