usrpctl(1)
π usrpctl β the manual, but make it make sense π
okay bestie, welcome to the usrpctl page from the User Commands section of the manual. It's one page. It's iconic. Let's go. π
πΈ NAME πΈ
usrpctl β the USRP Hardware Driver Peripheral Configuration Tool. That's the whole name, no notes, periodt. π
β¨ DESCRIPTION β¨
So what does this thing actually do? It reports detailed information on UHD-supported Software Radio Peripherals that are attached by USB, network, or embedded configuration. And it also lets you update and configure attached devices. Both. She multi-tasks. π
Real talk about UHD itself: the UHD package is the universal hardware driver for Ettus Research products. The goal (the whole mission, the main character energy) is to provide a host driver and API for current and future Ettus Research products. And because we're generous: users will be able to use the UHD driver standalone or with 3rd party applications. Both ways. Slay. β¨
The details you get include unit names, revision numbers, and available sensors on all attached USRP motherboards and daughterboards. Like, the full tea. π
π¦ SYNOPSIS π¦
usrpctl [ID] COMMAND [OPTIONS]
π ID π
ID is the optional device argument. Its whole job is to define a set of USRP devices that COMMAND should be applied to. No ID? Then COMMAND gets applied to all reachable devices. Everyone's getting the command, bestie. π
Also important: usrpctl understands the device args argument used by other UHD tools like uhd_find_devices. So if you already know that syntax, you're already fluent. iykyk. π§
π₯ COMMAND π₯
COMMAND is the action the tool is to take. Every command can be either applied to a single device or a group of devices. And when a command runs on a group of devices, it repeats the command for every device. No skipping, no shortcuts. π
π Single device commands
configβ Read/write configuration variables (e.g., IP address). Yes, like setting an IP. That kind of config.probeβ reads extended information about the USRP. The deep dive. π
π Multi device commands
updateβ Update binaries (e.g., FPGA image). Fresh firmware, new you. β¨resetβ Reset the specified subcomponent(s) of the USRP.findβ finds all available USRPs in this network. The scavenger hunt. π
π OPTIONS π
Okay so here's the thing: the options are not always mandatory. Whether you need them depends on the given COMMAND. It's giving "situationship with your flags". π
π find command
The find command takes no further options. If ID is not given it scans the system for available, supported devices and prints a list of discovered devices. And the print out is compatible to uhd_find_devices. You can also use ID to narrow down the list of discovered devices. π¦
π probe command
Print a complete property tree:
-treeβ dumps the whole property tree, every branch, no crumbs left behind. π³
The probe command can only be applied to a single device, so make sure that ID identifies exactly one device. Not two. Not zero. One. π Without arguments it displays detailed information about the device such as name, serial, revision numbers, firmware version, and sensor information on attached motherboard and daughterboards.
π reset command
Reset MPM:
-mpmβ resets the MPM subcomponent. That's the one. π«Ά
The reset command resets specified subcomponents of a device. If ID is not given, it scans the system for available, supported devices and resets the specified subcomponent of all discovered devices. All of them. Every single one. π
β EXAMPLES β
The receipts. Copy these exactly, bestie, character for character. π
usrpctl find
find all supported devices
usrpctl type=x300,product=X310 find
find all x310 devices
usrpctl name=my_usrp find
find a device named my_usrp
usrpctl addr=192.168.10.2 find
find a device with the given IP.
usrpctl addr=192.168.10.2 probe
display device information for USRP with the given ID
usprctl name=my_usrp probe -tree
display property tree of device with the name my_usrp
β οΈ not me pointing out that the manual itself saysusprctlin that one example instead ofusrpctlβ that's a typo in the original page, and we keep it exactly as it is because facts don't change. π keep the typo, respect the typo.
usrpctl addr=192.168.10.2 reset -mpm
Resets MPM on the device with the given IP.
π«Ά SEE ALSO π«Ά
- UHD documentation: http://files.ettus.com/manual/ β go read it, it's the lore. π
π COPYRIGHT π
Copyright (c) 2022 Ettus Research, A National Instruments Brand
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
π¨ bestie, this is the legal part. No warranty, fr fr. Read it, don't skip it. π
aaaand that's the page!! π this was UHD version 4.0.0, from the usrpctl(1) manual. go configure something iconic. bye bestie, love u, no cap. πβ¨ππ¦
π¦ where this page comes from
- alpine 3.24: uhd-doc 4.9.0.0-r2 Β· GPL-3.0-or-later
- arch rolling: libuhd 4.9.0.1-8 Β· GPL-3.0-or-later
- debian trixie: uhd-host 4.8.0.0+ds1-2 Β· GPL-3.0-or-later
- epel 10: uhd 4.9.0.0-2.el10_2 Β· GPL-3.0-or-later
- epel 9: uhd 4.6.0.0-4.el9 Β· GPLv3+
- fedora 43: uhd 4.8.0.0-4.fc43 Β· GPL-3.0-or-later
- fedora 43: uhd 4.8.0.0-4.fc43 Β· GPL-3.0-or-later
- fedora 43: uhd 4.8.0.0-5.fc43 Β· GPL-3.0-or-later
- fedora 43: uhd 4.8.0.0-5.fc43 Β· GPL-3.0-or-later
- fedora 44: uhd 4.9.0.1-3.fc44 Β· GPL-3.0-or-later
- fedora 44: uhd 4.9.0.1-3.fc44 Β· GPL-3.0-or-later
- nixpkgs unstable: uhd 4.11.0.0
- opensuse-leap 16.0: uhd-utils 4.7.0.0-bp160.1.35 Β· GPL-3.0-or-later
- opensuse-leap 16.0: uhd-utils 4.7.0.0-bp160.1.35 Β· GPL-3.0-or-later
- opensuse-leap 16.0: uhd-utils 4.7.0.0-bp160.1.35 Β· GPL-3.0-or-later
- opensuse-leap 16.0: uhd-utils 4.7.0.0-bp160.1.35 Β· GPL-3.0-or-later
- ubuntu noble: uhd-host 4.6.0.0+ds1-5.1build4 Β· GPL-3.0-or-later
- ubuntu noble: uhd-host 4.6.0.0+ds1-5.1ubuntu0.24.04.1 Β· GPL-3.0-or-later
- ubuntu questing: uhd-host 4.8.0.0+ds1-2ubuntu2.1
- ubuntu resolute: uhd-host 4.9.0.1-1ubuntu1 Β· GPL-3.0-or-later
- ubuntu stonking: uhd-host 4.9.0.1-1.4 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms