2 .\" Copyright (c) 2001 Miodrag Vallat.
3 .\" Copyright (c) 2005 Marius Strobl <marius@FreeBSD.org>
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistribution of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 .\" from: OpenBSD: pcons.4,v 1.4 2003/06/02 16:16:26 miod Exp
30 .Dt OFW_CONSOLE 4 sparc64
34 .Nd "Open Firmware console"
36 .Cd "device ofw_console"
37 .Cd "options OFWCONS_POLL_HZ=N"
41 .Cd "options ALT_BREAK_TO_DEBUGGER"
45 driver provides a simple text console,
46 using the Open Firmware services for input and output.
47 It will use the Open Firmware console devices set via the
53 This driver is deprecated and only provided as a fallback console mechanism
54 if the real console hardware can not be driven by
59 console appears to work too slowly, its responsiveness probably can be improved
61 .Cd "options OFWCONS_POLL_HZ=N" .
67 a value of 20 or higher works best.
68 Too high values, on the other hand, can cause
70 to unnecessarily consume CPU.
72 .Bl -tag -width ".Pa /dev/keyboard" -compact
75 terminal input device in case the console input device is the keyboard
77 terminal output device in case the console output device is the screen
79 terminal device in case both the console input and output device is tty[a-z]
90 driver first appeared in
96 .An "Benno Rice" Aq benno@FreeBSD.org .
98 Since the Open Firmware will handle BREAK
102 the preferred way to enter
107 .Cd "options ALT_BREAK_TO_DEBUGGER"
108 in a ddb-enabled kernel, and enter the alternate BREAK sequence
109 (RETURN TILDE CTRL-b).
116 driver and is not MPSAFE.
119 driver also does not attach to the hardware resources it actually talks to.
120 Therefore it cannot be included in the kernel together with real console