As per a previous posting to this list, you have to set the usbfs
filesystem permissions properly. For example, it looks like

none on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)

for me. It may be different for you, but this should be enough to
provide the idea. If not, look at the archives for the previous posting.
Google is your friend.

On Sat, 2005-04-23 at 18:31 -0400, Anastasopoulos Achilleas wrote:
> 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 mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to