discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Issues with Pybombs and Package Manager Install o


From: Dave
Subject: Re: [Discuss-gnuradio] Issues with Pybombs and Package Manager Install on Ubuntu 16.04
Date: Thu, 7 Jul 2016 16:37:57 -0700

Thanks Derek and Martin.

 

I followed the instructions regarding permission access to USB.  I’m not positive but I think I had to rerun setup_env.sh as well.   Now uhd_find_devices functions as expected.  Thanks you.  I ran the uhd_wbfm_receive flow graph.  At first I did not get any audio.  I don’t know why but looking in my sound settings, the audio was going to Digital Output rather than Headphones output (never did that before).  You will see at the bottom of the transcript below  that there are UHD warnings  and an “Environment Error” but it is not clear to me if I need to address them.  I will do more homework.

 

One more question however, should I run volk_profile or did the pybombs install already take care of that?

 

One more comment, it seemed previously I could just type the python script names our click on a script in my file manager.  Now I need to precede the scripts with ./ and clicking on scripts in the file manager no longer executes them.  Again I will do more homework on my own.

 

Thanks again for all your help.


Dave

 

Generating: '/home/dave/pybombsprefix1/share/gnuradio/examples/uhd/uhd_wbfm_receive.py'

Executing: /usr/bin/python2 -u /home/dave/pybombsprefix1/share/gnuradio/examples/uhd/uhd_wbfm_receive.py

linux; GNU C++ version 5.3.1 20160413; Boost_105800; UHD_003.010.000.git-0-ef57ffcb

-- USRP-B100 clock control: 10

-- r_counter: 2

-- a_counter: 0

-- b_counter: 20

-- prescaler: 8

-- vco_divider: 5

-- chan_divider: 5

-- vco_rate: 1600.000000MHz

-- chan_rate: 320.000000MHz

-- out_rate: 64.000000MHz

--

UHD Warning:

Unable to set the thread priority. Performance may be negatively affected.

Please see the general application notes in the manual for instructions.

EnvironmentError: OSError: error in pthread_setschedparam

gr::log :INFO: audio source - Audio sink arch: alsa

Volk warning: no arch found, returning generic impl

 

 

 

 

 

From: Derek Kozel [mailto:address@hidden
Sent: Thursday, July 07, 2016 2:58 PM
To: Dave
Cc: Martin Braun; GNURadio Discussion List
Subject: Re: [Discuss-gnuradio] Issues with Pybombs and Package Manager Install on Ubuntu 16.04

 

Hello Dave,

Here are the instructions for setting up USB permissions on Linux.
http://files.ettus.com/manual/page_transport.html#transport_usb_udev

Regards,

Derek

 

On Thu, Jul 7, 2016 at 2:19 PM, Dave <address@hidden> wrote:

Thanks Martin.

I successfully deleted UHD and I believe successfully installed gnuradio et el using pybombs.  I then ran setup_env.sh.

However now I cannot seem to connect to the B100.

I ran uhd_find_devices and followed the instructions to download images as per the transcript that follows.  Was PyBombs supposed to take care of downloading the images?  If not, it seems the pybombs instructions should tell one to do so.

In any event per the following transcript it now appears I have a permission issue to access my USB ports.    Any advice as to what to do next?

Thanks,  Dave

Transcript of error follows.............................

address@hidden:~/pybombsprefix1$ . ./setup_env.sh

address@hidden:~/pybombsprefix1/bin$ uhd_find_devices

linux; GNU C++ version 5.3.1 20160413; Boost_105800; UHD_003.010.000.git-0-ef57ffcb

 

UHD Warning:

    Could not locate B100 firmware. Please run:

     "/home/dave/pybombsprefix1/lib/uhd/utils/uhd_images_downloader.py"

No UHD Devices Found

address@hidden:~/pybombsprefix1/bin$ /home/dave/pybombsprefix1/lib/uhd/utils/uhd_images_downloader.py

Images destination:      /home/dave/pybombsprefix1/share/uhd/images

Downloading images from: http://files.ettus.com/binaries/images/uhd-images_003.010.git-197-g053111dc.zip

Downloading images to:   /tmp/tmpi2vldX/uhd-images_003.010.git-197-g053111dc.zip

52600 kB / 52600 kB (100%)

Images successfully installed to: /home/dave/pybombsprefix1/share/uhd/images

address@hidden:~/pybombsprefix1/bin$ uhd_find_devices

linux; GNU C++ version 5.3.1 20160413; Boost_105800; UHD_003.010.000.git-0-ef57ffcb

 

UHD Error:

    USB open failed: insufficient permissions.

    See the application notes for your device.

No UHD Devices Found

End of transcript.......................

-----Original Message-----
From: Discuss-gnuradio [mailto:address@hidden] On Behalf Of Martin Braun
Sent: Thursday, July 07, 2016 10:05 AM
To: address@hidden
Subject: Re: [Discuss-gnuradio] Issues with Pybombs and Package Manager Install on Ubuntu 16.04

On 07/06/2016 11:53 PM, Dave wrote:

> Thanks Martin.  I have changed my subscription to individual messages.

>

> I ran the command you mentioned below and attached the result.  I’m

> not sure if I should delete all the entries listed or even why I get

> all the “permission denied” messages.  As you will see I executed the

> command both with and without “sudo”.

>

> address@hidden:~$ find / -name multi_usrp.hpp

>

> find: ‘/sys/kernel/debug’: Permission denied

>

> /usr/include/uhd/usrp/multi_usrp.hpp

Here's the culprit. You still have an old UHD installed. Remove that and start from scratch.

M

 

_______________________________________________

Discuss-gnuradio mailing list

address@hidden

https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]