Article may be outdated

This article is 71 days old. Some details may have changed since publication.

Hacker News·3 min read·medium

Uhubctl – control USB power per-port on smart USB hubs

G
gregsadetsky
Uhubctl – control USB power per-port on smart USB hubs
✦AI Summary

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.

✦Dive DeeperCreate a free account to unlock

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.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technology
✦

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 account

Already have an account? Sign in