usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

B205 mini-i isn't found by uhd_find_devices

P
paradis@kwesst.com
Mon, Apr 12, 2021 4:06 PM

Hi everyone, I'm just starting out with the USRP B205 mini-i, and I'm having some issues.

I'm running Ubuntu 20.04 LTS, I've also installed the UHD toolchain using the instructions on the Ettus website (Building and Installing the USRP Open-Source toolchain (UHD and GNURadio) on Linux. The UHD version is v4.0.0.0.

So, after installing UHD and running the 'make test' diagnostic, everything passes 100%, so it seems like everything is working correctly. I've also made sure that the 'uhd-usrp.rules' file has been copied to the /etc/udev/rules.d directory.

When I plug in the B205 mini and do a 'lsusb', it finds a device with the VID/PID of 2500:0022 called "Cypress WestBridge". This is the B205 because when I unplug and run 'lsusb' it disappears, then if I plug it back in it reappears. Great!

So next I try 'uhd_find_devices' and it finds nothing. It returns with:

[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; UHD_4.0.0.HEAD-0-g90ce6062

No UHD Devices Found

Questions:

  1. Should the uhd-usrp.rules have a specific entry for the B205?

  2. Is is correct that the B205 comes up as a "Cypress WestBridge"? I know it's the B205 because when I unplug it, it disappears, and when I plug it back in, it reappears.

  3. uhd_find_devices does not throw any errors, it just doesn't find the device, could there be a hardware problem?

Any help is appreciated, thanks!

Hi everyone, I'm just starting out with the USRP B205 mini-i, and I'm having some issues. I'm running Ubuntu 20.04 LTS, I've also installed the UHD toolchain using the instructions on the Ettus website (Building and Installing the USRP Open-Source toolchain (UHD and GNURadio) on Linux. The UHD version is v4.0.0.0. So, after installing UHD and running the 'make test' diagnostic, everything passes 100%, so it seems like everything is working correctly. I've also made sure that the 'uhd-usrp.rules' file has been copied to the /etc/udev/rules.d directory. When I plug in the B205 mini and do a 'lsusb', it finds a device with the VID/PID of 2500:0022 called "Cypress WestBridge". This is the B205 because when I unplug and run 'lsusb' it disappears, then if I plug it back in it reappears. Great! So next I try 'uhd_find_devices' and it finds nothing. It returns with: \[INFO\] \[UHD\] linux; GNU C++ version 9.3.0; Boost_107100; UHD_4.0.0.HEAD-0-g90ce6062 No UHD Devices Found Questions: 1) Should the uhd-usrp.rules have a specific entry for the B205? 2) Is is correct that the B205 comes up as a "Cypress WestBridge"? I know it's the B205 because when I unplug it, it disappears, and when I plug it back in, it reappears. 3) uhd_find_devices does not throw any errors, it just doesn't find the device, could there be a hardware problem? Any help is appreciated, thanks!
MD
Marcus D. Leech
Mon, Apr 12, 2021 4:20 PM

On 04/12/2021 12:06 PM, paradis@kwesst.com wrote:

Hi everyone, I'm just starting out with the USRP B205 mini-i, and I'm
having some issues.

I'm running Ubuntu 20.04 LTS, I've also installed the UHD toolchain
using the instructions on the Ettus website (Building and Installing
the USRP Open-Source toolchain (UHD and GNURadio) on Linux. The UHD
version is v4.0.0.0.

So, after installing UHD and running the 'make test' diagnostic,
everything passes 100%, so it seems like everything is working
correctly. I've also made sure that the 'uhd-usrp.rules' file has been
copied to the /etc/udev/rules.d directory.

When I plug in the B205 mini and do a 'lsusb', it finds a device with
the VID/PID of 2500:0022 called "Cypress WestBridge". This is the B205
because when I unplug and run 'lsusb' it disappears, then if I plug it
back in it reappears. Great!

So next I try 'uhd_find_devices' and it finds nothing. It returns with:

[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100;
UHD_4.0.0.HEAD-0-g90ce6062

No UHD Devices Found

Questions:

  1. Should the uhd-usrp.rules have a specific entry for the B205?

My "rules" file has the following for B2xx devices:

#B200
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2500", ATTRS{idProduct}=="0020",
MODE:="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2500", ATTRS{idProduct}=="0021",
MODE:="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2500", ATTRS{idProduct}=="0022",
MODE:="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="3923", ATTRS{idProduct}=="7813",
MODE:="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="3923", ATTRS{idProduct}=="7814",
MODE:="0666"

You could try:

uhd_usrp_probe --args type=b200

If that fails, try again as root.

If it works as root, then you have a rules issue.

On 04/12/2021 12:06 PM, paradis@kwesst.com wrote: > > Hi everyone, I'm just starting out with the USRP B205 mini-i, and I'm > having some issues. > > I'm running Ubuntu 20.04 LTS, I've also installed the UHD toolchain > using the instructions on the Ettus website (Building and Installing > the USRP Open-Source toolchain (UHD and GNURadio) on Linux. The UHD > version is v4.0.0.0. > > So, after installing UHD and running the 'make test' diagnostic, > everything passes 100%, so it seems like everything is working > correctly. I've also made sure that the 'uhd-usrp.rules' file has been > copied to the /etc/udev/rules.d directory. > > When I plug in the B205 mini and do a 'lsusb', it finds a device with > the VID/PID of 2500:0022 called "Cypress WestBridge". This is the B205 > because when I unplug and run 'lsusb' it disappears, then if I plug it > back in it reappears. Great! > > So next I try 'uhd_find_devices' and it finds nothing. It returns with: > > [INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; > UHD_4.0.0.HEAD-0-g90ce6062 > > No UHD Devices Found > > Questions: > > 1) Should the uhd-usrp.rules have a specific entry for the B205? > My "rules" file has the following for B2xx devices: #B200 SUBSYSTEMS=="usb", ATTRS{idVendor}=="2500", ATTRS{idProduct}=="0020", MODE:="0666" SUBSYSTEMS=="usb", ATTRS{idVendor}=="2500", ATTRS{idProduct}=="0021", MODE:="0666" SUBSYSTEMS=="usb", ATTRS{idVendor}=="2500", ATTRS{idProduct}=="0022", MODE:="0666" SUBSYSTEMS=="usb", ATTRS{idVendor}=="3923", ATTRS{idProduct}=="7813", MODE:="0666" SUBSYSTEMS=="usb", ATTRS{idVendor}=="3923", ATTRS{idProduct}=="7814", MODE:="0666" You could try: uhd_usrp_probe --args type=b200 If that fails, try again as root. If it works as root, then you have a rules issue.
P
paradis@kwesst.com
Mon, Apr 12, 2021 4:38 PM

Thanks for the response,

My rules file is the same as yours.

I tried what you suggested as both user and root and the response for both was:

Error: LookupError: KeyError: No devices found for ——->

Device Address:

 type: B200

It’s very frustrating because ‘lsusb’ sees the device, so I don’t know what else the problem might be.

Thanks for the response, My rules file is the same as yours. I tried what you suggested as both user and root and the response for both was: Error: LookupError: KeyError: No devices found for ——-> Device Address: type: B200 It’s very frustrating because ‘lsusb’ sees the device, so I don’t know what else the problem might be.
DW
Dustin Widmann
Mon, Apr 12, 2021 4:41 PM

I've had this issue before too. It is worth noting that you can reset the
USB interface programmatically.
See https://askubuntu.com/a/661 for an example.

On Mon, Apr 12, 2021, 12:06 PM paradis@kwesst.com wrote:

Hi everyone, I'm just starting out with the USRP B205 mini-i, and I'm
having some issues.

I'm running Ubuntu 20.04 LTS, I've also installed the UHD toolchain using
the instructions on the Ettus website (Building and Installing the USRP
Open-Source toolchain (UHD and GNURadio) on Linux. The UHD version is
v4.0.0.0.

So, after installing UHD and running the 'make test' diagnostic,
everything passes 100%, so it seems like everything is working correctly.
I've also made sure that the 'uhd-usrp.rules' file has been copied to the
/etc/udev/rules.d directory.

When I plug in the B205 mini and do a 'lsusb', it finds a device with the
VID/PID of 2500:0022 called "Cypress WestBridge". This is the B205 because
when I unplug and run 'lsusb' it disappears, then if I plug it back in it
reappears. Great!

So next I try 'uhd_find_devices' and it finds nothing. It returns with:

[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100;
UHD_4.0.0.HEAD-0-g90ce6062

No UHD Devices Found

Questions:

  1. Should the uhd-usrp.rules have a specific entry for the B205?

  2. Is is correct that the B205 comes up as a "Cypress WestBridge"? I know
    it's the B205 because when I unplug it, it disappears, and when I plug it
    back in, it reappears.

  3. uhd_find_devices does not throw any errors, it just doesn't find the
    device, could there be a hardware problem?

Any help is appreciated, thanks!


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

I've had this issue before too. It is worth noting that you can reset the USB interface programmatically. See https://askubuntu.com/a/661 for an example. On Mon, Apr 12, 2021, 12:06 PM <paradis@kwesst.com> wrote: > Hi everyone, I'm just starting out with the USRP B205 mini-i, and I'm > having some issues. > > I'm running Ubuntu 20.04 LTS, I've also installed the UHD toolchain using > the instructions on the Ettus website (Building and Installing the USRP > Open-Source toolchain (UHD and GNURadio) on Linux. The UHD version is > v4.0.0.0. > > So, after installing UHD and running the 'make test' diagnostic, > everything passes 100%, so it seems like everything is working correctly. > I've also made sure that the 'uhd-usrp.rules' file has been copied to the > /etc/udev/rules.d directory. > > When I plug in the B205 mini and do a 'lsusb', it finds a device with the > VID/PID of 2500:0022 called "Cypress WestBridge". This is the B205 because > when I unplug and run 'lsusb' it disappears, then if I plug it back in it > reappears. Great! > > So next I try 'uhd_find_devices' and it finds nothing. It returns with: > > [INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; > UHD_4.0.0.HEAD-0-g90ce6062 > > No UHD Devices Found > > Questions: > > 1) Should the uhd-usrp.rules have a specific entry for the B205? > > 2) Is is correct that the B205 comes up as a "Cypress WestBridge"? I know > it's the B205 because when I unplug it, it disappears, and when I plug it > back in, it reappears. > > 3) uhd_find_devices does not throw any errors, it just doesn't find the > device, could there be a hardware problem? > > Any help is appreciated, thanks! > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com >
P
paradis@kwesst.com
Mon, Apr 12, 2021 5:03 PM

Thanks Dustin,

Did resetting the USB fix your problem?

I don’t think I’m having any USB issues per say, I can plug the B205 in and after doing an ‘lsusb’ I can see the device on the bus. The problem I’m having is that when I do a ‘uhd_find_devices’ it doesn’t find anything. My gut feeling is telling me that there’s an issue with the hardware, but I’d like to exhaust any other possibilities before trying to debug the actual B205 itself.

Thanks Dustin, Did resetting the USB fix your problem? I don’t think I’m having any USB issues per say, I can plug the B205 in and after doing an ‘lsusb’ I can see the device on the bus. The problem I’m having is that when I do a ‘uhd_find_devices’ it doesn’t find anything. My gut feeling is telling me that there’s an issue with the hardware, but I’d like to exhaust any other possibilities before trying to debug the actual B205 itself.
DW
Dustin Widmann
Mon, Apr 12, 2021 5:46 PM

Oh, it seems I may have misread your email, particularly the bit about it
"reappearing" after unplugging/replugging it (resetting the interface
programmatically had the same effect). The issue I had is that
uhd_find_devices would work again after doing that ...  Sorry for the
distraction.

Dustin

On Mon, Apr 12, 2021, 1:03 PM paradis@kwesst.com wrote:

Thanks Dustin,

Did resetting the USB fix your problem?

I don’t think I’m having any USB issues per say, I can plug the B205 in
and after doing an ‘lsusb’ I can see the device on the bus. The problem I’m
having is that when I do a ‘uhd_find_devices’ it doesn’t find anything. My
gut feeling is telling me that there’s an issue with the hardware, but I’d
like to exhaust any other possibilities before trying to debug the actual
B205 itself.


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

Oh, it seems I may have misread your email, particularly the bit about it "reappearing" after unplugging/replugging it (resetting the interface programmatically had the same effect). The issue I had is that uhd_find_devices would work again after doing that ... Sorry for the distraction. Dustin On Mon, Apr 12, 2021, 1:03 PM <paradis@kwesst.com> wrote: > Thanks Dustin, > > Did resetting the USB fix your problem? > > I don’t think I’m having any USB issues per say, I can plug the B205 in > and after doing an ‘lsusb’ I can see the device on the bus. The problem I’m > having is that when I do a ‘uhd_find_devices’ it doesn’t find anything. My > gut feeling is telling me that there’s an issue with the hardware, but I’d > like to exhaust any other possibilities before trying to debug the actual > B205 itself. > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com >
P
paradis@kwesst.com
Mon, Apr 12, 2021 7:09 PM

I’ve been poking around trying to find out any more information on my issue and I noticed this after running the ‘usb-devices’ command:

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 10 Spd=480 MxCh= 0

D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1

P:  Vendor=2500 ProdID=0022 Rev=01.00

S:  Manufacturer=Cypress

S:  Product=WestBridge

S:  SerialNumber=0000000004BE

C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA

I:  If#=0x0 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)

The VID/PID are 2500:0022 so this is the B205 I have plugged in, but on the very last line it says “Driver=(none).

Could there be something wrong with the UHD installation? Should I try a different version than v4.0.0.0?

I’ve been poking around trying to find out any more information on my issue and I noticed this after running the ‘usb-devices’ command: T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 10 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=2500 ProdID=0022 Rev=01.00 S: Manufacturer=Cypress S: Product=WestBridge S: SerialNumber=0000000004BE C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA I: If#=0x0 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) The VID/PID are 2500:0022 so this is the B205 I have plugged in, but on the very last line it says “Driver=(none). Could there be something wrong with the UHD installation? Should I try a different version than v4.0.0.0?
MD
Marcus D Leech
Mon, Apr 12, 2021 7:11 PM

What does dmesg report when you plug the device in?

Sent from my iPhone

On Apr 12, 2021, at 2:19 PM, paradis@kwesst.com wrote:


Thanks Dustin,

Did resetting the USB fix your problem?

I don’t think I’m having any USB issues per say, I can plug the B205 in and after doing an ‘lsusb’ I can see the device on the bus. The problem I’m having is that when I do a ‘uhd_find_devices’ it doesn’t find anything. My gut feeling is telling me that there’s an issue with the hardware, but I’d like to exhaust any other possibilities before trying to debug the actual B205 itself.


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

What does dmesg report when you plug the device in? Sent from my iPhone > On Apr 12, 2021, at 2:19 PM, paradis@kwesst.com wrote: > >  > Thanks Dustin, > > Did resetting the USB fix your problem? > > I don’t think I’m having any USB issues per say, I can plug the B205 in and after doing an ‘lsusb’ I can see the device on the bus. The problem I’m having is that when I do a ‘uhd_find_devices’ it doesn’t find anything. My gut feeling is telling me that there’s an issue with the hardware, but I’d like to exhaust any other possibilities before trying to debug the actual B205 itself. > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com
P
paradis@kwesst.com
Mon, Apr 12, 2021 7:15 PM

This is the output of ‘dmesg -wH’ after plugging in the B205.

[Apr12 15:14] usb 1-1: new high-speed USB device number 11 using xhci_hcd

[  +0.148694] usb 1-1: New USB device found, idVendor=2500, idProduct=0022, bcdDevice= 1.00

[  +0.000006] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[  +0.000003] usb 1-1: Product: WestBridge

[  +0.000003] usb 1-1: Manufacturer: Cypress

[  +0.000003] usb 1-1: SerialNumber: 0000000004BE

This is the output of ‘dmesg -wH’ after plugging in the B205. \[Apr12 15:14\] usb 1-1: new high-speed USB device number 11 using xhci_hcd \[ +0.148694\] usb 1-1: New USB device found, idVendor=2500, idProduct=0022, bcdDevice= 1.00 \[ +0.000006\] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 \[ +0.000003\] usb 1-1: Product: WestBridge \[ +0.000003\] usb 1-1: Manufacturer: Cypress \[ +0.000003\] usb 1-1: SerialNumber: 0000000004BE
MD
Marcus D Leech
Mon, Apr 12, 2021 7:36 PM

There is no kernel-level
Driver for this device. It’s handled by Libusb

Sent from my iPhone

On Apr 12, 2021, at 3:34 PM, paradis@kwesst.com wrote:


I’ve been poking around trying to find out any more information on my issue and I noticed this after running the ‘usb-devices’ command:

T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 10 Spd=480 MxCh= 0

D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1

P: Vendor=2500 ProdID=0022 Rev=01.00

S: Manufacturer=Cypress

S: Product=WestBridge

S: SerialNumber=0000000004BE

C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA

I: If#=0x0 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)

The VID/PID are 2500:0022 so this is the B205 I have plugged in, but on the very last line it says “Driver=(none).

Could there be something wrong with the UHD installation? Should I try a different version than v4.0.0.0?


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

There is no kernel-level Driver for this device. It’s handled by Libusb Sent from my iPhone > On Apr 12, 2021, at 3:34 PM, paradis@kwesst.com wrote: > >  > I’ve been poking around trying to find out any more information on my issue and I noticed this after running the ‘usb-devices’ command: > > T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 10 Spd=480 MxCh= 0 > > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > > P: Vendor=2500 ProdID=0022 Rev=01.00 > > S: Manufacturer=Cypress > > S: Product=WestBridge > > S: SerialNumber=0000000004BE > > C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA > > I: If#=0x0 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) > > > > The VID/PID are 2500:0022 so this is the B205 I have plugged in, but on the very last line it says “Driver=(none). > > Could there be something wrong with the UHD installation? Should I try a different version than v4.0.0.0? > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com