Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (3447 KB)
usbkbm(7M)Name | Synopsis | Description | Files | Attributes | See Also | DIAGN0STICS Name
Synopsisopen("/dev/kbd", O_RDWR)
Description
The usbkbm STREAMS module processes byte streams generated by a keyboard attached to a USB port. USB keyboard is a member of Human Interface Device (HID) Class, and usbkbm only supports the keyboard protocol defined in the specification. Definitions for altering keyboard translation and reading events from the keyboard are in <sys/kbio.h> and <sys/kbd.h>. The usbkbm STREAMS module adheres to the interfaces exported by kb(7M). Refer to the DESCRIPTION section of kb(7M) for a discussion of the keyboard translation modes and the IOCTL section for the supported ioctl(2) requests. IOCTLSUSB Keyboard usbkbm returns different values for the following ioctls than kb(7M): KB_SUN3 Sun Type 3 keyboard KB_SUN4 Sun Type 4 keyboard KB_ASCII ASCII terminal masquerading as keyboard KB_PC Type 101 PC keyboard KB_USB USB keyboard The USB keyboard type is KB_USB; usbkbm will return KB_USB in response to the KIOCTYPE ioctl.
Files
AttributesSee attributes(5) for a description of the following attributes:
See Alsodumpkeys(1), kbd(1), loadkeys(1), ioctl(2), keytables(4), attributes(5), hid(7D), usba(7D), virtualkm(7D), kb(7M) STREAMS Programming Guide System Administration Guide: Basic Administration http://www.sun.com/io DIAGN0STICSNone Name | Synopsis | Description | Files | Attributes | See Also | DIAGN0STICS |
||||||