devh-usb.so

Updated: May 06, 2022

Driver for USB-compliant Human Interface Device (HID) devices

Syntax:

io-hid -d usb [option[,option ...]] ... &

io-hid -d usb [option[,option ...]] ...

Runs on:

QNX Neutrino

Options:

igndev=vid[:did]
Don't attach to the HID device matching the given vendor and device IDs. The vid and did arguments must be hexadecimal vendor and product IDs (e.g., igndev=0x1234:0x5678), as reported by the usb utility.

You can use the igndev option to ignore specific USB HID devices. This allows another USB driver to attach and manage the device. You can specify multiple igndev options.

The did argument also supports pattern matching to let you specify a range of device IDs for a particular vendor; see the examples below.

priority=prio_evt[:prio_io]
Run the device insertion and device removal event-handling thread at priority prio_evt and the I/O notification thread at priority prio_io. The default priority is 10 for both.
upath=path
The USB stack path. The default is /dev/usb/io-usb-otg.
verbose[=level]
Be verbose. You can specify this option without an argument, which sets a verbosity level of 1. You can add an argument to specify the level; for the meaning of different verbosity levels, see the slogf() reference.
wait=num
The number of seconds to wait for the USB stack to come up.

Description:

The devh-usb.so library is a DLL which is used with the io-hid manager. It connects to the USB stack to give HID clients access to USB-compliant HID devices.

Note: Run the USB stack first. Please refer to io-usb-otg for further information.

Examples:

Start io-hid using the USB HID driver and manage all USB HID devices:

io-hid -d usb &

or:

io-hid &
mount -Tio-hid devh-usb.so

Ignore all devices for a specific vendor:

io-hid -d usb igndev=0x1234

Ignore a specific device for a specific vendor:

io-hid -d usb igndev=0x1234:0x5678

Ignore a range of devices for a specific vendor:

io-hid -d usb igndev=0x1234:0x5???