7. LW3 Programmers’ Reference
UCX series – User's Manual
121
Applied firmware package: v1.2.0b9 | LDC software: v2.5.10b1
8.11.
USB Port Settings - USB-C Related Commands
8.11.1.
Set USB-C Power
Command and Response
#power
ç
SET
·
/V1/SYS/MB/USBCPOWER.PowerLimit=
<power>
æ
pw
·/V1/SYS/MB/USBCPOWER.PowerLimit=
<power>
Parameters
Parameter
Parameter description
Values
Value description
<power>
Power limit to the USB-C ports
0
1
2
Equal output power on the two ports (30W each)
Port1 maximum, Port2 minimum (60W for U1)
Port1 minimum, Port2 maximum (60W for U2)
Example
ç
SET /V1/SYS/MB/USBCPOWER.PowerLimit=2
æ
pw /V1/SYS/MB/USBCPOWER.PowerLimit=2
8.11.2.
Set Displayport Alternate Mode Policy
Command and Response
ç
SET
·/V1/MEDIA/USB/
<usb_port>
.DpAltModePolicy=
<dp_policy>
æ
pw
·/V1/MEDIA/USB/
<usb_port>
.DpAltModePolicy=
<dp_policy>
Parameters
Parameter
Parameter description
Values
Value description
<usb-c_port>
USB-C port number
U1-U2
USB-C port number
<dp_policy>
The preferred
video or USB data
transmission
Auto
Force C
Force D
Auto:
Taurus offers both operation modes described
below. BYOD device can choose between the two.
Neither USB3, nor 4 lane DP Alt mode operation
(4K@60) is guaranteed. BYOD devices supporting
USB3.x usually choose shared mode: USB3.1 and 2
lane DP.
Prefer video
: all the four lanes reserved for video
transmission, USB 3.1 data transmission does not
operate.
Prefer USB 3.1:
2 lanes are reserved for USB 3.1,
2 lanes for video.
Example
ç
SET /V1/MEDIA/USB/U2.DpAltModePolicy=Auto
æ
pw /V1/MEDIA/USB/U2.DpAltModePolicy=Auto
ATTENTION!
Changing DpAltModePolicy is recommended before connecting a computer to the input.
8.11.3. Query the Host Alternate Mode Support
Command and Response
ç
GET·/V1/MEDIA/USB/
<usb-c_port>
.HostSupportsDpAltMode
æ
pr·/V1/MEDIA/USB/
<usb-c_port>
.HostSupportsDpAltMode=
<altmode_support>
Parameters
Parameter
Parameter description
Value
Value description
<usb-c_port>
USB-C port number
U1-U2
USB-C port number
<altmode_support>
False
The host does not support the alternate mode.
True
The host supports the alternate mode.
Example
ç
GET /V1/MEDIA/USB/U1.HostSupportsDpAltMode
æ
pr /V1/MEDIA/USB/U1.HostSupportsDpAltMode=true
8.11.4. Query the Status of the Alternate Mode
Command and Response
#dpaltmode #alternatemode #displayportalternatemode
ç
GET·/V1/MEDIA/USB/
<usb-c_port>
.ActiveAltMode
æ
pr·/V1/MEDIA/USB/
<usb-c_port>
.ActiveAltMode=
<altmode_state>
Parameters
Parameter
Parameter description
Value
Value description
<usb-c_port>
USB-C port number
U1-U2
USB-C port number
<altmode_state>
N/A
The host is not connected
None
DP Alt mode is not active
DP
DP Alt mode is active.
Example
ç
GET /V1/MEDIA/USB/U2.ActiveAltMode
æ
pr /V1/MEDIA/USB/U2.ActiveAltMode=DP