[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] using USRP as non-root user
From: |
Anastasopoulos Achilleas |
Subject: |
[Discuss-gnuradio] using USRP as non-root user |
Date: |
Sat, 23 Apr 2005 18:31:42 -0400 (EDT) |
Everything works fine with gnuradio and USRP when
I use it a s root.
When I tried to use it as a regular user,
when I run
./tvrx_wfm_rcv_gui.py 93.1
I get error messages that look like
the obes below.
Is there a problem with permissions, etc that can be easily fixed?
Thanks
Achilleas
================================
usrp_open_interface: usb_claim_interface: failed conf 0
could not set config 1: Operation not permitted
open_nth_cmd_interface: open_cmd_interface failed
usrp: failed to load firmware
/usr/local/share/usrp/rev2/usrp_firmware.ihx.
Traceback (most recent call last):
File "./tvrx_wfm_rcv_gui.py", line 156, in ?
app = stdgui.stdapp (wfm_rx_graph, "WFM RX")
File "/usr/local/lib/python2.3/site-packages/gnuradio/wxgui/stdgui.py",
line 35, in __init__
wx.App.__init__ (self)
File
"/usr/lib/python2.3/site-packages/wx-2.5.4-gtk2-unicode/wx/_core.py", line
5577, in __init__
self._BootstrapApp()
File
"/usr/lib/python2.3/site-packages/wx-2.5.4-gtk2-unicode/wx/_core.py", line
5229, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/local/lib/python2.3/site-packages/gnuradio/wxgui/stdgui.py",
line 38, in OnInit
frame = stdframe (self.flow_graph_maker, self.title)
File "/usr/local/lib/python2.3/site-packages/gnuradio/wxgui/stdgui.py",
line 59, in __init__
self.panel = stdpanel (self, self, flow_graph_maker)
File "/usr/local/lib/python2.3/site-packages/gnuradio/wxgui/stdgui.py",
line 80, in __init__
self.fg = flow_graph_maker (frame, self, vbox, sys.argv)
File "./tvrx_wfm_rcv_gui.py", line 37, in __init__
src = usrp.source_c (0, decim, 1, 0xf0f0f0f2, 0)
File "/usr/local/lib/python2.3/site-packages/gnuradio/usrp.py", line 65,
in source_c
return ((usrp0.source_c, usrp1.source_c)[look_for_usrp(which)])(which,
*args, **kwargs)
File "/usr/local/lib/python2.3/site-packages/gnuradio/usrp1.py", line
1168, in source_c
return _usrp1.source_c(*args)
RuntimeError: std::runtime_error
- [Discuss-gnuradio] using USRP as non-root user,
Anastasopoulos Achilleas <=