[Hackrf-dev] Hackrf1 with gnuradio 3.7.11 win64.msi

Gavin Jacobs apriljunkbox at hotmail.com
Tue Jun 12 17:44:31 EDT 2018


Dominic Spill
The windows msi package for 3.7.11 includes rtl and hackrf drivers in gr-osmosdr, so it should work.

jf.devois,

Here are some suggestions to narrow down the problem.

In Windows, start a Command window and navigate to:
C:\Program Files\GNURadio-3.7\bin

Then type this command:
rtl_test

You should see something like this:
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00005201
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
[R82XX] PLL not locked!
Sampling at 2048000 S/s.

If you see the above, then you will have to type ^C to stop rtl_test.
BUT if you get an error message, then you will probably have to run the ZADIG program to updage the USB driver. Here is the link: https://zadig.akeo.ie/ Once you have done that, you can proceed with the next test.


Zadig - USB driver installation made easy<https://zadig.akeo.ie/>
Zadig is a Windows application that installs generic USB drivers, such as WinUSB, libusb-win32/libusb0.sys or libusbK, to help you access USB devices.. It can be especially useful for cases where:
zadig.akeo.ie


In the same Command window you used above, type this command:
hackrf_info

You should get something like this:
hackrf_info version: 2017.02.1
libhackrf version: 2017.02.1 (0.5)
Found HackRF
Index: 0
Serial number: xxx
Board ID Number: 2 (HackRF One)
Firmware Version: 2017.02.1 (API:1.02)
Part ID Number: xxx

If that works, then gnuradio companion should also work.

Hope that helps,
Jake



________________________________
From: HackRF-dev <hackrf-dev-bounces at greatscottgadgets.com> on behalf of jf.devois at gmail.com <jf.devois at gmail.com>
Sent: June 12, 2018 1:11 PM
To: Dominic Spill
Cc: hackrf-dev
Subject: Re: [Hackrf-dev] Hackrf1 with gnuradio 3.7.11 win64.msi



________________________________
jf.devois at gmail.com

From: Dominic Spill<mailto:dominicgs at gmail.com>
Date: 2018-06-12 18:17
To: jf.devois at gmail.com<mailto:jf.devois at gmail.com>
CC: hackrf-dev<mailto:hackrf-dev at greatscottgadgets.com>
Subject: Re: [Hackrf-dev] Hackrf1 with gnuradio 3.7.11 win64.msi
On 12 June 2018 at 04:12, jf.devois at gmail.com<mailto:jf.devois at gmail.com> <jf.devois at gmail.com<mailto:jf.devois at gmail.com>> wrote:
>
> I'm a french physics teacher not a computer expert
> I use hackRf1 with grc  on a  Pentoo  Linux   USB stick boot      with my students in electronics  since 2 years to measure emission reception levels
> with an hackrf1 for emission and a DBTV  USB stick for reception   both on the same computer
> (I have been unable to install GRC  under a Linux system otherwise)
>
> I now try to use GRC/HackRF1   under Windows 7 ( which is my usual computer system)
> The new .msi   gnuradio windows installation   3.7.11   works   in my computer   under windows 7

Where did the .msi file come from?  could you give us a link to the download?

> GRC works without using external  sources and sinks
> But   it doesn't   works   with Hackrf1  (osmocom source)    it creates a python.exe  bug
>
> I tried with  the  DBTV  USB stick    rtlsdr source :  grc doesn't   communicate with the usb  ( null source instead)
>
> Do I need a pilot or something else  to run  osmocom and   rtlsdr sources  with GRC  under windows 7?

I suspect this is because while the .msi contained GNU Radio, GRC, and gr-osmosdr, it doesn't include the libraries required for using HackRF or the RTL-SDR devices that gr-osmosdr uses.

I don't have much experience of using them, but I've heard good things about the binary packages hosted here: http://downloads.myriadrf.org/builds/PothosSDR/

Thanks,
  Dominic

Thank you for your answer
I tried to run GRC from the Pothos  installation but GRC is unable to find my Python 2.7 already installed
I'll tried to reinstall  Python 2.7

Sincerely
JF Devois

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>      Garanti sans virus. www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20180612/c7ae80b4/attachment.html>


More information about the HackRF-dev mailing list