Jump to content

New User: GRC forgets how to find my HackRF_One - can anyone help?


Recommended Posts

Installing and running GNURadio-companion and getting it to work on Windows 10 was easy. Not so on Linux, but after seven full days of trials and repeated failure, I now have my HackRF working with GNURadio-companion on my Ubuntu laptop; however, every time I execute a radio, I have to disconnect and reconnect the HackRF or else GNURadio-companion can not find the HackRF again. Any quick suggestions on how to improve its memory?

For anyone that is interested, my installation started with resetting my Dell XPS13 to a factory-fresh Ubuntu 18.04 configuration, then executing the following commands:
 

sudo apt-get install build-essential cmake libusb-1.0-0-dev pkg-config libfftw3-dev
git clone https://github.com/mossmann/hackrf.git
cd hackrf/host
mkdir build && cd build
cmake ../
make
sudo make install
sudo ldconfig
rm -rf *
hackrf_info


cd ~
sudo apt-get install gnuradio gnuradio-dev gr-iqbal
sudo apt install gqrx-sdr
sudo apt install git
git clone git://git.osmocom.org/gr-osmosdr
cd gr-osmosdr
mkdir build && cd build
cmake ../
make
sudo make install
sudo ldconfig
gnuradio-companion

 

Link to comment
Share on other sites

More info: Connection appears to work at random:

$ hackrf_info
hackrf_info version: git-509c8f4
libhackrf version: git-509c8f4 (0.5)
Found HackRF
Index: 0
hackrf_open() failed: Input/Output Error (-1000)
$ hackrf_info
hackrf_info version: git-509c8f4
libhackrf version: git-509c8f4 (0.5)
Found HackRF
Index: 0
hackrf_open() failed: Input/Output Error (-1000)
$ hackrf_info
hackrf_info version: git-509c8f4
libhackrf version: git-509c8f4 (0.5)
Found HackRF
Index: 0
Serial number: 000000000000000087c8<SNIP>
Board ID Number: 2 (HackRF One)
Firmware Version: 2017.02.1 (API:1.02)
Part ID Number: 0xa000<SNIP> 0x005<SNIP>
$ hackrf_info
hackrf_info version: git-509c8f4
libhackrf version: git-509c8f4 (0.5)
Found HackRF
Index: 0
hackrf_open() failed: Input/Output Error (-1000)

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...