Can't open usrp

Hi all,
I had received a USRP (Rev 4.5) from someone. The USRP was modified to
operate in slave mode.
First I opened it and powered on; the LED was blinking.
So I did the following.

  1. turned it OFF and open circuited R2030 and short-circuited R2029
  2. move C926 to C925
  3. added C924
  4. powerd on the USRP; the LED was OFF
  5. checked the onboard clock by probing at J2002 and got a 64MHz
    sinusoidal(?) waveform on my oscilloscope. that means the power supply
    is
    okey and the clock is working right?
  6. I run usrp examples, and got the following error.

usrp: failed to find usrp[0]
Tracback most recent calls last):
File “./usrp_wfm_rcv.py”, line 297, in


File “/usr/lib/python2.6/dist-packages/gnuradio/usrp/usrp_swig.py”, line
1646, in source_c
return _usrp_swig.source_c(*args, **kwargs)
RuntimeError: can’t open usrp

I get the same error message when I run this code without the USRP; the
only
difference is that it hangs for about 3 minutes before printing the
message
when the USRP is connected.

I checked the var/log/messages file and got the following



Nov 1 02:28:39 ubuntu kernel: [ 84.660128] usb 6-1: new full speed
USB
device using uhci_hcd and address 2
Nov 1 02:29:10 ubuntu kernel: [ 115.204109] usb 6-1: new full speed
USB
device using uhci_hcd and address 3
Nov 1 02:29:40 ubuntu kernel: [ 145.748130] usb 6-1: new full speed
USB
device using uhci_hcd and address 4
Nov 1 02:29:51 ubuntu kernel: [ 156.104109] usb 6-1: new full speed
USB
device using uhci_hcd and address 5
Nov 1 02:30:02 ubuntu kernel: [ 167.236865] ppdev: user-space parallel
port driver
Nov 1 02:30:02 ubuntu kernel: [ 167.734779] pci 0000:01:00.0: PCI INT
A ->
GSI 16 (level, low) -> IRQ 16
Nov 1 02:30:02 ubuntu kernel: [ 167.851583] [drm] Initialized drm
1.1.0
20060810
Nov 1 02:30:02 ubuntu kernel: [ 167.903478] [drm] Initialized radeon
1.29.0 20080528 on minor 0
Nov 1 02:30:03 ubuntu kernel: [ 168.462061] [drm] Setting GART
location
based on new memory map
Nov 1 02:30:03 ubuntu kernel: [ 168.463564] [drm] Loading R500
Microcode
Nov 1 02:30:03 ubuntu kernel: [ 168.463620] [drm] Num pipes: 1
Nov 1 02:30:03 ubuntu kernel: [ 168.463636] [drm] writeback test
succeeded
in 1 usecs
Nov 1 02:30:06 ubuntu kernel: [ 170.992490] ADDRCONF(NETDEV_UP): eth0:
link is not ready
Nov 1 02:30:06 ubuntu kernel: [ 170.993252] iwl3945 0000:10:00.0:
firmware: requesting iwlwifi-3945-1.ucode
Nov 1 02:30:06 ubuntu kernel: [ 171.025597] iwl3945: Radio disabled by
HW
RF Kill switch
Nov 1 02:33:28 ubuntu kernel: [ 373.160196] usb 2-3: new high speed
USB
device using ehci_hcd and address 6
Nov 1 02:33:58 ubuntu kernel: [ 403.704165] usb 2-3: new high speed
USB
device using ehci_hcd and address 7
Nov 1 02:34:29 ubuntu kernel: [ 434.248213] usb 2-3: new high speed
USB
device using ehci_hcd and address 8
Nov 1 02:34:39 ubuntu kernel: [ 444.604196] usb 2-3: new high speed
USB
device using ehci_hcd and address 9
Nov 1 02:34:50 ubuntu kernel: [ 455.116167] usb 6-1: new full speed
USB
device using uhci_hcd and address 6
Nov 1 02:35:20 ubuntu kernel: [ 485.660170] usb 6-1: new full speed
USB
device using uhci_hcd and address 7
Nov 1 02:35:51 ubuntu kernel: [ 516.316170] usb 6-1: new full speed
USB
device using uhci_hcd and address 8
Nov 1 02:36:01 ubuntu kernel: [ 526.676176] usb 6-1: new full speed
USB
device using uhci_hcd and address 9
Nov 1 02:39:36 ubuntu kernel: [ 740.988173] usb 6-1: new full speed
USB
device using uhci_hcd and address 10
Nov 1 02:40:06 ubuntu kernel: [ 771.532193] usb 6-1: new full speed
USB
device using uhci_hcd and address 11
Nov 1 02:40:37 ubuntu kernel: [ 802.076169] usb 6-1: new full speed
USB
device using uhci_hcd and address 12
Nov 1 02:40:47 ubuntu kernel: [ 812.432174] usb 6-1: new full speed
USB
device using uhci_hcd and address 13
Nov 1 02:43:31 ubuntu kernel: [ 976.392172] usb 6-1: new full speed
USB
device using uhci_hcd and address 14
Nov 1 02:44:02 ubuntu kernel: [ 1006.936172] usb 6-1: new full speed
USB
device using uhci_hcd and address 15
Nov 1 02:44:32 ubuntu kernel: [ 1037.480201] usb 6-1: new full speed
USB
device using uhci_hcd and address 16
Nov 1 02:44:42 ubuntu kernel: [ 1047.836075] usb 6-1: new full speed
USB
device using uhci_hcd and address 17
Nov 1 02:46:21 ubuntu kernel: [ 1146.729201] usb 6-1: new full speed
USB
device using uhci_hcd and address 18
Nov 1 02:46:52 ubuntu kernel: [ 1177.272174] usb 6-1: new full speed
USB
device using uhci_hcd and address 19
Nov 1 02:47:22 ubuntu kernel: [ 1207.816175] usb 6-1: new full speed
USB
device using uhci_hcd and address 20

please help me fix it

Regards!

View this message in context:
http://old.nabble.com/can't-open-usrp-tp26156620p26156620.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Hi,
Are you working with Linux ?
If so, try to run sudo wbfm_receive or sudo usrp_probe to test the
presence
of usrp.

sumol wrote:

tb = usrp_wbfm_receive(options)

self._usrp_args[0](*args, **kwargs)
File “/usr/lib/python2.6/dist-packages/gnuradio/usrp/usrp_swig.py”, line
1646, in source_c
return _usrp_swig.source_c(*args, **kwargs)
RuntimeError: can’t open usrp

please help me to solve this


View this message in context:
http://old.nabble.com/can't-open-usrp-tp28077947p28078493.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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