Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-03 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 coul

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

Re: gr_modtool in conda failing

2022-08-03 Thread Jameson Collins
My only reason for using 3.8.2.0 was to match the version in buildroot exactly. But I don't think it's a big deal. I'll stick with the newer version. Thanks for all your help On Mon, Aug 1, 2022 at 3:37 PM Ryan Volz wrote: > On 8/1/22 2:50 PM, Jameson Collins wrote: > > So gnuradio=3.8.3.1 wo

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

Re: How do I extract individual values from pmt list and dict

2022-08-03 Thread George Edwards
Thank very much Marcus! George On Wed, Aug 3, 2022, 7:05 AM Marcus Müller wrote: > Hi George, > > first_element = pmt.vector_ref(P_list, 0) > > and > > spam_element = pmt.dict_ref(P_dict, pmt.to_pmt('spam'), pmt.PMT_NIL) > > respectively. > > Note that you must not put "payload" data into string

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 super

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

Re: How do I extract individual values from pmt list and dict

2022-08-03 Thread Marcus Müller
(also, worth noting, that it's a bit annoying that you re-posted your question out of the original thread. Now I have two George-asks-about-PMT threads with identical content. Please don't re-post questions that you've asked not 24hrs ago; that's a bit of a waste of everyone's time.) On 03.08.

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

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 boar

Re: How do I extract individual values from pmt list and dict

2022-08-03 Thread Marcus Müller
Hi George, first_element = pmt.vector_ref(P_list, 0) and spam_element = pmt.dict_ref(P_dict, pmt.to_pmt('spam'), pmt.PMT_NIL) respectively. Note that you must not put "payload" data into strings that you put into PMT. `pmt.to_pmt(str)` generates a PMT symbol, and these are saved for evermore

How do I extract individual values from pmt list and dict

2022-08-03 Thread George Edwards
Hello GNURadio Community, Let's assume the following pmt definitions for a list and and dictionary in an OOT block: P_list = pmt.to_pmt([1, 2, 3.45, 'eggs']) P_dict = pmt.to_pmt({'spam': 20, 'eggs': 40}) How do I explicitly extract the first element in P_list and the value for 'spam' from P_dict?