Usrp issue

Hello,

I’ve problem with USRP. Since I’ve upgraded my Ubuntu to 9.0.4 - usrp
doesn’t work:
/usr/local/share/gnuradio/examples/usrp/usrp_benchmark_usb.py
Exception RuntimeError: ‘maximum recursion depth exceeded while calling
a
Python object’ in <type ‘exceptions.AttributeError’> ignored
Testing 2MB/sec… usrp: failed to write fpga hash slot
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Invalid or
incomplete
multibyte or wide character
usb_control_msg failed: error sending control message: Invalid or
incomplete
multibyte or wide character
usb_control_msg failed: error sending control message: Protocol error
usrp: failed to reset tx and/or rx path
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Protocol error
usb_control_msg failed: error sending control message: Cannot send after
transport endpoint shutdown
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usb_control_msg failed: error sending control message: No such device
usrp_open_interface:usb_claim_interface: failed interface 1
could not claim interface 1: Bad file descriptor
usrp_basic_tx: can’t open tx interface
Traceback (most recent call last):
File “/usr/local/share/gnuradio/examples/usrp/usrp_benchmark_usb.py”,
line
106, in
main ()
File “/usr/local/share/gnuradio/examples/usrp/usrp_benchmark_usb.py”,
line
96, in main
ok = run_test (rate, verbose)
File “/usr/local/share/gnuradio/examples/usrp/usrp_benchmark_usb.py”,
line
63, in run_test
usrp_tx = usrp.sink_s (0, tx_interp)
File “/usr/local/lib/python2.6/site-packages/gnuradio/usrp.py”, line
232,
in init
fpga_filename, firmware_filename)
File “/usr/local/lib/python2.6/site-packages/gnuradio/usrp1.py”, line
946,
in sink_s
return _usrp1.sink_s(*args)
RuntimeError: can’t open usrp1

When I connect USRP, I get this:
Apr 7 15:00:48 openbts-laptop kernel: [ 4950.513099] usb 2-4: new high
speed USB device using ehci_hcd and address 41
Apr 7 15:00:48 openbts-laptop kernel: [ 4951.080088] usb 2-4: new high
speed USB device using ehci_hcd and address 42
Apr 7 15:00:49 openbts-laptop kernel: [ 4951.648076] usb 2-4: new high
speed USB device using ehci_hcd and address 43
Apr 7 15:00:49 openbts-laptop kernel: [ 4952.176102] usb 2-4: new high
speed USB device using ehci_hcd and address 44
Apr 7 15:00:50 openbts-laptop kernel: [ 4952.860037] usb 7-2: new full
speed USB device using uhci_hcd and address 28
Apr 7 15:00:50 openbts-laptop kernel: [ 4953.002086] usb 7-2: not
running
at top speed; connect to a high speed hub
Apr 7 15:00:50 openbts-laptop kernel: [ 4953.021278] usb 7-2:
configuration
#1 chosen from 1 choice

And lsusb shows me:
Bus 007 Device 028: ID 04b4:8613 Cypress Semiconductor Corp. CY7C68013
EZ-USB FX2 USB 2.0 Development Kit

But if I connect High Speed Hub to the same port, I get this:
usb 2-3: new high speed USB device using ehci_hcd and address 34
usb 2-3: configuration #1 chosen from 1 choice
hub 2-3:1.0: USB hub found
hub 2-3:1.0: 4 ports detected

So is it ok with usrp’s USB controller?
Can you please help me?

Thanks in advance

On Wed, Apr 7, 2010 at 8:03 AM, voipas [email protected] wrote:

usb_control_msg failed: error sending control message: Protocol error
Protocol error from USB generally indicates a low level error. Do you
have any other USB devices attached (hubs, webcams, etc.)?

Thomas

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