ulink_ctrl

Updated: April 19, 2023

Control a USB DCD link

Syntax:

ulink_ctrl [-d devno] [-l 0|1] [-p port] [-s name] [-w num]

Runs on:

QNX Neutrino

Options:

-d devno
(QNX Neutrino 7.0.4 or later) The device number to connect or disconnect. The default is 0.
-l 0|1
(“el”) Set the USB link state to disconnected (0) or connected (1).
-p port
(QNX Neutrino 7.0.4 or later) The port to connect or disconnect. The default is 1.
-s stack
The name of the USB manager to query (e.g., /dev/usb/io-usb-otg).
-w num
Wait num seconds for the USBDC stack (default 60 seconds).

Description:

The ulink_ctrl utility controls a USB cable connection as seen by the USB host.

Examples:

Allow the USB host to see the USBDC connection:

ulink_ctrl -l1