AKBD(4)

πŸ“¦
version 15.1 Β· 3 versions
, in freebsd 14.5, freebsd 15.1

πŸ’… akbd(4) β€” the ADB Keyboard Driver, bestie πŸ’…

okay so this is a page from the powerpc Kernel Interfaces Manual, and it's all about akbd β€” the ADB Keyboard Driver. yes that's the whole NAME section, we're keeping it real, no cap. πŸŽ€


✨ SYNOPSIS ✨

so if you wanna compile this driver into the kernel (not as a module, into it, main character energy), you drop these lines into your kernel configuration file:

device adb

that's it. that's the whole vibe check. πŸ¦‹


🌸 DESCRIPTION 🌸

akbd is the driver that provides support for all keyboards attached to the Apple Desktop Bus (ADB). every single one. it's giving "I contain multitudes" and honestly? obsessed. πŸ”₯


πŸŽ€ HARDWARE πŸŽ€

here's the iconic lineup β€” devices supported by akbd include:

  • Apple Extended Keyboard
  • Apple Keyboard II
  • Apple iBook Keyboard
  • Apple PowerBook Keyboard

all of them ate. no crumbs. πŸ‘‘


πŸ¦‹ EVENTS πŸ¦‹

akbd sends events to devd(8) for the following events, but only under the PMU system (iykyk):

  • Power button β€” Button subsystem, pressed type.

like, it literally tells devd when you press the power button. slay. ⭐


πŸ’œ SYSCTL VARIABLES πŸ’œ

akbd supports the following sysctl variable for configuring the Fn keys:

  • dev.akbd.%d.fn_keys_function_as_primary β€” sets the Fn keys to be their F-key type as default. a value of 0 causes the F-keys keys to work as special keys by default (abtn(4)), and a value of 1 sets them to behave as F-keys by default.

(yes, the manual literally says "F-keys keys", we are not fixing that, we respect the source text fr fr πŸ™ˆ)

so basically: 0 = special keys by default, 1 = F-keys by default. pick your fighter. πŸ’…

🌈 SEE ALSO 🌈

go read them, they're all part of the squad 🫢


⭐ HISTORY ⭐

the akbd device driver appeared in FreeBSD 8.0. vintage. iconic. an elder. 🧚


πŸ’– AUTHORS πŸ’–

the akbd driver was written by Nathan Whitehorn <nwhitehorn@FreeBSD.org>. thank you king, we appreciate you πŸ™βœ¨


and that's the whole page bestie! this little beauty came from Debian, dated December 3, 2009 β€” so yeah she's been around a minute, but she still slays πŸ’€πŸŒΈ mwah, see you in the next manpage πŸŽ€


πŸ“¦ where this page comes from