USRP connection failure

Now I’m trying to test a very simple TX/RX examples
I have a USRP1 and basic TX/RX board

GNUradio flow graph is like a link here
http://picasaweb.google.com/gee.songsong/Study#5539608314025540050

When I run it by pressing F6, it is terminated with an error message
like
below:

Generating: “/home/songsong/Desktop/top_block.py”
Executing: “/home/songsong/Desktop/top_block.py”

usrp: failed to find usrp[0]
Traceback (most recent call last):
File “/home/songsong/Desktop/top_block.py”, line 84, in
tb = top_block()
File “/home/songsong/Desktop/top_block.py”, line 34, in init
self.usrp_simple_sink_x_0 = grc_usrp.simple_sink_c(which=0,
side=“A”)
File
“/usr/local/lib/python2.6/dist-packages/grc_gnuradio/usrp/simple_usrp.py”,
line 91, in init
self._make_usrp(which=which, nchan=1)
File
“/usr/local/lib/python2.6/dist-packages/grc_gnuradio/usrp/common.py”,
line 28, in _make_usrp
def _make_usrp(self, *args, **kwargs): self._u =
self._usrp_args[0](*args, **kwargs)
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/usrp/usrp_swig.py”,
line 2475, in sink_c
return _usrp_swig.sink_c(*args, **kwargs)
RuntimeError: can’t open usrp

Done

I really really cannot find out what am I doing wrong :frowning:

Did you setup the udev permissions on your system? -Josh

I’ve tried USRP udev permission configuration, like below:

*# /usr/sbin/groupadd usrp

/usr/sbin/usermod -a usrp [username]*

(in file, 10-usrp.rules)

rule to grant read/write access on USRP to group named usrp.

to use, install this file in /etc/udev/rules.d as 10-usrp.rules

*ACTION==“add”, BUS==“usb”, SYSFS{idVendor}==“fffe”,
SYSFS{idProduct}==“0002”, GROUP:=“usrp”, MODE:=“0660”
*

after rebooting a machine,

ls -lR /dev/bus/usb
/dev/bus/usb:
total 0
drwxr-xr-x 2 root root 80 2010-11-15 13:13 001
drwxr-xr-x 2 root root 80 2010-11-15 13:09 002

/dev/bus/usb/001:
total 0
crw-rw-r-- 1 root root 189, 0 2010-11-15 13:09 001
crw-rw---- 1 root usrp 189, 2 2010-11-15 13:13 003

/dev/bus/usb/002:
total 0
crw-rw-r-- 1 root root 189, 128 2010-11-15 13:09 001
crw-rw-r-- 1 root root 189, 129 2010-11-15 13:09 002

So, the connection before execution is fine.
However, everytime I run a flow graph, it immediately disconnects.
And through me an error
usrp: failed to find usrp[0]
Traceback (most recent call last):
File “/home/songsong/Desktop/top_
block.py”, line 84, in
tb = top_block()
File “/home/songsong/Desktop/top_block.py”, line 34, in init
self.usrp_simple_sink_x_0 = grc_usrp.simple_sink_c(which=0,
side=“A”)
File
“/usr/local/lib/python2.6/dist-packages/grc_gnuradio/usrp/simple_usrp.py”,
line 91, in init
self._make_usrp(which=which, nchan=1)
File
“/usr/local/lib/python2.6/dist-packages/grc_gnuradio/usrp/common.py”,
line 28, in _make_usrp
def _make_usrp(self, *args, **kwargs): self._u =
self._usrp_args[0](*args, **kwargs)
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/usrp/usrp_swig.py”,
line 2475, in sink_c
return _usrp_swig.sink_c(*args, **kwargs)
RuntimeError: can’t open usrp

2010/11/15 Josh B. [email protected]