usrp b100
Ubuntu 10.04.3 LTS
tried gnuradio install via script
$ uhd_find_devices
linux; GNU C++ version 4.4.3; Boost_104000; UHD_003.004.000-6795022
No UHD Devices Found
Tried manual compile and install of uhd binary driver. not working
either
dpkg -l | grep uhd
ii uhd 003.003.001 Ettus R. - USRP Hardware Driver
$ sudo lsusb
…
…
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 2500:0002 <- this is the usrp
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
…
…
On Sat, Dec 31, 2011 at 11:28:07PM -0800, dave k wrote:
usrp b100
Ubuntu 10.04.3 LTS
tried gnuradio install via script
$ uhd_find_devices
linux; GNU C++ version 4.4.3; Boost_104000; UHD_003.004.000-6795022
No UHD Devices Found
First, you need to always try it twice. If the code loads my USRP1 with
firmware, it does not get found.
The USRP1 disconnects and re-connects when loaded. For some reason, my
Ubuntu 11.04 may reconnect it on a slow USB device. I have to re-plug
the USB connector without powering down the USRP1, and then check
‘dmesg’
to be sure it connected to the 2.0 port.
I do not have this problem on the FreeBSD machine so it is probably an
Ubuntu issue.
First, you need to always try it twice. If the code loads my USRP1 with
firmware, it does not get found.
uhd_find_devices loads the firmware onto your device, at which point the
device re-enumerates and identifies. If the USB driver installed on
your
system, or the OS itself, handles re-enumeration slowly or in an
unexpected
manner, then you may get weird behavior.
But you should not have to ‘try it twice’, unless something about your
USB
driver or OS is broken.
My experience with a physical machine, and USRP devices is that Bens
observation is correct–the USB re-enumeration should cause zero
problems.
I have this problem with Ubuntu, I think thru my upgrades from 10.04
to 10.10 and now 11.04. It is about the device being connected by the
USB code to USB 1.1 even though it is a 2.0 device. It can happen on
boot up or re-connect. I don’t have this problem under FreeBSD but do
not have GnuRadio running UHD yet on FreeBSD. I use the UHD code when
running Ubuntu. No VM. The machine is a Dell but the price was right…
But you should not
have to ‘try it twice’, unless something about your USB driver or OS is
broken.
FYI I was seeing the “try it twice” behaviour consistently
with VMware; probably because it has to reconnect the device to the
VM.
My experience with USB + VMware, through a Windows host system into
a Ubuntu VM, is that USB behaviour is bizarre and unreliable during
enumeration/reconnect.
I have to deal with this every day as an
Android developer, with various Android devices that use USB. I wouldn’t
expect the “bizarre” to improve with a USRP1/B100 in this situation.
My experience with a physical machine, and USRP devices is that Bens
observation is correct–the USB re-enumeration should cause zero
problems.
Links:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.