gdstorrick Posted August 10, 2019 Share Posted August 10, 2019 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 Quote Link to comment Share on other sites More sharing options...
gdstorrick Posted August 10, 2019 Author Share Posted August 10, 2019 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) Quote Link to comment Share on other sites More sharing options...
gdstorrick Posted August 10, 2019 Author Share Posted August 10, 2019 Thank you to Jérôme for giving me this solution: sudo nano / etc / default / tlp Then add the following line: USB_BLACKLIST = "1d50:6089 1d50:604b" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.