2003-10-24 15:44:10 +00:00
|
|
|
.\" Copyright (c) 2003 Hidetoshi Shimokawa
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
|
|
.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
.\" DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
|
|
|
|
.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
|
|
.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
|
|
.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
|
|
.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
|
|
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
|
|
|
.Dd February 11, 2003
|
|
|
|
.Dt DCONS 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm dcons
|
|
|
|
.Nd dumb console device driver
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Cd device dcons
|
|
|
|
.Pp
|
|
|
|
.Cd options DDB
|
|
|
|
.Cd options ALT_BREAK_TO_DEBUGGER
|
|
|
|
.Pp
|
|
|
|
.Cd device firewire
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2003-12-27 15:14:58 +00:00
|
|
|
device is a simple console device which just reads from and writes to
|
2004-06-17 19:51:17 +00:00
|
|
|
an allocated buffer for input and output respectively.
|
2003-12-27 15:14:58 +00:00
|
|
|
It is of no use by itself and it is supposed that the buffer is accessed
|
2003-10-24 15:44:10 +00:00
|
|
|
via a bus like
|
2003-12-24 12:58:35 +00:00
|
|
|
.Xr firewire 4
|
2003-10-28 01:31:50 +00:00
|
|
|
or
|
|
|
|
.Xr kvm 3
|
2003-10-24 15:44:10 +00:00
|
|
|
for interaction.
|
|
|
|
.Pp
|
|
|
|
The buffer consists of 4 channels.
|
2004-06-17 19:51:17 +00:00
|
|
|
There are 2 ports, one for the console TTY and another is GDB port,
|
|
|
|
then each port has an input channel and an output channel.
|
2005-01-21 08:36:40 +00:00
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width indent -compact
|
|
|
|
.It Pa /dev/dcons
|
|
|
|
.It Pa /etc/ttys
|
|
|
|
.El
|
2004-06-17 19:51:17 +00:00
|
|
|
.Sh EXAMPLES
|
2003-10-24 15:44:10 +00:00
|
|
|
If you want to run
|
|
|
|
.Xr getty 8
|
2004-06-17 19:51:17 +00:00
|
|
|
on
|
|
|
|
.Nm ,
|
|
|
|
insert the following line into
|
2005-01-21 10:35:40 +00:00
|
|
|
.Xr ttys 5
|
2004-06-17 19:51:17 +00:00
|
|
|
and send a
|
|
|
|
.Dv HUP
|
|
|
|
signal to
|
2003-10-24 15:44:10 +00:00
|
|
|
.Xr init 8
|
2004-06-17 19:51:17 +00:00
|
|
|
using
|
2003-10-24 15:44:10 +00:00
|
|
|
.Xr kill 1 .
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
dcons "/usr/libexec/getty std.9600" vt100 on secure
|
|
|
|
.Ed
|
|
|
|
.Pp
|
2003-12-27 15:14:58 +00:00
|
|
|
Once the
|
2005-01-21 10:35:40 +00:00
|
|
|
.Xr fwohci 4
|
2003-10-24 15:44:10 +00:00
|
|
|
device is initialized to allow physical access,
|
2004-06-17 19:51:17 +00:00
|
|
|
the buffer can be accessed from another host via a
|
|
|
|
.Xr firewire 4
|
|
|
|
bus using the
|
2003-10-28 01:31:50 +00:00
|
|
|
.Xr dconschat 8
|
2004-06-17 19:51:17 +00:00
|
|
|
application.
|
|
|
|
See
|
2003-10-28 01:31:50 +00:00
|
|
|
.Xr dconschat 8
|
2003-10-24 15:44:10 +00:00
|
|
|
for more details.
|
|
|
|
.Sh SEE ALSO
|
2003-10-28 01:31:50 +00:00
|
|
|
.Xr dcons_crom 4 ,
|
2003-10-24 15:44:10 +00:00
|
|
|
.Xr ddb 4 ,
|
|
|
|
.Xr firewire 4 ,
|
|
|
|
.Xr fwohci 4 ,
|
2003-12-27 15:14:58 +00:00
|
|
|
.Xr ttys 5 ,
|
2003-10-28 01:31:50 +00:00
|
|
|
.Xr dconschat 8 ,
|
2003-12-27 15:14:58 +00:00
|
|
|
.Xr fwcontrol 8
|
2003-10-24 15:44:10 +00:00
|
|
|
.Sh AUTHORS
|
|
|
|
.An Hidetoshi Shimokawa Aq simokawa@FreeBSD.org
|
|
|
|
.Sh BUGS
|
2004-06-17 19:51:17 +00:00
|
|
|
This driver is
|
|
|
|
.Ud .
|