Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ kmi(7) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fcntl(2)

ioctl(2)

termio(2)

syscon(7)



kmi(7)                         DG/UX 5.4R3.00                         kmi(7)


NAME
       kmi - AViiON series - workstation keyboard/mouse interface

DESCRIPTION
       This manual page describes the device driver for the keyboard/mouse
       interface.

       This device driver supports the keyboard/mouse interface for the Data
       General AViiON series workstations.  The keyboard/mouse interface is
       accessed using the standard open, close, read, write, ioctl, and
       select system calls.  The keyboard/mouse interface may act as the
       physical system console for the DG/UX system depending on the system
       hardware configuration.  When acting as the physical system console,
       data from the keyboard is diverted to the syscon(7) pseudo-device
       whenever the kmi device has not been explicitly opened by a user
       process.  Mouse data is discarded when the interface is acting as the
       system console.  Opening the keyboard/mouse interface prevents it
       from providing input to the system console pseudo-device.

       The open system call provides a handle to access the keyboard/mouse
       interface.

       The close system call frees the handle to the keyboard/mouse
       interface established by open.

       The read system call transfers keyboard and mouse data from the
       devices to the user program.  This device does NOT provide the
       standard DG/UX terminal interfaces.

       The write system call is not supported for the keyboard/mouse
       interface.

       The ioctl system call has the following form:

            int ioctl(fildes, command, argument);
            int     fildes;
            int     command;
            int     argument;

       It can be used with the following commands:

       KMIRESET
              Resets the keyboard/mouse interface.

       KMIBELL
              Sounds the keyboard bell.

       KMIGETCONFIG
              Returns the keyboard configuration data in argument.

       KMIGETLEDSTATE
              Returns the keyboard LED state information in argument.





Licensed material--property of copyright holder(s)                         1




kmi(7)                         DG/UX 5.4R3.00                         kmi(7)


       KMISETLEDSTATE
              Set the keyboard LED state based on argument.

       FIONREAD
              Return the number of bytes ready to be read in argument.

       FIOASYNC
              Set/clear ASYNC notification when input is available based on
              argument.

       FIOGETOWN
              Returns process group owning the kmi device in argument.

       FIOSETOWN
              Set ownership of kmi device to the group specified in
              argument.

       The select system call behaves the same as for termio(7) devices.

FILES
       /dev/kmi                              kmi device node
       /usr/include/sys/intdgkmiioctl.h  keyboard ioctl commands

SEE ALSO
       fcntl(2), ioctl(2), termio(2), syscon(7).
































Licensed material--property of copyright holder(s)                         2


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026