hub-ctrl.c
Control USB power on a port by port basis on some USB hubs. (by codazoda)
usb-toggle
A simple, robust USB-compliant power switch breakout board (by JimHeaney)
hub-ctrl.c | usb-toggle | |
---|---|---|
4 | 1 | |
350 | 1 | |
- | - | |
10.0 | 3.3 | |
about 2 years ago | 10 months ago | |
C | ||
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hub-ctrl.c
Posts with mentions or reviews of hub-ctrl.c.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-12.
-
Software control USB power on some USB hubs
What? They list several hubs that work, I guess you could buy any of these.
https://github.com/codazoda/hub-ctrl.c#hubs-known-to-work
-
I2c-USB-hub: An i2C Controllable USB 2.0 Hub
I wonder if it supports software control? I haven’t messed with this in a long long time, but here’s a C program for controlling USB port power via software.
It works on a pretty limited set of hubs, because most cheap out on including the switches.
https://github.com/codazoda/hub-ctrl.c
-
Kb2040 and usb hub not seeing all of my boards
https://github.com/codazoda/hub-ctrl.c or https://github.com/mvp/uhubctl can be used if the hubs have "Per-port power switching". The second link also has a long description.
usb-toggle
Posts with mentions or reviews of usb-toggle.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-11.
-
I2c-USB-hub: An i2C Controllable USB 2.0 Hub
I don't really see those as issues... The hub chip is cheap and doesn't directly do i2c, but, so ? Controlling VBus seems to be by design, exactly for devices that are separately powered to still work: see author's other project https://github.com/JimHeaney/usb-toggle . There should be a way to block further communication at the software level if that matters to one's use case. You can expand this, just plug a bunch of them into another hub...
What are some alternatives?
When comparing hub-ctrl.c and usb-toggle you can also consider the following projects:
uhubctl - uhubctl - USB hub per-port power control
i2c-usb-hub - An i2C Controllable USB 2.0 Hub