Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ kbd(7) — DG/UX R4.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fcntl(2)

ioctl(2)

termio(2)

syscon(7)



kbd(7)                           DG/UX R4.11                          kbd(7)


NAME
       kbd - AViiON series workstation system keyboard (88K only)

SYNOPSIS
       kbd()

DESCRIPTION
       This manual page describes the device driver for the keyboard on the
       88K platform.  The STREAMS module that is referred to in some AT&T
       documentation as kbd is documented in attkbd(7).

       This device driver supports the system keyboard for the Data General
       AViiON series workstations.  To configure a kbd device, you must add
       a device name entry of the form described in the synopsis above to
       the DG/UX system configuration file.

       The device is accessed using the standard open, close, read, write,
       ioctl, and select system calls.  The system keyboard device 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 kbd device has not been explicitly opened by a
       user process.  Opening the system keyboard device prevents it from
       providing input to the system console pseudo-device.

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

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

       The read system call transfers keyboard data from the system keyboard
       to the user program.  Data output by the keyboard consists of raw
       scan codes, a unique code for each key.  A single byte scan code is
       generated for a key press and a two byte sequence (a break code byte
       and a scan code byte) is generated when the key is released.  This
       device does NOT provide the standard DG/UX terminal interfaces.

       The write system call is not supported for the system keyboard.

       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:

       KBDRESET
              Resets the keyboard and keyboard LEDs.

       KBDGETLANGUAGE
              Returns the keyboard language in argument.

       KBDGETSTATE
              Returns the state of the LEDs and the number of scan codes in
              the keyboard driver's internal buffer in the structure pointed
              to by argument.

       KBDTONELOW
              Sounds the keyboard bell tone.

       KBDTONEHIGH
              Sounds the keyboard bell tone.

       FSETOWN
              Set ownership of kbd device to the group specified in
              argument.

       FGETOWN
              Returns group owning the kbd device in argument.

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

FILES
       /dev/kbd                              kbd device node
       /usr/include/sys/intdgkbdioctl.h  keyboard ioctl commands

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


Licensed material--property of copyright holder(s)

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