---
name: "ucsicontrol"
section: "1"
platform: "linux"
package: "libtypec0"
version: "0.6.0-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ucsicontrol"
---

# ucsicontrol(1)

list UCSI connector details

## NAME

ucsicontrol - list UCSI connector details

## SYNOPSIS

**ucsicontrol** \[*OPTIONS*\]

## OPTIONS

- **--help**, **-h**

  Show usage message

- **--conn\_rst** *conn\_num* **soft**\|**hard**

  Perform reset on the connector. Specify the type of the reset, **soft** or **hard**.

- **--get\_cap**

  Get capabilities

- **--get\_conn\_cap** *conn\_num*

  Get Connector Capability

- **--get\_conn\_sts** *conn\_num*

  Get Connector Status

- **--get\_cable\_prop** *conn\_num*

  Get Cable Properties

- **--get\_cur\_cam** *conn\_num*

  Get Current Alternate mode

- **--get\_alt\_mode** *conn\_num* *recipient*

  Get Alternate Modes

     *recipient*: 0: connector, 1: SOP, 2: SOP’, 3: SOP’’

- **--get\_pdos** *conn\_num* *partner* *offset* *src\_snk* *type*

  Get PDOs from local and partner Policy Managers

     *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)

- **--set\_uor** *conn\_num* **DFP**\|**UFP**\|**Accept**

  Set the USB operation role for the connector to operate at. If the connector does not have an active connection, this command has no effect.

     **DFP**: Downstream Facing Port

     **UFP**: Upstream Facing Port

     **Accept**: Accept role swap change requests from the port partner

- **--set\_pdr** *conn\_num* **SRC**\|**SNK**\|**Accept**

  Set the Power direction that the OPM wants the connector to operate at. If the connector does not have an active connection, or the partner is not PD-capable, this command has no effect.

     **SRC**: Source role

     **SNK**: Sink role

     **Accept**: Accept power swap change requests from the port partner

## BUGS

Error handling while parsing command-line argument is poor, expect crashed when not passing all required arguments.

## AUTHORS

Madhu M \<madhu.m@intel.com\>, Rajaram Regupathy \<rajaram.regupathy@gmail.com\>
