ucsicontrol(1) | libtypec documentation | ucsicontrol(1) |
ucsicontrol - list UCSI connector details
ucsicontrol [OPTIONS]
recipient: 0: connector, 1: SOP, 2: SOP’, 3: SOP’’
partner: set to 1 to retrieve partner PDOs
offset: starting offset of the first PDO to be returned, 0 to 7
src_snk: set to 1 to retrieve source PDOs, 0 to retrieve sink PDOs
type: type of PDOs to retrieve (0: current supported, 1: advertised, 2: maximum supported)
DFP: Downstream Facing Port
UFP: Upstream Facing Port
Accept: Accept role swap change requests from the port partner
SRC: Source role
SNK: Sink role
Accept: Accept power swap change requests from the port partner
Error handling while parsing command-line argument is poor, expect crashed when not passing all required arguments.
Madhu M <madhu.m@intel.com>, Rajaram Regupathy <rajaram.regupathy@gmail.com>