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