Unable to find USRP #0 in kernel 2.6.24-rc4-gd7f0b481 on Fedora 7

I installed kernel of 2.6.24-rc4-gd7f0b481 for Fedora 7 in PS3 following
http://www.gnuradio.org/trac/wiki/PS3FC7Install.
The linux system runs well. Then I installed GNU radio as told in above
URL.
Everything went well too. However, I could not get USRP work. I am not
sure
whether it is because of the new kernel or something else. Therefore, I
listed
the test script and output below for running usrp_benchmark_usb.py and
also the
output from dmesg to test USB connection.

Your help will be very appreciated!

Andrew Ge

[[email protected] usrp]# ./usrp_benchmark_usb.py
Testing 2MB/sec… Traceback (most recent call last):
File “./usrp_benchmark_usb.py”, line 106, in
main ()
File “./usrp_benchmark_usb.py”, line 96, in main
ok = run_test (rate, verbose)
File “./usrp_benchmark_usb.py”, line 63, in run_test
usrp_tx = usrp.sink_s (0, tx_interp)
File “/usr/local/lib/python2.5/site-packages/gnuradio/usrp.py”, line
227, in
init
_ensure_rev2(which)
File “/usr/local/lib/python2.5/site-packages/gnuradio/usrp.py”, line
82, in
_ensure_rev2
v = _look_for_usrp(which)
File “/usr/local/lib/python2.5/site-packages/gnuradio/usrp.py”, line
76, in
_look_for_usrp
raise RuntimeError, “Unable to find USRP #%d” % (which,)
RuntimeError: Unable to find USRP #0

Check with dmesg for usb connection as below:

usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usb usb1: configuration #1 chosen from 1 choice
usb 1-2: new full speed USB device using ps3-ohci-driver and address 2
usb usb2: configuration #1 chosen from 1 choice
usb 1-2: configuration #1 chosen from 1 choice
usb usb3: configuration #1 chosen from 1 choice
usb usb4: configuration #1 chosen from 1 choice
usb 1-2: USB disconnect, address 2
usb 3-2: new high speed USB device using ps3-ehci-driver and address 2
usb 3-2: configuration #1 chosen from 1 choice
usb 4-1: new high speed USB device using ps3-ehci-driver and address 2
usb 4-1: configuration #1 chosen from 1 choice
usb 4-2: new high speed USB device using ps3-ehci-driver and address 3
usb 4-2: configuration #1 chosen from 1 choice
usb 3-2.1: new low speed USB device using ps3-ehci-driver and address 3
usb 3-2.1: configuration #1 chosen from 1 choice
usb 3-2.2: new high speed USB device using ps3-ehci-driver and address 4
usb 3-2.2: configuration #1 chosen from 1 choice
usb 3-2.3: new low speed USB device using ps3-ehci-driver and address 5
usb 3-2.3: configuration #1 chosen from 1 choice
input: USB HID v1.10 Keyboard [DELL DELL USB Keyboard] on usb-sb_05-2.1
input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-sb_05-2.3
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
usbcore: registered new interface driver usb-storage
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 3-2.2: USB disconnect, address 4
usb 3-2.2: new high speed USB device using ps3-ehci-driver and address 6
usb 3-2.2: configuration #1 chosen from 1 choice
usb 3-2.2: USB disconnect, address 6
usb 3-2.1: USB disconnect, address 3
usb 3-2.2: new low speed USB device using ps3-ehci-driver and address 7
usb 3-2.2: configuration #1 chosen from 1 choice
input: USB HID v1.10 Keyboard [DELL DELL USB Keyboard] on usb-sb_05-2.2
usb 3-2.1: new high speed USB device using ps3-ehci-driver and address 8
usb 3-2.1: configuration #1 chosen from 1 choice
usb 3-2.1: USB disconnect, address 8
usb 3-2.4: new high speed USB device using ps3-ehci-driver and address 9
usb 3-2.4: configuration #1 chosen from 1 choice
usb 3-2.4: USB disconnect, address 9
usb 3-2.4: new high speed USB device using ps3-ehci-driver and address
10
usb 3-2.4: configuration #1 chosen from 1 choice

On Wed, Dec 12, 2007 at 04:58:36PM -0500, [email protected] wrote:

Andrew Ge

Did you setup udev as the wiki page instructed?
Are you in group usrp?

Eric

Eric B. wrote:

Your help will be very appreciated!

Andrew Ge

Did you setup udev as the wiki page instructed?
Are you in group usrp?

Eric

Eric,

I strictly followed the setup udev as the wiki page:
http://www.gnuradio.org/trac/wiki/UdevConfig. However, because the new
kernel 2.6.24-rc4-gd7f0b481uses different sysfs from previous kernel, (I
browsed through google to get this information), I can’t examine
/dev/bus/usb after plugging in a USRP simply by the command

$ ls -lR /dev/bus/usb

That’s why I listed dmesg result to give more information about USRP
connection.

On the other hand, I assume the above instruction is used for allowing
non-root users to access the USRP. I tried root to run

./usrp_benchmark_usb.py

I also tried non-root user within the group usrp. Both results are
same as I showed in the previous email.

Thanks,
Andrew

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs