ubus_ctrl

Updated: April 19, 2023

USB Bus State Enable/Disable utility

Syntax:

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

Runs on:

QNX Neutrino

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