PCKBD(4)
β¨ pckbd β the PC keyboard driver for wscons, explained π
okay so bestie, this one's from the Kernel Interfaces Manual section β welcome to the pckbd page π
πΈ NAME πΈ
pckbd β the PC keyboard driver for wscons, and yes she's the main character of your typing experience π
β¨ SYNOPSIS β¨
pckbc* at isa?
pckbd* at pckbc?
wskbd* at pckbd? console ?
options PCKBD_LAYOUT=XXX
like, that's the whole config vibe right there π¦
π DESCRIPTION π
So this driver supports PC/AT keyboards within the wscons(4) console framework. She doesn't provide direct device driver entry points though β nope, she makes her functions available via the internal wskbd(4) interface instead. lowkey iconic of her π«Ά
The pckbd driver supports a number of different key mappings, which can be chosen from with the kernel option PCKBD_LAYOUT at compile time, or with the utility wsconsctl(8) at runtime (variable: βencodingβ). Obsessed with the flexibility honestly β¨
Other mappings can be used if the whole keymap is replaced by means of wsconsctl(8). so you're not locked in at all, go off π
Because PC keyboard hardware doesn't contain a beeper, requests for βkeyboard beepsβ cannot be handled directly π like the hardware literally cannot, it's not her fault. On alpha and i386 a helper device attached to the pcppi(4) driver allows the use of the standard ISA speaker for this purpose π΅ and on acorn32, acorn32/vidcaudio(4) performs this function. teamwork makes the dream work, periodt π
π₯ EXAMPLES π₯
To set a German keyboard layout without βdead accentsβ and sending an ESC character before the key symbol if the ALT key is pressed simultaneously, use wsconsctl -w encoding=de.nodead.metaesc. slay π
To set it at kernel build time, add
options PCKBD_LAYOUT="(KB_DE | KB_NODEAD | KB_METAESC)"
to the kernel configuration file. that's it, that's the whole move β¨
π SEE ALSO π
okay bestie that's the whole page, go forth and have the keyboard layout of your dreams π
fr fr this is theDebianversion of the page, datedJuly 13, 2020β she's a little vintage but she still ate πβ¨
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 1999 Matthias Drochner. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms