Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-15 Thread George Edwards
Hi Marcus,

There are many times I am building custom dsp algorithms that the packages
do not support, so I need to write the C++ or Python code for my signal
processing algorithms.

The Linux distribution after I install gnuradio understands the OOT
gr_modtool, how do I replicate this on the Windows PC?

Thank you!

George

George

On Mon, Aug 15, 2022 at 5:08 AM 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 
> 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
> > >
> >
>
>


Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-15 Thread George Edwards
Thanks Cinaed,

I am going off on vacation, but will definitely contact the hackrf_dev
group when I return.

George

On Mon, Aug 15, 2022 at 7:58 PM Cinaed Simson 
wrote:

> 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 
> >> 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
> >> >
> >>
> >
>
>
>


Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-15 Thread Cinaed Simson

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  
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
    >








Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-15 Thread Marcus Müller

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  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
>





Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-14 Thread George Edwards
Hi Cinaed,

Thank you very much! I will check to see if I can do a more up to date
hackrf version download. George

On Fri, Aug 12, 2022, 4:28 PM Cinaed Simson  wrote:

> It sounds like you didn't
>
>   apt install libhackrf-dev
>
> If you did install the libraries, then you may have to update the firmware.
>
> Post the entire results from
>
>apt list --installed | grep hackrf
>
> so we can see the versions. There should be 2 entries.
>
> Note the date of the firmware - 2014 - was  first year the hackrf was
> released via Kickstart.
>
> -- Cinaed
>
>
>
> On 8/3/22 05: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
>
>
>


Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-12 Thread Cinaed Simson

It sounds like you didn't

  apt install libhackrf-dev

If you did install the libraries, then you may have to update the firmware.

Post the entire results from

   apt list --installed | grep hackrf

so we can see the versions. There should be 2 entries.

Note the date of the firmware - 2014 - was  first year the hackrf was 
released via Kickstart.


-- Cinaed



On 8/3/22 05: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



Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-05 Thread Cinaed Simson

And you'll need to

  apt install gr-osmosdr

to use the hackrf with gnuradio.

-- Cinaed


On 8/3/22 23:21, Cinaed Simson wrote:

Hi George - the hackrf runs under ubuntu.

The latest version is

  release 2021.03.1
https://github.com/greatscottgadgets/hackrf/release
https://github.com/greatscottgadgets/hackrf/releases/download/v2021.03.1/hackrf-2021.03.1.tar.xz

The current firmware version on your hackrf is 2014.

You could try

   apt update
   apt install hackrf libhackrf-dev

which may give you the 2018 version for the hackrf utils and 
libhackrf-dev.


But I don't know how the firmware gets updated using apt - I've never 
used apt to install the hackrf software.


The 2014 firmware may play enough well with the 2018 software - I 
don't know. It may play well enough to indicate the hackrf works on 
ubuntu but Ideally you'd like the version of firmware to match the 
software.


-- Cinaed


On 8/3/22 18:28, George Edwards wrote:

Hello Gentlemen,

I installed VirtualBox extension pack and made the USB connection in 
VirtualBox to the HackerRF board. However, in the Ubuntu Terminal 
when I execute the command hackrf_info the info that comes up is:

hackrf_info version: unknown
libhackrf version: unknown (0.5)
Found HackRF
Index: 0
Board ID Number: 2 (HackRF One)
Firmware Version: 2014.08.1 (API:1.00)
Part ID Number: 0xa000cb3c 0x006e4756

The above shows Ubuntu is having trouble reading the top two version 
information and as a result when I try to run the Gnuradio flowgraph, 
it gives a message that it fails to open HackRF.


George



On Wed, Aug 3, 2022 at 10:32 AM James Anderson  wrote:

You might want to try running hackrf_info with superuser
privileges using sudo, i.e. "sudo hackrf_info". Many/most
peripherals require this in Linux by default.

Additionally, use of a VM may limit the sample rate you can
achieve since there is some overhead passing through the USB
connection. Consider installing Linux directly on your machine.


On Aug 3, 2022, at 6:12 AM, 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





Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-04 Thread George Edwards
Hi Cinaed,
Thank you very much! Will test!
George

On Thu, Aug 4, 2022, 12:27 AM Cinaed Simson  wrote:

> Hi George - the hackrf runs under ubuntu.
>
> The latest version is
>
>   release 2021.03.1
>   https://github.com/greatscottgadgets/hackrf/release
>
> https://github.com/greatscottgadgets/hackrf/releases/download/v2021.03.1/hackrf-2021.03.1.tar.xz
>
> The current firmware version on your hackrf is 2014.
>
> You could try
>
>apt update
>apt install hackrf libhackrf-dev
>
> which may give you the 2018 version for the hackrf utils and
> libhackrf-dev.
>
> But I don't know how the firmware gets updated using apt - I've never used
> apt to install the hackrf software.
>
> The 2014 firmware may play enough well with the 2018 software - I don't
> know. It may play well enough to indicate the hackrf works on ubuntu but
> Ideally you'd like the version of firmware to match the software.
>
> -- Cinaed
>
>
> On 8/3/22 18:28, George Edwards wrote:
>
> Hello Gentlemen,
>
> I installed VirtualBox extension pack and made the USB connection in
> VirtualBox to the HackerRF board. However, in the Ubuntu Terminal when I
> execute the command hackrf_info the info that comes up is:
> hackrf_info version: unknown
> libhackrf version: unknown (0.5)
> Found HackRF
> Index: 0
> Board ID Number: 2 (HackRF One)
> Firmware Version: 2014.08.1 (API:1.00)
> Part ID Number: 0xa000cb3c 0x006e4756
>
> The above shows Ubuntu is having trouble reading the top two version
> information and as a result when I try to run the Gnuradio flowgraph, it
> gives a message that it fails to open HackRF.
>
> George
>
>
>
>
> On Wed, Aug 3, 2022 at 10:32 AM James Anderson  wrote:
>
>> You might want to try running hackrf_info with superuser privileges using
>> sudo, i.e. "sudo hackrf_info". Many/most peripherals require this in Linux
>> by default.
>>
>> Additionally, use of a VM may limit the sample rate you can achieve since
>> there is some overhead passing through the USB connection. Consider
>> installing Linux directly on your machine.
>>
>> On Aug 3, 2022, at 6:12 AM, 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
>>
>>
>


Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-04 Thread Cinaed Simson

Hi George - the hackrf runs under ubuntu.

The latest version is

  release 2021.03.1
https://github.com/greatscottgadgets/hackrf/release
https://github.com/greatscottgadgets/hackrf/releases/download/v2021.03.1/hackrf-2021.03.1.tar.xz

The current firmware version on your hackrf is 2014.

You could try

   apt update
   apt install hackrf libhackrf-dev

which may give you the 2018 version for the hackrf utils and libhackrf-dev.

But I don't know how the firmware gets updated using apt - I've never 
used apt to install the hackrf software.


The 2014 firmware may play enough well with the 2018 software - I don't 
know. It may play well enough to indicate the hackrf works on ubuntu but 
Ideally you'd like the version of firmware to match the software.


-- Cinaed


On 8/3/22 18:28, George Edwards wrote:

Hello Gentlemen,

I installed VirtualBox extension pack and made the USB connection in 
VirtualBox to the HackerRF board. However, in the Ubuntu Terminal when 
I execute the command hackrf_info the info that comes up is:

hackrf_info version: unknown
libhackrf version: unknown (0.5)
Found HackRF
Index: 0
Board ID Number: 2 (HackRF One)
Firmware Version: 2014.08.1 (API:1.00)
Part ID Number: 0xa000cb3c 0x006e4756

The above shows Ubuntu is having trouble reading the top two version 
information and as a result when I try to run the Gnuradio flowgraph, 
it gives a message that it fails to open HackRF.


George



On Wed, Aug 3, 2022 at 10:32 AM James Anderson  wrote:

You might want to try running hackrf_info with superuser
privileges using sudo, i.e. "sudo hackrf_info". Many/most
peripherals require this in Linux by default.

Additionally, use of a VM may limit the sample rate you can
achieve since there is some overhead passing through the USB
connection. Consider installing Linux directly on your machine.


On Aug 3, 2022, at 6:12 AM, 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



Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-03 Thread George Edwards
Hello Gentlemen,

I installed VirtualBox extension pack and made the USB connection in
VirtualBox to the HackerRF board. However, in the Ubuntu Terminal when I
execute the command hackrf_info the info that comes up is:
hackrf_info version: unknown
libhackrf version: unknown (0.5)
Found HackRF
Index: 0
Board ID Number: 2 (HackRF One)
Firmware Version: 2014.08.1 (API:1.00)
Part ID Number: 0xa000cb3c 0x006e4756

The above shows Ubuntu is having trouble reading the top two version
information and as a result when I try to run the Gnuradio flowgraph, it
gives a message that it fails to open HackRF.

George




On Wed, Aug 3, 2022 at 10:32 AM James Anderson  wrote:

> You might want to try running hackrf_info with superuser privileges using
> sudo, i.e. "sudo hackrf_info". Many/most peripherals require this in Linux
> by default.
>
> Additionally, use of a VM may limit the sample rate you can achieve since
> there is some overhead passing through the USB connection. Consider
> installing Linux directly on your machine.
>
> On Aug 3, 2022, at 6:12 AM, 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
>
>


Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-03 Thread George Edwards
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. I installed VirtualBox so that I can install
Ubuntu 20.04 to get a Linux environment to install Gnuradio 3.9 in. George

On Wed, Aug 3, 2022, 8:26 AM Marcus Müller  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
> >
>
>


Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-03 Thread Marcus D. Leech

On 2022-08-03 11:32, James Anderson wrote:
You might want to try running hackrf_info with superuser privileges 
using sudo, i.e. "sudo hackrf_info". Many/most peripherals require 
this in Linux by default.
If the udev rules were installed correctly for this device, then you 
don't need to be superuser to use it.




Additionally, use of a VM may limit the sample rate you can achieve 
since there is some overhead passing through the USB connection. 
Consider installing Linux directly on your machine.


On Aug 3, 2022, at 6:12 AM, 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



Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-03 Thread James Anderson
You might want to try running hackrf_info with superuser privileges using sudo, 
i.e. "sudo hackrf_info". Many/most peripherals require this in Linux by default.

Additionally, use of a VM may limit the sample rate you can achieve since there 
is some overhead passing through the USB connection. Consider installing Linux 
directly on your machine.

> On Aug 3, 2022, at 6:12 AM, 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
> 


Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-03 Thread Marcus Müller

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





Ubuntu 20.04 cannot find the Hackrf board?

2022-08-03 Thread George Edwards
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