Uhubctl – control USB power per-port on smart USB hubs
Uhubctl is a command-line utility designed to control power per-port on compatible smart USB hubs. It allows users to toggle power to specific devices, though compatibility depends on the hardware's support for power switching.
Why it matters
It provides a software-based solution for power management of peripherals, which is useful for automation and hardware troubleshooting.
uhubctl is utility to control USB power per-port on smart USB hubs. Smart hub is defined as one that implements per-port power switching.
Original idea for this code was inspired by hub-ctrl.c by Niibe Yutaka: https://www.gniibe.org/development/ac-power-control-by-USB-hub
Note that not many USB hubs correctly support per-port power switching. Some of them are no longer manufactured and can be hard to find.
This is list of known compatible USB hubs:
This table is by no means complete. If your hub works with uhubctl , but is not listed above, please report it by opening new issue at https://github.com/mvp/uhubctl/issues , so we can add it to supported table. In your report, please provide exact product model and add output from uhubctl and please test VBUS off support as described below in FAQ.
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in