pavsa / hackrf-spectrum-analyzer

GNU General Public License v3.0
635 stars 97 forks source link

Ver 1.6 install shows as 1.5, also won't run #58

Open Patnetpatnet opened 1 year ago

Patnetpatnet commented 1 year ago

Installed v1.6 but when I run it it shows as v1.5 in the HackRF Settings dialog box next to the Visit Homepage button.

Also in Windows 10 the HackRF won't run, shows HackRF disconnected.

The HackRF device connected OK previously to an earlier version of hackrf-spectrum-analyzer + Zadig before I upgraded the HackRF firmware to 2023. The device also runs OK on other software CubicSDR is OK, for example. Hackrf info shows 2023 firmware. Device shows in Device Manager.

rapbando commented 1 year ago

Facing exactly same issues and older versions also show "hackRF disconnected" so I guess is a [Firmware 2023.01.1] problem.

rapbando commented 1 year ago

@pavsa Could you check why with that FW it shows disconnected?

silabs-KrisY commented 1 year ago

@pavsa I am experiencing this same issues. I rebuilt from source, and that resolved the version issue. It seems the 1.6 release artifact on this repo is actually the 1.5 version of the jar file. However, even with the self built 1.6 version of the jar, I still can't connect to my hackrf which is running fw 2023.01.01. I have used Zadig to set the driver to WinUSB. My other hackrf tools (like "hackrf_info") can find and connect to my hackrf just fine, it's just the embedded version of hackrf_sweep that is not able to find it.

Starting hackrf_sweep... 2400-2500MHz
hackrf_sweep params:  freq 2400-2500MHz  FFTBin 100000Hz  samples 8192  lna: 40 vga: 0 antenna_lna: false
hackrf_open() failed: HackRF not found (-5)

I did a bit of debug, and libusb is just not finding the device. libusb_init() is successful, but libusb_open_device_with_vid_pid() isn't returning anything.