[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Issues with Pybombs and Package Manager Install o
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] Issues with Pybombs and Package Manager Install on Ubuntu 16.04 |
Date: |
Thu, 7 Jul 2016 17:11:49 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
Dave,
if you've fixed one issue, please start a new thread for the next issue.
As for your q's:
On 07/07/2016 04:37 PM, Dave wrote:
> One more question however, should I run volk_profile or did the pybombs
> install already take care of that?
pybombs does not run volk_profile for you (it used to do that; we'll
need some clean way to reenable 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.
The ./ is necessary for files not in your path. The file manager thing
probably fails because the PyBOMBS environment is not available for the
file manager.
M
>
>
>
> 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
> <mailto: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 <mailto: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 <mailto:address@hidden>
>
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden <mailto:address@hidden>
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>