[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

io-hid

Manager for human-interface devices (HID)


Note: You must be root to start this manager.

Syntax:

io-hid [-n name] -d driver [driver_options]... [-v] [-V] & 

Options:

-d driver [driver_options]
Load the specified driver and pass it the given driver_options. For information on the drivers and their syntax and options, see the devh-* entries:
Driver Shared object
usb devh-usb.so
ps2ser devh-ps2ser.so
-n name
Set the server name. The default is /dev/io-hid/io-hid.
-V
Display server version.
-v
Be verbose.

Description:

The io-hid manager provides support for input devices and input clients. You can load drivers when you start io-hid by specifying the -d command-line option.

Clients such as devc-con and devi-hid connect to io-hid and interact with human-interface devices through io-hid.


Note: You can start more than one driver by using multiple -d command-line options.

Once io-hid has started, you can dynamically load and unload modules using the mount and umount commands.

The io-hid manager uses the LD_LIBRARY_PATH environment variable when searching for the shared objects. If LD_LIBRARY_PATH is not set, or the shared object in question isn't in one of its directories, or you want to override the default, specify the full path in the mount command.

Examples:

Load USB HID devices, PS/2 mouse, serial mouse on COM1 directly, and a PS/2 keyboard:

io-hid -dusb -dps2ser \
ps2mouse:mousedev:msoft:uart,1:kbd:kbddev &

or use this sequence of commands to do the same thing:

io-hid &
mount -T io-hid devh-usb.so
mount -T io-hid devh-ps2ser.so \
ps2mouse:mousedev:msoft:uart,1:kbd:kbddev

Unload a module:

umount /dev/io-hid/devh-usb

See also:

devh-usb.so, devh-ps2ser.so, devi-hid, hidview, mount, umount

"HID drivers (devh-*)" in the Utilities Summary

Connecting Hardware in the Neutrino User's Guide


[Previous] [Contents] [Index] [Next]