ucsicontrol(1)
π ucsicontrol(1) β the girlies' guide to UCSI connectors β¨
okay so bestie, welcome to ucsicontrol, part of the libtypec docs π«Ά she lists UCSI connector details and honestly? she ate.
β¨ NAME β¨
ucsicontrol β list UCSI connector details π
π SYNOPSIS π
ucsicontrol [OPTIONS]
no positional args, no drama, just vibes and options π
πΈ OPTIONS πΈ
--help,-hβ show the usage message. the "help me bestie" button π₯Ί--conn_rstconn_numsoft|hardβ do a reset on the connector. you gotta say which kind:softorhard. pick your fighter β¨--get_capβ get capabilities π--get_conn_capconn_num β get Connector Capability--get_conn_stsconn_num β get Connector Status--get_cable_propconn_num β get Cable Properties π§΅--get_cur_camconn_num β get Current Alternate mode--get_alt_modeconn_num recipient β get Alternate Modes- recipient:
0: connector,1: SOP,2: SOP',3: SOP'' β
- recipient:
--get_pdosconn_num partner offset src_snk type β get PDOs from local and partner Policy Managers (both of them, she's thorough π)- partner: set to
1to retrieve partner PDOs - offset: starting offset of the first PDO to be returned,
0to7 - src_snk: set to
1to retrieve source PDOs,0to retrieve sink PDOs - type: type of PDOs to retrieve (
0: current supported,1: advertised,2: maximum supported)
- partner: set to
--set_uorconn_numDFP|UFP|Acceptβ set the USB operation role for the connector to operate at. heads up: if the connector does not have an active connection, this command has no effect πDFP: Downstream Facing PortUFP: Upstream Facing PortAccept: accept role swap change requests from the port partner π€
--set_pdrconn_numSRC|SNK|Acceptβ set the Power direction that the OPM wants the connector to operate at. also heads up: if the connector does not have an active connection, or the partner is not PD-capable, this command has no effect πSRC: Source roleSNK: Sink roleAccept: accept power swap change requests from the port partner π€
π BUGS π
not me telling you this butβ¦ error handling while parsing command-line arguments is poor. like, lowkey expect a crash when you don't pass all the required arguments π fr fr, give her everything she asks for.
bestie please pass every required argument. she WILL fall over. no cap. π«
π AUTHORS π
Madhu M <madhu.m@intel.com>, Rajaram Regupathy <rajaram.regupathy@gmail.com>
written by the libtypec girlies, doc'd under the ucsicontrol(1) banner β that's a wrap, slay, periodt β¨ππ
π¦ where this page comes from
- debian trixie: libtypec0 0.6.0-4 Β· MIT
- ubuntu questing: libtypec0 0.6.0-4
- ubuntu resolute: libtypec0 0.6.0-4build1 Β· MIT
- ubuntu stonking: libtypec0 0.6.0-4build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms