ATKBDC(4)

✨ ATKBDC(4) ✨

okay so bestie, welcome to the AT keyboard controller interface page from the Kernel Interfaces Manual β€” yes it's giving vintage but it's lowkey iconic, let's get into it πŸ’–


🌸 SYNOPSIS 🌸

options KBD_RESETDELAY=N
options KBD_MAXWAIT=N
options KBDIO_DEBUG=N
device atkbdc

and in /boot/device.hints, bestie:

hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"

πŸŽ€ DESCRIPTION πŸŽ€

So the keyboard controller atkbdc is the one serving I/O services for AT keyboards and PS/2 mouse style pointing devices. It's literally the main character behind the scenes β€” this controller is required for the keyboard driver atkbd and the PS/2 pointing device driver psm. no atkbdc, no vibes, no typing. 🫢

Heads up bestie: there can be only one atkbdc device configured in the system. One. Single. Solitary. Periodt. πŸ’…

πŸ¦‹ DRIVER CONFIGURATION πŸ¦‹

πŸ’œ Kernel Configuration Options πŸ’œ

These kernel config options let you boss the atkbdc driver around. Set them in your kernel configuration file (peep config(8) if you need the lore).

  • KBD_RESETDELAY=X, KBD_MAXWAIT=Y β€” so the keyboard driver atkbd and the pointing device driver psm may ask the atkbdc driver to reset these devices during the boot process. And like… sometimes these devices take forever to respond to the reset command 😭. These options control how long atkbdc should wait before eventually giving up β€” the driver will wait X * Y msecs at most. If the drivers seem unable to detect devices, you may want to increase these values. The default values are 200 msec for X and 5 for Y.
  • KBDIO_DEBUG=N β€” sets the debug level to N. The default value is zero, which suppresses all debugging output. so if you're not getting any debug tea, that's why bestie πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯


🌈 HISTORY 🌈

The atkbdc driver first appeared in FreeBSD 3.1. It is based on the kbdio module in FreeBSD 2.2. glow-up era, honestly ✨


πŸ‘‘ AUTHORS πŸ‘‘

The kbdio module, the atkbdc driver and this manual page were written by Kazutaka Yokota <yokota@FreeBSD.org>. slay, legend behavior πŸ’…


and that's the whole page bestie!! this lil gem came from Debian and it's dated February 9, 1999 β€” yeah it's old enough to have its own nostalgia playlist, but the atkbdc lore still hits fr fr πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from