macOS
brew install uhubctllocal Homebrew formula metadata
sudo port install uhubctlMacPorts ports tree · sysutils/uhubctl/Portfile · ソース: api.github.com
brew
uhubctl のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install uhubctllocal Homebrew formula metadata
sudo port install uhubctlMacPorts ports tree · sysutils/uhubctl/Portfile · ソース: api.github.com
sudo apk add uhubctlAlpine Linux edge package indexes · uhubctl · ソース: dl-cdn.alpinelinux.org
sudo apt install uhubctlDebian stable package indexes · uhubctl · ソース: deb.debian.org
sudo dnf install uhubctlFedora Rawhide package metadata · uhubctl · ソース: dl.fedoraproject.org
nix profile install nixpkgs#uhubctlnixpkgs package indexes · pkgs/by-name/uh/uhubctl/package.nix · ソース: api.github.com
sudo zypper install uhubctlopenSUSE Tumbleweed package metadata · uhubctl · ソース: download.opensuse.org
概要
USB hub per-port power control
履歴
uhubctl is a command-line utility for controlling per-port power on USB hubs that implement USB per-port power switching.
The public uhubctl repository was created in 2015. Its README credits hub-ctrl.c by Niibe Yutaka as the original inspiration and defines the target hardware as smart USB hubs that can switch power per port.
The project grew around a practical compatibility table rather than only a codebase. The README tracks known working hubs, monitors, docks, keyboards, Raspberry Pi boards, and embedded devices, and asks users to report working hardware with uhubctl output and VBUS-off test results.
Release metadata shows v1.8 in 2017, v2.0.0 in 2018, a series of 2.x releases through 2022, and v2.6.0 in 2024.
uhubctl's adoption is closely tied to lab automation, embedded development, Raspberry Pi work, USB device testing, and remote recovery workflows where physically unplugging a device is inconvenient. The README documents Raspberry Pi models and many external hubs and docks as compatible or partially compatible devices.
The supplied package data records uhubctl in Homebrew, MacPorts, Nix, Alpine, Debian, Ubuntu, Fedora/dnf, and openSUSE. The official README likewise lists package-manager install commands for macOS, Debian-family systems, Red Hat-family systems, openSUSE, and FreeBSD.
The common command form is to list supported hubs, then turn a selected port off, on, toggle it, or cycle it with a configurable delay. The README documents location selection for multi-hub systems and cautions that switching built-in USB ports can disconnect keyboards or mice.
On Linux, the README documents udev rules for non-root access and notes that Linux kernel 6.0 and later provide a standard interface for disabling hub ports, which uhubctl tries to use instead of libusb where possible.
The README also explains USB 3.0 duality: a USB 3 hub can appear as separate USB2 and USB3 virtual hubs, and power changes may need to be applied to both for the physical port state to match the user's expectation.
uhubctl is significant because it turns a hardware capability that is inconsistently implemented by consumer devices into a scriptable package-manager tool. That makes it useful for test rigs, CI benches with attached hardware, home labs, and headless systems.
For packagers, the interesting part is not just compiling a small C program; it is carrying libusb behavior, OS-specific permissions, kernel interface changes, and documentation for hardware quirks that determine whether the command actually cuts power.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
uhubctl | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/mvp/uhubctl
インストールメタデータ
| パッケージキー | brew:uhubctl |
|---|---|
| バージョン | 2.6.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/uhubctl |
| ホームページ | https://github.com/mvp/uhubctl |
| リポジトリ | https://github.com/mvp/uhubctl |
| 上流ドキュメント | https://github.com/mvp/uhubctl |
| ライセンス | GPL-2.0-only |
| ソースアーカイブ | https://github.com/mvp/uhubctl/archive/refs/tags/v2.6.0.tar.gz |
| 依存関係 | libusb |
| ビルド依存関係 | pkgconf |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | uhubctl |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
uhubctl 2.6.0-1
USB hub per-port power control
https://github.com/mvp/uhubctl
sudo apt install uhubctluhubctl
nix profile install nixpkgs#uhubctluhubctl 2.5.0-1
USB hub per-port power control
https://github.com/mvp/uhubctl
sudo apt install uhubctluhubctl 2.5.0-r0
USB hub per-port power control
https://github.com/mvp/uhubctl
sudo apk add uhubctluhubctl 2.6.0-5.fc44
USB hub per-port power control
https://github.com/mvp/uhubctl
sudo dnf install uhubctluhubctl 2.6.0-1.5
USB hub per-port power control
https://github.com/mvp/uhubctl
sudo zypper install uhubctluhubctl
sudo port install uhubctlソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.