[Hackrf-dev] Installing hackrf pacakge - simple question PLEASE !

Anon Lister listeranon at gmail.com
Sun Jul 16 22:15:40 EDT 2017


You need to checkout/cd into the hackrf project from git first:

git clone https://github.com/mossmann/hackrf
cd hackrf
mkdir host/build
cd host/build
cmake ..
make
sudo make install
sudo ldconfig



On Jul 16, 2017 8:21 PM, "Jerry" <jsternmd at att.net> wrote:

Cinaed,

This is new ground for me and all I'm looking for is a little friendly
advice.   My questions are relevant to this forum because they have to do
with device specific installation instructions. I'm an old (69yo) analog
vacuum tube guy trying to make it in the digital age.  I would like to play
with my HackRF instead of spending countless hours just trying to understand
the nuances between OS, different versions of Ubuntu, different versions of
hackrf software, different dependencies, etc which still have left me un
able to communicate with my HackRF yielding  -- 'hackrf_open() failed:
HACKRF_ERROR_LIBUSB (-1000)'

I would like to install the hackrf software on to a fresh install of Ubuntu
16.04.2 LTS.  I did an update and upgrade afterwards then the only
installation instructions I could find for the 2017 hackrf version was in
current hackrf github repository host README.md.

The file says

##How to build the host software on Linux:

###Prerequisites for Linux (Debian/Ubuntu): sudo apt-get install
build-essential cmake libusb-1.0-0-dev pkg-config libfftw3-dev

So I ran it and it did its thing without errors.

Next instruction says:
###Build host software on Linux:

mkdir host/build
cd host/build
cmake ..
make
sudo make install
sudo ldconfig

I could not get past the first line, even running it as sudo but Google is
good and  said the current version of Ubuntu wants : 'mkdir -p host/build'


OK that works and cd host/build and ran

cmake ..

It could not find the CMakeLists.txt in host or host/build.

I hope you can sympathize with me--- the noobie -- who just bought a HackRF
One wanting to jump into the game and I cannot get through the front door.

Sorry for the mini-digest but I cannot frame my question any more concisely.

Jerry NY2KW

-----Original Message-----
From: HackRF-dev [mailto:hackrf-dev-bounces at greatscottgadgets.com] On Behalf
Of Cinaed Simson
Sent: Sunday, July 16, 2017 2:31 PM
To: hackrf-dev at greatscottgadgets.com
Subject: Re: [Hackrf-dev] 1. Help Installing HackRF on Ubuntu for Linux
Newbie (Jerry)

Hey that is a great way to mask your question - send a digest!

Was your question even in the digest?

In the future, if I want to read a digest, I'm perfectly cable of fetching
it myself.

-- Cinaed


On 07/16/2017 01:17 AM, Alfonso Guipsot via HackRF-dev wrote:
>
>
>
> Sent from Yahoo Mail for iPhone <https://yho.com/footer0>
>
> On Sunday, July 16, 2017, 1:29 PM,
> hackrf-dev-request at greatscottgadgets.com wrote:
>
>     Send HackRF-dev mailing list submissions to
>         hackrf-dev at greatscottgadgets.com
>     <mailto:hackrf-dev at greatscottgadgets.com>
>
>     To subscribe or unsubscribe via the World Wide Web, visit
>         https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>     or, via email, send a message with subject or body 'help' to
>         hackrf-dev-request at greatscottgadgets.com
>     <mailto:hackrf-dev-request at greatscottgadgets.com>
>
>     You can reach the person managing the list at
>         hackrf-dev-owner at greatscottgadgets.com
>     <mailto:hackrf-dev-owner at greatscottgadgets.com>
>
>     When replying, please edit your Subject line so it is more specific
>     than "Re: Contents of HackRF-dev digest..."
>
>
>     Today's Topics:
>
>       1. Help Installing HackRF on Ubuntu for Linux Newbie (Jerry)
>       2. GRC to Monitor UHF Radio (admin at hack4fun.club
>     <mailto:admin at hack4fun.club>)
>
>
>
> ----------------------------------------------------------------------
>
>     Message: 1
>     Date: Sat, 15 Jul 2017 14:01:09 -0400
>     From: "Jerry" <jsternmd at att.net <mailto:jsternmd at att.net>>
>     To: <hackrf-dev at greatscottgadgets.com
>     <mailto:hackrf-dev at greatscottgadgets.com>>
>     Subject: [Hackrf-dev] Help Installing HackRF on Ubuntu for Linux
>         Newbie
>     Message-ID: <004a01d2fd94$57480310$05d80930$@att.net>
>     Content-Type: text/plain; charset="us-ascii"
>
>     I have my new HackRF working with GNU radio in Windows 7.  I updated
the
>     firmware and clpd to latest I want to learn to use SDR in a Linux
>     environment so I installed the Ubuntu package 16.04.2 LTS onto a
>     dedicated
>     HP i5 M520 Quad core laptop.  I tried to install pip then PyBOMBS to
>     use to
>     install GNU radio but there are many slightly different instructions
>     that I
>     encountered error messages along the way.  I wiped my
>     drive/partition and
>     reinstalled Ubuntu 16.04.2 and then used the recommended approach on
>     https://wiki.gnuradio.org/index.php/InstallingGR
>     <https://wiki.gnuradio.org/index.php/InstallingGR%20>
>
>
>
>     $ apt-get install gnuradio
>
>
>
>     This ran for a while installing and it seems to have installed OK.
>
>
>
>     I next queried my HackRF with
>
>
>
>     $ hackrf_info
>
>
>
>     and got a message to install it with $ apt-get install hackrf, which
>     I did.
>
>
>
>     Now when I run $ hackrf_info I get the apparently notorious:
>
>
>
>     Found HackRF board 0
>
>     hackrf_open() failed: HACKRF_ERROR_LIBUSB (-1000)
>
>
>
>     I checked the FAQ's and ran hackrf_info as root but got same message.
I
>     also ran it a few times with same result, so it doesn't seem to be a
>     permission problem.
>
>
>
>     I read that if the install was with PyBOMBS that udev rules need
>     updating
>     but I don't know if the install procedure I followed used pybombs
>
>
>
>     Any advice appreciated.
>
>
>
>     Jerry NY2KW
>
>
>
>
>
>
>
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>
> <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20170715/
> 7e3cdb99/attachment-0001.html>
>
>     ------------------------------
>
>     Message: 2
>     Date: Sat, 15 Jul 2017 17:18:24 -0300
>     From: "admin at hack4fun.club <mailto:admin at hack4fun.club>"
>     <admin at hack4fun.club <mailto:admin at hack4fun.club>>
>     To: hackrf-dev at greatscottgadgets.com
>     <mailto:hackrf-dev at greatscottgadgets.com>
>     Subject: [Hackrf-dev] GRC to Monitor UHF Radio
>     Message-ID: <2F59499C-0D33-45BC-B362-C928BAECC014 at hack4fun.club
>     <mailto:2F59499C-0D33-45BC-B362-C928BAECC014 at hack4fun.club>>
>     Content-Type: text/plain; charset="utf-8"
>
>     Hi Everyone,
>
>     I just started with HackRF One and followed all the tutorials from
>     GSG site , but I?d like to know if anyone can share (or guide me to)
>     a .GRC to monitor / scan UHF Radio.
>
>     I built a .GRC based on videos and tutorials that I found a few days
>     ago, but the reception is no clear. I have a BAOFENG 5HP Radio and
>     when I test the transmission Im not able to capture a clear signal
>     as the FM Radios.
>
>     Thanks for the support and have a great weekend!
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>
> <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20170715/
> 89258a70/attachment-0001.html>
>
>     ------------------------------
>
>     Subject: Digest Footer
>
>     _______________________________________________
>     HackRF-dev mailing list
>     HackRF-dev at greatscottgadgets.com
>     <mailto:HackRF-dev at greatscottgadgets.com>
>     https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>
>
>     ------------------------------
>
>     End of HackRF-dev Digest, Vol 58, Issue 9
>     *****************************************
>
>
>
> _______________________________________________
> HackRF-dev mailing list
> HackRF-dev at greatscottgadgets.com
> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>

_______________________________________________
HackRF-dev mailing list
HackRF-dev at greatscottgadgets.com
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev

_______________________________________________
HackRF-dev mailing list
HackRF-dev at greatscottgadgets.com
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20170716/a8173498/attachment.html>


More information about the HackRF-dev mailing list