]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man4/ttyS.4
Import of man-pages 1.70
[thirdparty/man-pages.git] / man4 / ttyS.4
1 .\" Copyright (c) 1993 Michael Haardt (michael@moria.de), Fri Apr 2 11:32:09 MET DST 1993
2 .\"
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
7 .\"
8 .\" The GNU General Public License's references to "object code"
9 .\" and "executables" are to be interpreted as the output of any
10 .\" document formatting or typesetting system, including
11 .\" intermediate and printed output.
12 .\"
13 .\" This manual is distributed in the hope that it will be useful,
14 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
15 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 .\" GNU General Public License for more details.
17 .\"
18 .\" You should have received a copy of the GNU General Public
19 .\" License along with this manual; if not, write to the Free
20 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
21 .\" USA.
22 .\"
23 .\" Modified Sat Jul 24 17:03:24 1993 by Rik Faith (faith@cs.unc.edu)
24 .TH TTYS 4 1992-12-19 "Linux" "Linux Programmer's Manual"
25 .SH NAME
26 ttyS \- serial terminal lines
27 .SH DESCRIPTION
28 \fBttyS[0-3]\fP are character devices for the serial terminal lines.
29 .LP
30 They are typically created by:
31 .RS
32 .sp
33 mknod -m 660 /dev/ttyS0 c 4 64 # base address 0x3f8
34 .br
35 mknod -m 660 /dev/ttyS1 c 4 65 # base address 0x2f8
36 .br
37 mknod -m 660 /dev/ttyS2 c 4 66 # base address 0x3e8
38 .br
39 mknod -m 660 /dev/ttyS3 c 4 67 # base address 0x2e8
40 .br
41 chown root:tty /dev/ttyS[0-3]
42 .sp
43 .RE
44 .SH FILES
45 /dev/ttyS[0-3]
46 .SH "SEE ALSO"
47 .BR chown (1),
48 .BR getty (1),
49 .BR mknod (1),
50 .BR tty (4),
51 .BR setserial (8)