Uhd_find_devices error

Hello,

I have a strange problem with uhd_find_devices. I can do

[dkelly uhd]+master$ uhd_find_devices --args=“addr=192.168.10.2”
linux; GNU C++ version 4.4.5; Boost_104000; UHD_20101122.202304.0c147c9


– UHD Device 0

Device Address:
type: usrp2
addr: 192.168.10.2
name: dk-usrp2
serial: 00:50:c2:85:30:52

fine, as you can see. But everything else I try fails. Note I have a
USRP1 too here.

[dkelly uhd]+master$ sudo uhd_find_devices --args=“type=usrp2”
linux; GNU C++ version 4.4.5; Boost_104000; UHD_20101122.202304.0c147c9

No UHD Devices Found

      [dkelly uhd]+master$ sudo uhd_find_devices --args="type=usrp1"

linux; GNU C++ version 4.4.5; Boost_104000; UHD_20101122.202304.0c147c9

No UHD Devices Found
[dkelly uhd]+master$ sudo uhd_find_devices --args=“serial=12345”
linux; GNU C++ version 4.4.5; Boost_104000; UHD_20101122.202304.0c147c9

No UHD Devices Found

I’ve noticed when when I use the addr argument that I see in wireshark
that
exactly 180 packets are communicated between my pc andthe usrp2. I
don’t
see any packets on either interface for any other argument.

Here is my ifconfig:
eth3 Link encap:Ethernet HWaddr 00:22:3f:f6:36:40
inet6 addr: fe80::222:3fff:fef6:3640/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17375493 errors:0 dropped:0 overruns:0 frame:0
TX packets:6397200 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4261877192 (4.2 GB) TX bytes:499316331 (499.3 MB)
Interrupt:16 Base address:0x6700

eth3:0 Link encap:Ethernet HWaddr 00:22:3f:f6:36:40
inet addr:192.168.10.1 Bcast:0.0.0.0 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16 Base address:0x6700

Does anyone have any ideas for for why only the addr argument works?
I’d
like to use my USRP1 with the UHD.

Also, while I’m here, do I have to update anything (like reflashing the
eeprom) on my USRP1 for it to work with the UHD?

Thanks for any help,
Devin

When you specify the address it works, the other methods do not. This is
likely due to a firewall blocking broadcast packet:

http://www.ettus.com/uhd_docs/manual/html/usrp_nxxx.html#debugging-networking-problems

-Josh

Thanks Josh, that makes sense. But what about accessing the USRP1?

    uhd_find_devices --args="type=usrp1"

Can’t find any UHD devices.

Thanks for the help.
Devin

On Wed, Nov 24, 2010 at 5:47 PM, Devin K. [email protected] wrote:

Thanks Josh, that makes sense. But what about accessing the USRP1?

uhd_find_devices --args=“type=usrp1”

Can’t find any UHD devices.

When I first tried UHD few weeks ago it couldn’t find my USRP1 either.
After a while I realized that I was missing libusb-1.0 and UHD got
compiled without USRP1 support (the old driver uses libusb-0.1). So
check the cmake output and see if USRP1 support is enabled or not.

Alex