# UHD not working after clean pybombs install

**URL:** <https://www.ruby-forum.com/t/uhd-not-working-after-clean-pybombs-install/230904>\
**Category:** GNU Radio\
**Created:** [July 11, 2014, 3:29pm UTC](https://www.ruby-forum.com/t/uhd-not-working-after-clean-pybombs-install/230904 "2014-07-11T15:29:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [July 11, 2014, 3:29pm UTC](https://www.ruby-forum.com/t/uhd-not-working-after-clean-pybombs-install/230904/1 "2014-07-11T15:29:01Z")

</div>

Hello,

I did find a simlar entry to this problem on the forum from last month  
but  
there was no usable solution for me unless I missed something. Also I  
have  
not found a way to allow me to change the USB permissions. Any advise  
will  
be a great help.

Thanks  
John

I have this issue on TWO DIFFERENT MACHINES. Here is what I did on each  
of  
them:

Completely fresh install of Ubuntu 12.04.4 LTS  
apt-get update  
apt-get upgrade  
apt-get libasound2-dev (because I need to use an 8 channel USB sound  
card  
with my GRC app)  
install and configure pybombs (used all default settings)  
./pybombs install gnuradio

each time I want to run gnuradio-companion I must first set the  
enviroment  
(a minor annoyance)

./pybombs env  
source /home/xxxx/target/setup\_env.sh  
sudo /home/xxxx/target/lib/uhd/utils/uhd\_images\_downloader.py

and then

gnuradio\_companion (GRC 3.7.5 GUI works fine)

However, I have no connection to the USRP B200

uhd\_find\_devices or uhd\_usrp\_probe returns the following:

UHD Error:  
USB open failed: insufficient permisssions.  
See the application notes for your device.  
No UHD Devices Found

running lsusb returns the following:

Bus 002 Device 006: ID 2500:0200

according the information in ~/target/lib/uhd/utils/uhd\_usrp.rules, ID  
2500:0200 is the B200 USRP

---

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [July 11, 2014, 3:35pm UTC](https://www.ruby-forum.com/t/uhd-not-working-after-clean-pybombs-install/230904/2 "2014-07-11T15:35:34Z")

</div>

On Fri, Jul 11, 2014 at 9:27 AM, John M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I have this issue on TWO DIFFERENT MACHINES. Here is what I did on each  
> each time I want to run gnuradio-companion I must first set the enviroment  
> (a minor annoyance)
> 
> ./pybombs env

You only need to run this once to create the environment setup file.

> source /home/xxxx/target/setup\_env.sh

You can put this in your ~/.bashrc (or equivalent) file to set up your  
environment when you log in.

> sudo /home/xxxx/target/lib/uhd/utils/uhd\_images\_downloader.py

Again, this only needs to be done once, unless the UHD images change.

> ```
> USB open failed: insufficient permisssions.
> See the application notes for your device.
> 
> ```
> 
> No UHD Devices Found
> 
> running lsusb returns the following:
> 
> Bus 002 Device 006: ID 2500:0200
> 
> according the information in ~/target/lib/uhd/utils/uhd\_usrp.rules, ID  
> 2500:0200 is the B200 USRP

Copy the uhd\_usrp.rules file into /etc/udev/rules.d/ and then reload the  
udev rules:

$ sudo udevadm control --reload-rules

Tom

---

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [July 11, 2014, 4:42pm UTC](https://www.ruby-forum.com/t/uhd-not-working-after-clean-pybombs-install/230904/3 "2014-07-11T16:42:53Z")

</div>

You may need the rtprio also. See notes at below link I have been  
keeping:

> **[Setting up the Ettus USRP B200](https://rfpoweramp.com/2014/06/10/setting-up-the-usrp-b200/)**
>
> Add udev Rules sudo vi /etc/udev/rules.d/99-usrp-b200.rules SUBSYSTEMS==”usb”, ATTRS{idVendor}==”2500″, ATTRS{idProduct}==”0020″, MODE:=”0666″ sudo u…

Note there is something screwed up with Worpress and quotes pasted from  
the  
Linux shell, so be careful if pasting in that text.

Lou  
KD4HSO

John M. wrote

> Hello,
> 
> I did find a simlar entry to this problem on the forum from last month but  
> there was no usable solution for me unless I missed something. Also I  
> have  
> not found a way to allow me to change the USB permissions. Any advise will  
> be a great help.
> 
> Thanks  
> John

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/UHD-not-working-after-clean-pybombs-install-tp49280p49282.html](http://gnuradio.4.n7.nabble.com/UHD-not-working-after-clean-pybombs-install-tp49280p49282.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).
