usb power - USB Port Power Control

Control USB port power.

Note

Turning off port power effectively disables the port. Even devices that don’t require power through the port will not work when port power is off.

Note

Port power can only be controlled if the port is on a hub (like the internal hubs in PLT-300A) that support power control. List of known compatible hubs.

Usage:

- command: usb power on|off
  [path: <usbDevicePath>]
  [retry: <retryCount>]

Argument

Description

on

Enable port and turn on port power.

off

Disable port and turn off port power.

usbDevicePath

Optional: USB device path: port. ... .port.

retryCount

Optional: Number of times to retry the test step.

Note

If neither usbDeviceID or usbDevicePath is set, path: β€œ1” (The DUT USB-C Port) is used.

Examples