scateu / kalibrate-hackrf

kalibrate for hackrf
BSD 2-Clause "Simplified" License
267 stars 78 forks source link

Scan freeze at first frequency #22

Closed andreoua closed 5 years ago

andreoua commented 5 years ago

When executing any type of scan it will begin and remain at the first frequency it tries. For example if I execute:

$ ./kal -s GSM900 -v

It will go through the init steps and remain at

hackrf_init()
hackrf_open()
hackrf_set_sampe_rate(8000000)
hackrf: set gain 0/0/0
kal: Scanning for GSM-900 base stations.
hackrf_set_freq 935200000

I compiled it on a fresh Debian 9 install running inside VBox on Win10.

andreoua commented 5 years ago

I figured it out as soon I posted the issue. Leaving it here in case some else comes across this issue as well.

The root cause appears to have been the USB controller option selected in VirtualBox. I had initially had it at USB1.1 and then at USB 3.0. I didn't work under either option. Once I changed it to USB 2.0 it worked flawlessly.