OpenBSD manual page server

Manual Page Search Parameters

AKBD(4) Device Drivers Manual AKBD(4)

akbdApple Keyboard Device

akbd* at adb?
wskbd* at akbd? mux 1

This driver supports ADB keyboards within the wscons(4) console framework. It doesn't provide direct device driver entry points but makes its functions available via the internal wskbd(4) interface.

The following is a partial list of supported AKBD devices:

  • Apple Standard Keyboard
  • Apple Extended Keyboard
  • Apple Keyboard II
  • Apple PowerBook Keyboard
  • Apple Adjustable Keyboard
  • Apple PowerBook extended Keyboard
  • Apple PowerBook G3 Keyboard
  • Apple PowerBook G4 Keyboard
  • Apple iBook Keyboard

The akbd driver supports a number of different key mappings which can be chosen from with the kernel option “AKBD_LAYOUT” at compile time or with the utility wsconsctl(8) (variable: “keyboard.encoding”) at runtime. Other mappings can be used if the whole keymap is replaced by means of wsconsctl(8). The built-in mappings are at this time:

(de) German with “dead accents”.
(es) Spanish.
(fr) French.
(jp) Japanese.
(pt) Portuguese.
(sf) Swiss French with “dead accents”.
(sg) Swiss German with “dead accents”.
(sv) Swedish with “dead accents”.
(uk) British.
(us) English/US keyboard mapping (default).

The KB_DE, KB_FR, KB_SG and KB_SV mappings can be used in the KB_NODEAD (.nodead) variant. This switches off the “dead accents”.

To set a German keyboard layout without “dead accents”, use wsconsctl keyboard.encoding=de.nodead. To set it at kernel build time, add the following to the kernel configuration file:


adb(4), intro(4), ukbd(4), wskbd(4), wsconsctl(8)

The akbd interface first appeared in NetBSD 0.9. It has been under development ever since.

Bradley A. Grantham wrote the original akbd driver, including the MRG support. The hardware direct interface was written by John P. Wittkowski.

The list of built-in mappings doesn't follow any logic. It grew as people submitted what they needed.

January 15, 2015 OpenBSD-7.0