# UHD Error

**URL:** <https://www.ruby-forum.com/t/uhd-error/230656>\
**Category:** GNU Radio\
**Created:** [June 28, 2014, 6:40am UTC](https://www.ruby-forum.com/t/uhd-error/230656 "2014-06-28T06:40:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jason\_sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7993a0/32.png) [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Post date:** [June 28, 2014, 6:40am UTC](https://www.ruby-forum.com/t/uhd-error/230656/1 "2014-06-28T06:40:34Z")

</div>

Dear all,

_I am new to gnuradio. I am trying to run an experiment, but I got an  
error  
as follows:_

UHD Error:  
USB open failed: insufficient permissions.  
See the application notes for your device.  
Traceback (most recent call last):  
File “/home/van-ly/GNU\_Radio/SDR Implementation of OFDM-based Network  
Coding\_Project Codes and Files/ofdm\_transmitter.py”, line 198, in  
  
tb = ofdm\_transmitter()  
File “/home/van-ly/GNU\_Radio/SDR Implementation of OFDM-based Network  
Coding\_Project Codes and Files/ofdm\_transmitter.py”, line 67, in  
**init**  
channels=range(1),  
File  
“/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/ **init**.py”,  
line 121, in constructor\_interceptor  
return old\_constructor(\*args)  
File  
“/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/uhd\_swig.py”,  
line 2208, in make  
return \_uhd\_swig.usrp\_sink\_make(\*args)  
RuntimeError: LookupError: KeyError: No devices found for -----\>  
Empty Device Address

\*Then I tried a command (sudo uhd\_usrp\_probe) to test the UHD  
installation  
and I got \*

linux; GNU C++ version 4.8.1; Boost\_104800; UHD\_003.005.004-0-unknown

– Loading firmware image: /usr/local/share/uhd/images/usrp1\_fw.ihx…  
done  
– Opening a USRP1 device…  
– Loading FPGA image: /usr/local/share/uhd/images/usrp1\_fpga.rbf…  
done  
– Using FPGA clock rate of 64.000000MHz…

* * *

/  
| Device: USRP1 Device  
| \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| /  
| | Mboard: USRP1  
| | serial: 6R2706U1  
| |  
| | Time sources: none  
| | Clock sources: internal  
| | Sensors:  
| | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | /  
| | | RX DSP: 0  
| | | Freq range: -32.000 to 32.000 Mhz  
| | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | /  
| | | RX DSP: 1  
| | | Freq range: -32.000 to 32.000 Mhz  
| | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | /  
| | | RX Dboard: A  
| | | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | | /  
| | | | RX Frontend: 0  
| | | | Name: Unknown (0xffff) - 0  
| | | | Antennas:  
| | | | Sensors:  
| | | | Freq range: 0.000 to 0.000 Mhz  
| | | | Gain Elements: None  
| | | | Connection Type: IQ  
| | | | Uses LO offset: No  
| | | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | | /  
| | | | RX Codec: A  
| | | | Name: ad9522  
| | | | Gain range pga: 0.0 to 20.0 step 1.0 dB  
| | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | /  
| | | RX Dboard: B  
| | | ID: RFX2400 (0x0027)  
| | | Serial: E5R12YBR2  
| | | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | | /  
| | | | RX Frontend: 0  
| | | | Name: RFX2400 RX  
| | | | Antennas: TX/RX, RX2, CAL  
| | | | Sensors: lo\_locked  
| | | | Freq range: 2300.000 to 2900.000 Mhz  
| | | | Gain range PGA0: 0.0 to 70.0 step 0.0 dB  
| | | | Connection Type: QI  
| | | | Uses LO offset: No  
| | | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | | /  
| | | | RX Codec: B  
| | | | Name: ad9522  
| | | | Gain range pga: 0.0 to 20.0 step 1.0 dB  
| | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | /  
| | | TX DSP: 0  
| | | Freq range: -44.000 to 44.000 Mhz  
| | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | /  
| | | TX DSP: 1  
| | | Freq range: -44.000 to 44.000 Mhz  
| | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | /  
| | | TX Dboard: A  
| | | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | | /  
| | | | TX Frontend: 0  
| | | | Name: Unknown (0xffff) - 0  
| | | | Antennas:  
| | | | Sensors:  
| | | | Freq range: 0.000 to 0.000 Mhz  
| | | | Gain Elements: None  
| | | | Connection Type: IQ  
| | | | Uses LO offset: No  
| | | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | | /  
| | | | TX Codec: A  
| | | | Name: ad9522  
| | | | Gain range pga: -20.0 to 0.0 step 0.1 dB  
| | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | /  
| | | TX Dboard: B  
| | | ID: RFX2400 (0x002b)  
| | | Serial: E5R12YBR2  
| | | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | | /  
| | | | TX Frontend: 0  
| | | | Name: RFX2400 TX  
| | | | Antennas: TX/RX, CAL  
| | | | Sensors: lo\_locked  
| | | | Freq range: 2300.000 to 2900.000 Mhz  
| | | | Gain Elements: None  
| | | | Connection Type: IQ  
| | | | Uses LO offset: Yes  
| | | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
| | | /  
| | | | TX Codec: B  
| | | | Name: ad9522  
| | | | Gain range pga: -20.0 to 0.0 step 0.1 dB

Can anyone tell me why so? and help me how to fix this error.  
Thanks in advance  
Van-Ly  
Nguyen Van-Ly,  
Vietnam National University, Hanoi - VNU  
University of Engineering and Technology - UET  
Faculty of Electronics and Telecommunications - FET

Tel: +84 978 819 406

Standing on my own two feet !!!

---

<div class="post-metadata">

**Author:** ![NguySSSn\_VSSn\_LS\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/9fc29f/32.png) [@NguySSSn\_VSSn\_LS\_S](https://www.ruby-forum.com/u/NguySSSn_VSSn_LS_S)\
**Post date:** [June 28, 2014, 11:01am UTC](https://www.ruby-forum.com/t/uhd-error/230656/2 "2014-06-28T11:01:32Z")

</div>

Follow the instructions in section “Setup Udev for USB (Linux)” at the  
following URL for you to be able to access your USRP1 with non-root  
permissions:

[http://files.ettus.com/uhd\_docs/manual/html/transport.html#setup-udev-for-usb-linux](http://files.ettus.com/uhd_docs/manual/html/transport.html#setup-udev-for-usb-linux)

An easy way to locate the ‘uhd-usrp.rules’ file is to run the following:

sudo find / -name uhd-usrp.rules

Mike

–  
Mike J. M0MIK BSc MIET  
Ettus R. Technical Support  
Email: removed\_email\_address@domain.invalid  
Web: [http://ettus.com](http://ettus.com)

On Sat, Jun 28, 2014 at 5:39 AM, Nguyễn Văn Lý  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
