discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] USRP failed to attach after NetBSD upgrade; solution


From: Greg Troxel
Subject: [Discuss-gnuradio] USRP failed to attach after NetBSD upgrade; solution is update libusb
Date: Sat, 26 Aug 2006 12:20:54 -0400
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (berkeley-unix)

exec summary:

  After update of NetBSD to recent current, all usrp programs failed
  to find the USRP.   Rebuilding libusb solved the problem.

details in case it's helpful for anyone:

I'm trying to run a USRP on battery power, and using a new notebook
(T60) at the same time.  I'm running NetBSD-current, and others in my
group have used this fine.

(For the curious, I'm using a 12V-5V DC-DC converter, and a 6.5 Ahr
lead-acid battery, with a West Mountain Radio RigRunner 4005 to
distribute power to both the USRP and a Novatel GPS unit, all bolted
into a Radio Flyer all-terrain wagon.)

On boot my system detects

ugen0 at uhub3 port 2
ugen0: STMicroelectronics Biometric Coprocessor, rev 1.00/0.01, addr 3

and then when I plugged in the USRP.

ugen1 at uhub4 port 5
ugen1: GNU Radio USRP USRP Revision 2, rev 2.00/0.02, addr 2

usbdevs -v reports:

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x8086), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x8086), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x8086), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x8086), rev 1.00
 port 1 addr 2: full speed, self powered, config 1, BCM2045B(0x2110), Broadcom 
Corp(0x0a5c), rev 1.00
 port 2 addr 3: full speed, power 100 mA, config 1, Biometric 
Coprocessor(0x2016), STMicroelectronics(0x0483), rev 0.01
Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
Intel(0x8086), rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 addr 2: high speed, power 100 mA, config 1, USRP Revision 2(0x0002), 
GNU Radio USRP(0xfffe), rev 0.02
 port 6 powered
 port 7 powered
 port 8 powered

If I run test_usrp_standard_rx, it failed to find the USRP.

I solved this by rebuilding libusb; I had not rebuilt it since
upgrading NetBSD to a newer version of current.  Then, after testing,
I find the USRP at the right address.

- port 5 addr 2: high speed, power 100 mA, config 1, USRP Revision 2(0x0002), 
GNU Radio USRP(0xfffe), rev 0.02
+ port 5 addr 2: high speed, self powered, config 1, USRP Rev 2(0x0002), Free 
Software Folks(0xfffe), rev 1.02, serial 00000000

-- 
    Greg Troxel <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]