usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

B200-mini not detected

IC
Ian Chodera
Fri, Apr 21, 2023 12:09 PM

I have a problem using a B200-mini on a Ubuntu 20.04 machine

The device is recognised on the USB bus

lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 2500:0021 Ettus Research LLC USRP B200-mini
Bus 001 Device 006: ID 10c4:ea60 Silicon Labs CP210x UART Bridge

But not using uhd_find_devices (or uhd_usrp_probe)

uhd_find_devices
[INFO] [UHD] linux; GNU C++ version 11.3.0; Boost_107400; UHD_4.4.0.0-68-g02558b69

-- UHD Device 0

Device Address:
serial: 327D7FC
fpga: HG
name:
product: X310
resource: RIO0
type: x300

(the linux machine does have a PCIe interface to a X310 - which is listed)

The fpga and firmware images on the machine appear to be up-to date (using. uhd_images_downloader)

I have confirmed that the B200-mini works by plugging it into another computer (a Mac) - here is the output from uhd_find_devices on that machine

[INFO] [UHD] Mac OS; Clang version 14.0.0 (clang-1400.0.29.202); Boost_108100; UHD_4.4.0.0-47-gd18647dd
[INFO] [B200] Loading firmware image: /opt/local/share/uhd/images/usrp_b200_fw.hex...

-- UHD Device 0

Device Address:
serial: 31E21E3
name: B200mini
product: B200mini
type: b200

What could be wrong on the Ubuntu machine - and how can I fix it?

Ian Chodera
MD1 Technology Ltd.

e: iac@md1tech.co.uk
w: www.md1tech.co.uk

MD1TechnologyLtd. is registered in England & Wales with company number 09378746.
Registered address: Cheltenham Film & Photographic Studios, Hatherley Lane, Cheltenham, Gloucestershire, England. GL51 6PN.
VAT registration number: GB 206 3877 05

I have a problem using a B200-mini on a Ubuntu 20.04 machine The device is recognised on the USB bus >lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 008: ID 2500:0021 Ettus Research LLC USRP B200-mini Bus 001 Device 006: ID 10c4:ea60 Silicon Labs CP210x UART Bridge But not using uhd_find_devices (or uhd_usrp_probe) uhd_find_devices [INFO] [UHD] linux; GNU C++ version 11.3.0; Boost_107400; UHD_4.4.0.0-68-g02558b69 -------------------------------------------------- -- UHD Device 0 -------------------------------------------------- Device Address: serial: 327D7FC fpga: HG name: product: X310 resource: RIO0 type: x300 (the linux machine does have a PCIe interface to a X310 - which is listed) The fpga and firmware images on the machine appear to be up-to date (using. uhd_images_downloader) I have confirmed that the B200-mini works by plugging it into another computer (a Mac) - here is the output from uhd_find_devices on that machine [INFO] [UHD] Mac OS; Clang version 14.0.0 (clang-1400.0.29.202); Boost_108100; UHD_4.4.0.0-47-gd18647dd [INFO] [B200] Loading firmware image: /opt/local/share/uhd/images/usrp_b200_fw.hex... -------------------------------------------------- -- UHD Device 0 -------------------------------------------------- Device Address: serial: 31E21E3 name: B200mini product: B200mini type: b200 What could be wrong on the Ubuntu machine - and how can I fix it? Ian Chodera MD1 Technology Ltd. e: iac@md1tech.co.uk w: www.md1tech.co.uk  MD1TechnologyLtd. is registered in England & Wales with company number 09378746. Registered address: Cheltenham Film & Photographic Studios, Hatherley Lane, Cheltenham, Gloucestershire, England. GL51 6PN. VAT registration number: GB 206 3877 05
CH
Cédric Hannotier
Fri, Apr 21, 2023 12:49 PM

Hi Ian,

On 2023-04-21 13:09 +0100, Ian Chodera wrote:

I have a problem using a B200-mini on a Ubuntu 20.04 machine

The device is recognised on the USB bus

lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 2500:0021 Ettus Research LLC USRP B200-mini
Bus 001 Device 006: ID 10c4:ea60 Silicon Labs CP210x UART Bridge

But not using uhd_find_devices (or uhd_usrp_probe)

[...]

The fpga and firmware images on the machine appear to be up-to date (using. uhd_images_downloader)

I have confirmed that the B200-mini works by plugging it into another computer (a Mac) - here is the output from uhd_find_devices on that machine

[INFO] [UHD] Mac OS; Clang version 14.0.0 (clang-1400.0.29.202); Boost_108100; UHD_4.4.0.0-47-gd18647dd
[INFO] [B200] Loading firmware image: /opt/local/share/uhd/images/usrp_b200_fw.hex...

-- UHD Device 0

Device Address:
serial: 31E21E3
name: B200mini
product: B200mini
type: b200

What could be wrong on the Ubuntu machine - and how can I fix it?

If uhd_find_devices works under the root user,
then it might be an issue with missing udev rules.
You can find the procedure there:
https://files.ettus.com/manual/page_transport.html#transport_usb_udev

Best regards

Cédric Hannotier

Hi Ian, On 2023-04-21 13:09 +0100, Ian Chodera wrote: > I have a problem using a B200-mini on a Ubuntu 20.04 machine > > The device is recognised on the USB bus > > >lsusb > Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Bus 001 Device 008: ID 2500:0021 Ettus Research LLC USRP B200-mini > Bus 001 Device 006: ID 10c4:ea60 Silicon Labs CP210x UART Bridge > > But not using uhd_find_devices (or uhd_usrp_probe) [...] > The fpga and firmware images on the machine appear to be up-to date (using. uhd_images_downloader) > > > I have confirmed that the B200-mini works by plugging it into another computer (a Mac) - here is the output from uhd_find_devices on that machine > > [INFO] [UHD] Mac OS; Clang version 14.0.0 (clang-1400.0.29.202); Boost_108100; UHD_4.4.0.0-47-gd18647dd > [INFO] [B200] Loading firmware image: /opt/local/share/uhd/images/usrp_b200_fw.hex... > -------------------------------------------------- > -- UHD Device 0 > -------------------------------------------------- > Device Address: > serial: 31E21E3 > name: B200mini > product: B200mini > type: b200 > > > What could be wrong on the Ubuntu machine - and how can I fix it? If uhd_find_devices works under the root user, then it might be an issue with missing udev rules. You can find the procedure there: https://files.ettus.com/manual/page_transport.html#transport_usb_udev Best regards -- Cédric Hannotier
MM
Marcus Müller
Fri, Apr 21, 2023 12:52 PM

Hi Ian,

that looks quite good:

On 21.04.23 14:09, Ian Chodera wrote:

Bus 001 Device 008: ID 2500:0021 Ettus Research LLC USRP B200-mini

So, first thing I'd try is

uhd_find_devices --args 'type=b200'

to force UHD to look for B200-series devices (which does include the B210, and B20x-mini
variants).

If that doesn't help, might be a permission problem. How did you install UHD on your machine?

Best regards,
Marcus

Hi Ian, that looks quite good: On 21.04.23 14:09, Ian Chodera wrote: > Bus 001 Device 008: ID 2500:0021 Ettus Research LLC USRP B200-mini So, first thing I'd try is uhd_find_devices --args 'type=b200' to force UHD to look for B200-series devices (which does include the B210, and B20x-mini variants). If that doesn't help, might be a permission problem. How did you install UHD on your machine? Best regards, Marcus
IC
Ian Chodera
Fri, Apr 21, 2023 1:00 PM

Hi Cedric and Marcus

Thanks for the replies. Neither of them have helped though

sudo uhd_find_devices --args 'type=b200'

No UHD Devices Found

I had in fact already tried both option, having trawled the internet for suggestions before joining this list

Ian Chodera
MD1 Technology Ltd.

e: iac@md1tech.co.uk
w: www.md1tech.co.uk

MD1TechnologyLtd. is registered in England & Wales with company number 09378746.
Registered address: Cheltenham Film & Photographic Studios, Hatherley Lane, Cheltenham, Gloucestershire, England. GL51 6PN.
VAT registration number: GB 206 3877 05

On 21 Apr 2023, at 13:52, Marcus Müller marcus.mueller@ettus.com wrote:

Hi Ian,

that looks quite good:

On 21.04.23 14:09, Ian Chodera wrote:

Bus 001 Device 008: ID 2500:0021 Ettus Research LLC USRP B200-mini

So, first thing I'd try is

uhd_find_devices --args 'type=b200'

to force UHD to look for B200-series devices (which does include the B210, and B20x-mini variants).

If that doesn't help, might be a permission problem. How did you install UHD on your machine?

Best regards,
Marcus


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

Hi Cedric and Marcus Thanks for the replies. Neither of them have helped though >sudo uhd_find_devices --args 'type=b200' No UHD Devices Found I had in fact already tried both option, having trawled the internet for suggestions before joining this list Ian Chodera MD1 Technology Ltd. e: iac@md1tech.co.uk w: www.md1tech.co.uk  MD1TechnologyLtd. is registered in England & Wales with company number 09378746. Registered address: Cheltenham Film & Photographic Studios, Hatherley Lane, Cheltenham, Gloucestershire, England. GL51 6PN. VAT registration number: GB 206 3877 05 > On 21 Apr 2023, at 13:52, Marcus Müller <marcus.mueller@ettus.com> wrote: > > Hi Ian, > > that looks quite good: > > On 21.04.23 14:09, Ian Chodera wrote: > >> Bus 001 Device 008: ID 2500:0021 Ettus Research LLC USRP B200-mini > > So, first thing I'd try is > > uhd_find_devices --args 'type=b200' > > to force UHD to look for B200-series devices (which does include the B210, and B20x-mini variants). > > If that doesn't help, might be a permission problem. How did you install UHD on your machine? > > Best regards, > Marcus > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com
MD
Marcus D. Leech
Fri, Apr 21, 2023 1:48 PM

On 21/04/2023 09:00, Ian Chodera wrote:

Hi Cedric and Marcus

Thanks for the replies. Neither of them have helped though

sudo uhd_find_devices --args 'type=b200'

No UHD Devices Found

I had in fact already tried both option, having trawled the internet
for suggestions before joining this list

Three things occur to me:

Is it possible that you're plugged in to a USB-1.1 port?  (This seems
unlikely these days, but maybe?)

The UHD library you're using was built without B2xx support because
libusb wasn't installed at the time of the build.

You updated the udev rules, but didn't command udev to reload the rules
and/or didn't replug the device

On 21/04/2023 09:00, Ian Chodera wrote: > Hi Cedric and Marcus > > Thanks for the replies. Neither of them have helped though > > >sudo uhd_find_devices --args 'type=b200' > No UHD Devices Found > > I had in fact already tried both option, having trawled the internet > for suggestions before joining this list > Three things occur to me: Is it possible that you're plugged in to a USB-1.1 port?  (This seems unlikely these days, but maybe?) The UHD library you're using was built without B2xx support because libusb wasn't installed at the time of the build. You updated the udev rules, but didn't command udev to reload the rules and/or didn't replug the device
CH
Cédric Hannotier
Fri, Apr 21, 2023 1:54 PM

On 2023-04-21 14:00 +0100, Ian Chodera wrote:

Thanks for the replies. Neither of them have helped though

sudo uhd_find_devices --args 'type=b200'

No UHD Devices Found

I had in fact already tried both option, having trawled the internet for suggestions before joining this list

From this:

[INFO] [UHD] linux; GNU C++ version 11.3.0; Boost_107400; UHD_4.4.0.0-68-g02558b69

I am guessing it is locally compiled (version points to current master).
Does the output of "uhd_config_info --enabled-components" contain
"USB" and "B200" under "Enabled components"?
If it contains both of them, then I am out of ideas...

Best regards

Cédric Hannotier

On 2023-04-21 14:00 +0100, Ian Chodera wrote: > Thanks for the replies. Neither of them have helped though > > >sudo uhd_find_devices --args 'type=b200' > No UHD Devices Found > > I had in fact already tried both option, having trawled the internet for suggestions before joining this list From this: > [INFO] [UHD] linux; GNU C++ version 11.3.0; Boost_107400; UHD_4.4.0.0-68-g02558b69 I am guessing it is locally compiled (version points to current master). Does the output of "uhd_config_info --enabled-components" contain "USB" and "B200" under "Enabled components"? If it contains both of them, then I am out of ideas... Best regards -- Cédric Hannotier