Hi,

I had the same problem but I solved doing the following:

remove the package with sudo apt-get remove hackrf and then:

sudo apt-get install git build-essential cmake libusb-1.0-0-dev liblog4cpp5-dev 
libboost-dev libboost-system-dev libboost-thread-dev 
libboost-program-options-dev swig
git clone https://github.com/mossmann/hackrf.git
cd hackrf/host
mkdir build && cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo ldconfig

Now everything should work and you'd be able to use hackrf_info and all the 
other hackrf commands.

Andrea

=====================
http://alphapapacharlie.com
http://kx3companion.com

Twitter: kx3companion
Skype: andreahaku

GPG public key: http://pimpmyea.com/andreahaku_pk.asc

Il giorno 17/set/2014, alle ore 22:05, David Maynor 
<[email protected]> ha scritto:

> Im having the same problem. You installed from package? I removed the package 
> and am currently building from the git repo to see if that clears it up.
> 
> From: Mehdi Asgari <[email protected]>
> Date: Wednesday, September 17, 2014 at 10:29 AM
> To: "[email protected]" <[email protected]>
> Subject: [Hackrf-dev] "HackRF One not found" occurs always
> 
> Hi
> 
> Every time that I execute ‘hackrf_info’, it gives the error 
> “HACKRF_ERROR_NOT_FOUND (-5)” , but when I execute the command instantly 
> after the first one, it shows my device’s info.
> Although there is no difference when I run the command via root. I’ve also 
> read and applied the advices in hackRF’s FAQ about this error, but again 
> there is no change. 
> 
> How can I troubleshoot it to find the cause?
> 
> I’m using hackRF One (Board ID number 2, firmware 2014.08.1) on Ubuntu 14.04 
> (Overall it works fine and for the test, I managed to get a FM station with 
> gqrx, but it always needs me to run every command like ‘gqrx’ twice, to be 
> able to use the hackRF)
> 
> Update: I also tested DFU boot (with the hackrf_one_usb_ram.dfu file), but 
> dfu-util gives me this in the end:
> 
> “Device returned transfer size 2048
> 
> DFU CRC does not match
> 
> Unsupported DFU file revision 0000"
> 
> Thanks
> 
> Mehdi
> 
> _______________________________________________
> HackRF-dev mailing list
> [email protected]
> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
HackRF-dev mailing list
[email protected]
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev

Reply via email to