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
sudo find / -name uhd-usrp.rules
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 Jameson M0MIK BSc MIET
Ettus Research Technical Support
Email: support@ettus.com
Web: http://ettus.com
Mike Jameson M0MIK BSc MIET
Ettus Research Technical Support
Email: support@ettus.com
Web: http://ettus.com
On Sat, Jun 28, 2014 at 5:39 AM, Nguyễn Văn Lý <lynguyenvan.uet@gmail.com> wrote:
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 <module>
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 AddressThen 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 dBCan anyone tell me why so? and help me how to fix this error.Thanks in advanceVan-LyNguyen Van-Ly,Vietnam National University, Hanoi - VNUUniversity of Engineering and Technology - UETFaculty of Electronics and Telecommunications - FETTel: +84 978 819 406Standing on my own two feet !!!
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment