OFW_CONSOLE(4)
π OFW_CONSOLE(4) β Open Firmware console π
okay bestie, welcome to OFW_CONSOLE(4), straight out of the powerpc Kernel Interfaces Manual β¨ This one is all about the Open Firmware console, and yes, itβs giving βvintage fallback energyβ but make it useful π
β¨ NAME β¨
ofw_console β Open Firmware console π₯οΈπΈ
π SYNOPSIS π
cpu AIM
options OFWCONS_POLL_HZ=N
options KDB
options DDB
options ALT_BREAK_TO_DEBUGGER
π¦ DESCRIPTION π¦
So the ofw_console driver gives you a simple text console using the Open Firmware services for input and output π It will use the Open Firmware console devices set via the input-device and output-device variables. iykyk.
Real talk though: this driver is deprecated and only provided as a fallback console mechanism if the real console hardware can not be driven by FreeBSD π Itβs the backup bestie, not the main character.
If the ofw_console console appears to work too slowly, its responsiveness probably can be improved by including options OFWCONS_POLL_HZ=N π₯ When omitted, OFWCONS_POLL_HZ defaults to 4. For example, on Sun Ultra 2 a value of 20 or higher works best. Too high values, on the other hand, can cause ofw_console to unnecessarily consume CPU π so donβt go wild with it, bestie.
π FILES π
/dev/console/dev/keyboardβ terminal input device in case the console input device is the keyboard β¨οΈ/dev/screenβ terminal output device in case the console output device is the screen π₯οΈ/dev/tty[a-z]β terminal device in case both the console input and output device istty[a-z]π
πΈ SEE ALSO πΈ
akbd(4), powermac_nvram(4), vt(4) π«Ά
β HISTORY β
The ofw_console driver first appeared in FreeBSD 5.0 π
π AUTHORS π
The ofw_console driver was written by Benno Rice <benno@FreeBSD.org> π
π CAVEATS π
Since the Open Firmware will handle BREAK (or Stop-A) sequences before ofw_console, the preferred way to enter ddb(4) when using ofw_console is to include options ALT_BREAK_TO_DEBUGGER in a ddb-enabled kernel, and enter the alternate BREAK sequence (RETURN TILDE CTRL-b) π
no cap, thatβs the move if you want ddb to actually catch the vibe π
π BUGS π
The ofw_console driver also doesnβt attach to the hardware resources it actually talks to π«
mwah π β thatβs the whole page, signed off with source/version Debian, dated January 16, 2021 β¨π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2001 Miodrag Vallat
- Copyright (c) 2005 Marius Strobl <marius@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms