Monday, August 15, 2022

Re: Ubuntu 20.04 cannot find the Hackrf board?

Incidentally, don't use sudo to run the hackrf on Linux.

You should be able to run the hackrf on Linux under your login userid -
you just need sudo to install the software on the system.

I suggest you subscribe to the hackrf list

   https://pairlist9.pair.net/mailman/listinfo/hackrf-dev

they should be able to help you.

-- Cinaed


On 8/15/22 03:04, Marcus Müller wrote:
> Hi George,
>
> On 8/3/22 19:23, George Edwards wrote:
>> Hi Marcus,  thanks for the response, very much appreciated!
>> I have a Windows PC and I believe that in order to build OOT blocks,
>> one needs a Linux environment.
> No, that is not correct.
>> I installed VirtualBox so that I can install Ubuntu 20.04 to get a
>> Linux environment to install Gnuradio 3.9 in. George
>
> Why would you then build from source? Just install the packages.
>
> Best regards,
>
> Marcus
>
>>
>> On Wed, Aug 3, 2022, 8:26 AM Marcus Müller <mmueller@gnuradio.org>
>> wrote:
>>
>>     Hi George,
>>
>>     you'll have to do a bit more investigation on your end, I'm
>>     afraid. We don't know how you
>>     set up your VM, or how you're passing through the USB driver.
>>     Generally, USB passthrough
>>     comes at a high overhead, and sometimes that's prohibitively slow,
>>     as well. Also, why do
>>     VirtualBox (and that's not a Microsoft product, so I'm really
>>     confused by what you're
>>     referring to), if you can have WSL2?
>>
>>     Best regards,
>>     Marcus
>>
>>     On 03.08.22 14:15, George Edwards wrote:
>>     > Hello GNURadio Community,
>>     >
>>     > I built a grc flowgraph in Gnuradio 3.9.5 on Ubuntu 20.04 inside
>>     Microsoft VirtualBox. I
>>     > have a HackRF One radio hardware. I installed the hackrf drivers
>>     in Ubuntu with command:
>>     > sudo apt-get install -y hackrf
>>     > and confirmed the installation. I connected the HackRF One board
>>     to my computer and in the
>>     > Terminal prompt entered the command hackrf_info and received
>>     the response that it does not
>>     > see the Hackrf board.
>>     >
>>     > And true to form when I ran the flowgraph, I get the following
>>     error message:
>>     > RuntimeError: no hackrf device matches
>>     >
>>     > Why is Ubuntu 20.04 running inside MS VirtualBox not seeing the
>>     HackRf board with the
>>     > HackRf drivers installed. And, how do I resolve this issue?
>>     >
>>     > Will appreciate any help to resolve this issue.
>>     >
>>     > George
>>     >
>>
>

No comments:

Post a Comment