[Toybox] Proposal: Add ucsicontrol (USB Type-C UCSI utility) to toybox
M, Madhu
madhu.m at intel.com
Wed Aug 26 08:24:41 UTC 2026
Hi Rob,
Ucsicontrol is still listed as pending. (https://codeberg.org/landley/toybox/src/branch/master/toys/pending/ucsicontrol.c)
Please let me know what needs to be completed in order to move it forward.
Regards,
Madhu M
-----Original Message-----
From: Rob Landley <rob at landley.net>
Sent: 18 July 2026 23:36
To: M, Madhu <madhu.m at intel.com>; toybox <toybox at lists.landley.net>
Subject: Re: [Toybox] Proposal: Add ucsicontrol (USB Type-C UCSI utility) to toybox
On 7/14/26 18:18, Rob Landley wrote:
> While I can turn the patch you just sent me into a relative patch
> against the previous one myself, it's a bit awkward to do that while
> still giving you proper attribution in the metadata. Could you do a
> relative patch from previous version to current version that I can
> apply on top of the first one without fudging the history? :)
...
>> Changes in v2:
...
> Sounds good. Happy to apply a relative patch on top of the first one.
I turned it into a relative patch myself, and applied it:
https://codeberg.org/landley/toybox/commit/0bb70e684254
https://landley.net/toybox/git/commit/0bb70e684254
(If your workflow still requires microsoft copilot/github I can push to there on an as-requested basis, but the project is migrating off there.)
>> Pls take look, new version.
>
> I'd still like to have a test environment, if there's an easy way to
> do that.
I'd still like to have a test environment.
I have an existing use case for commands to power down and power back up a USB port without physically unplugging it, if this tool can do that.
But it would also be nice if there was some sort of simulation test environment that would let me regression test with "make test_ucsicontrol", perhaps a kernel module to provide a dummy device or qemu usb device that understands these commands? (I'm aware both/either is a big lift.)
Thanks,
Rob
More information about the Toybox
mailing list