-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CoolGear Hub control (CG-10PU3MGD) 5V rail not switching #565
Comments
see attached -- this software only opens a serial port to communicate with the hub |
Apparently, Coolgear decided to use USB serial connection as their management interface, and not bother making their hu lb to properly support USB per port power switching as defined by USB 2.0 standard. I understand why they made use of USB serial - it works on any operating system, including Windows - uhubctl doesn't work on Windows due to winusb.sys not allowing direct access to USB hubs. However, that should not be the reason to not support PPPS for all other OS in addition to serial control. If Coolgear had documentation about their serial control protocol, I don't think it is very difficult to add support for it. However, such addition is better suited to be added to uhidctl - another utility I wrote to control power for cheap power relays that have HID USB interface (almost the same as serial). |
Since there does not seem to be viable solution for this or interest from Coolgear to add standard's compliant power switching, I will close this. |
They've confirmed that they won't be able to modify their hubs or uhubctl software to support it (some of their hubs do support uhubctl). Their cusbi binary has been working fine for my application. Thanks for looking into this folks. For the record here's their response:
|
The CG-10PU3MGD hub can be controlled with uhubctl, with devices being disconnected from host. However the 5V rail does not switch off.
There is a binary blob available from the hub manufacturers which can switch the 5V rail per port. I have tested this.
This binary is called cusbi and is available to download from the manufacturers website.
Perhaps we can reverse engineer the binary to allow uhubctl to control coolgear hubs?
If anyone is up for helping me with this I can provide some hardware testing. I might also reach out to coolgear to guage their appetite for helping.
The text was updated successfully, but these errors were encountered: