2008-07-06 15:10:32 +00:00
|
|
|
.\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
|
|
|
|
.\" Fri Apr 2 11:32:09 MET DST 1993
|
2004-11-03 13:51:07 +00:00
|
|
|
.\"
|
|
|
|
.\" This is free documentation; you can redistribute it and/or
|
|
|
|
.\" modify it under the terms of the GNU General Public License as
|
|
|
|
.\" published by the Free Software Foundation; either version 2 of
|
|
|
|
.\" the License, or (at your option) any later version.
|
|
|
|
.\"
|
|
|
|
.\" The GNU General Public License's references to "object code"
|
|
|
|
.\" and "executables" are to be interpreted as the output of any
|
|
|
|
.\" document formatting or typesetting system, including
|
|
|
|
.\" intermediate and printed output.
|
|
|
|
.\"
|
|
|
|
.\" This manual is distributed in the hope that it will be useful,
|
|
|
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
.\" GNU General Public License for more details.
|
|
|
|
.\"
|
|
|
|
.\" You should have received a copy of the GNU General Public
|
|
|
|
.\" License along with this manual; if not, write to the Free
|
|
|
|
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
|
|
|
|
.\" USA.
|
|
|
|
.\"
|
|
|
|
.\" Modified Sat Jul 24 17:03:24 1993 by Rik Faith (faith@cs.unc.edu)
|
|
|
|
.TH TTYS 4 1992-12-19 "Linux" "Linux Programmer's Manual"
|
|
|
|
.SH NAME
|
|
|
|
ttyS \- serial terminal lines
|
|
|
|
.SH DESCRIPTION
|
2005-07-07 08:27:03 +00:00
|
|
|
\fBttyS[0\-3]\fP are character devices for the serial terminal lines.
|
2004-11-03 13:51:07 +00:00
|
|
|
.LP
|
|
|
|
They are typically created by:
|
|
|
|
.RS
|
|
|
|
.sp
|
2005-07-06 07:41:37 +00:00
|
|
|
mknod \-m 660 /dev/ttyS0 c 4 64 # base address 0x3f8
|
2004-11-03 13:51:07 +00:00
|
|
|
.br
|
2005-07-06 07:41:37 +00:00
|
|
|
mknod \-m 660 /dev/ttyS1 c 4 65 # base address 0x2f8
|
2004-11-03 13:51:07 +00:00
|
|
|
.br
|
2005-07-06 07:41:37 +00:00
|
|
|
mknod \-m 660 /dev/ttyS2 c 4 66 # base address 0x3e8
|
2004-11-03 13:51:07 +00:00
|
|
|
.br
|
2005-07-06 07:41:37 +00:00
|
|
|
mknod \-m 660 /dev/ttyS3 c 4 67 # base address 0x2e8
|
2004-11-03 13:51:07 +00:00
|
|
|
.br
|
2005-07-07 08:27:03 +00:00
|
|
|
chown root:tty /dev/ttyS[0\-3]
|
2004-11-03 13:51:07 +00:00
|
|
|
.RE
|
|
|
|
.SH FILES
|
2005-07-07 08:27:03 +00:00
|
|
|
/dev/ttyS[0\-3]
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR chown (1),
|
|
|
|
.BR mknod (1),
|
|
|
|
.BR tty (4),
|
2007-12-10 15:42:14 +00:00
|
|
|
.BR agetty (8),
|
2006-11-30 05:33:36 +00:00
|
|
|
.BR mingetty (8),
|
2004-11-03 13:51:07 +00:00
|
|
|
.BR setserial (8)
|