1.\" Copyright (c) 2003 Hidetoshi Shimokawa 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. 9.\" 2. Redistributions in binary form must reproduce the above copyright 10.\" notice, this list of conditions and the following disclaimer in the 11.\" documentation and/or other materials provided with the distribution. 12.\" 13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 14.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 15.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 16.\" DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 17.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 18.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 19.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 21.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 22.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 23.\" POSSIBILITY OF SUCH DAMAGE. 24.\" 25.\" $FreeBSD$ 26.\" 27.\" 28.Dd February 11, 2003 29.Dt DCONS 4 30.Os 31.Sh NAME 32.Nm dcons 33.Nd dumb console device driver 34.Sh SYNOPSIS 35.Cd device dcons 36.Pp 37.Cd options DDB 38.Cd options ALT_BREAK_TO_DEBUGGER 39.Pp 40.Cd device firewire 41.Sh DESCRIPTION 42The 43.Nm 44device is a simple console device which just reads from and writes to 45an allocated buffer for input and output respectivly. 46It is of no use by itself and it is supposed that the buffer is accessed 47via a bus like 48.Xr firewire 4 49or 50.Xr kvm 3 51for interaction. 52.Pp 53The buffer consists of 4 channels. 54There are 2 ports, one for the console tty and other is GDB ports then each port 55has an input channel and an output channel. 56.Sh EXAMPLE 57If you want to run 58.Xr getty 8 59on dcons, insert the following line into 60.Xr /etc/ttys 5 61and 62send a HUP signal to 63.Xr init 8 64using 65.Xr kill 1 . 66.Bd -literal -offset indent 67dcons "/usr/libexec/getty std.9600" vt100 on secure 68.Ed 69.Pp 70Once the 71.Xr fwochi 4 72device is initialized to allow physical access, 73the buffer can be accessed from another host via a FireWire bus using the 74.Xr dconschat 8 75application. See 76.Xr dconschat 8 77for more details. 78.Pp 79.Sh FILES 80.Bl -tag -width indent -compact 81.It Pa /dev/dcons 82.It Pa /etc/ttys 83.El 84.Sh SEE ALSO 85.Xr dcons_crom 4 , 86.Xr ddb 4 , 87.Xr firewire 4 , 88.Xr fwohci 4 , 89.Xr ttys 5 , 90.Xr dconschat 8 , 91.Xr fwcontrol 8 92.Sh AUTHORS 93.An Hidetoshi Shimokawa Aq simokawa@FreeBSD.org 94.Sh BUGS 95This driver is still under development. 96.Pp 97