ubus_ctrl

QNX SDP8.0Utilities ReferenceUtilities

USB Bus State Enable/Disable utility

Syntax:

ubus_ctrl -b busno -s [0|1] [-N name] [-w num]

Runs on:

QNX OS

Options:

-b busno
Display the devices on specific busno only.
-s 0|1
Set the USB bus state to off (0) or on (1).
-N name
Name of the USB manager to query; the default is /dev/usb/io-usb-otg.
-w num
Wait num seconds for the USB bus state stack (default is 60 seconds).

Description:

The ubus_ctrl utility sets the USB bus state to off or on for a usb controller driver after io-usb-otg starts. See io-usb-otg for details about the -d and -o options.

Examples:

Set the bus number to 0 and bus state to on:
ubus_ctrl -b 0 -s 1
Page updated: