greatscottgadgets / hackrf

low cost software radio platform
https://greatscottgadgets.com/hackrf/
GNU General Public License v2.0
6.53k stars 1.52k forks source link

Gnu Radio does not have osmocom for HackRF #965

Closed ciric50 closed 2 years ago

ciric50 commented 3 years ago

Steps to reproduce

  1. Installed hackrf through synaptic
  2. Followed the steps at https://wiki.gnuradio.org/index.php/InstallingGR to install gnuradio
  3. Plug in HackRF and run hackrf_info. Seems fine.
  4. Run gnuradio and follow the first tutorial for hackrf.

Expected behaviour

Should be an osmocom driver to get input from the hackrf

Actual behaviour

There is no osmocom block in gnuradio

Version information

Linux Mint 20.1 Ulyssa GRC version 3.9.2.0

hackrf_info output: hackrf_info version: unknown libhackrf version: unknown (0.5) Found HackRF Index: 0 Serial number: 0000000000000000f77c60dc2a784fc3 Board ID Number: 2 (HackRF One) Firmware Version: 2021.03.1 (API:1.04) Part ID Number: 0xa000cb3c 0x006a4764

ciric50 commented 3 years ago

UPDATE: I installed gr-osmosdr and then had a osmocom source block in GRC, but I got the following errors. Appears GRC is still not recognizing hackrf.

qt5ct: using qt5ct plugin gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.1.0 built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp [INFO] [UHD] linux; GNU C++ version 9.2.1 20200304; Boost_107100; UHD_3.15.0.0-2build5 [ERROR] [USRP2] USRP2 Network discovery error send_to: Operation not permitted [ERROR] [X300] X300 Network discovery error send_to: Operation not permitted [ERROR] [OCTOCLOCK] OctoClock network discovery error - send_to: Operation not permitted [ERROR] [UHD] Device discovery error: send_to: Operation not permitted [ERROR] [UHD] Device discovery error: send_to: Operation not permitted [ERROR] [USRP2] USRP2 Network discovery error send_to: Operation not permitted [ERROR] [X300] X300 Network discovery error send_to: Operation not permitted [ERROR] SoapySSDPEndpoint::sendTo(udp://239.255.255.250:1900) = -1 sendto(udp://239.255.255.250:1900) [1: Operation not permitted] [ERROR] [UHD] Device discovery error: send_to: Operation not permitted [ERROR] [UHD] Device discovery error: send_to: Operation not permitted [INFO] Using format CF32.

straithe commented 2 years ago

Thanks for reaching out! I need a few more details in order to help you out.

straithe commented 2 years ago

I'm going to close this as there hasn't been a response in a while, but please re-open this issue or open a new one if you still need assistance.