]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man4/ttyS.4
man.7: Replace page with `so` of groff_man(7)
[thirdparty/man-pages.git] / man4 / ttyS.4
1 .\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
2 .\" Fri Apr 2 11:32:09 MET DST 1993
3 .\"
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .\"
6 .\" Modified Sat Jul 24 17:03:24 1993 by Rik Faith (faith@cs.unc.edu)
7 .TH ttyS 4 (date) "Linux man-pages (unreleased)"
8 .SH NAME
9 ttyS \- serial terminal lines
10 .SH DESCRIPTION
11 .B ttyS[0\-3]
12 are character devices for the serial terminal lines.
13 .PP
14 They are typically created by:
15 .PP
16 .in +4n
17 .EX
18 mknod \-m 660 /dev/ttyS0 c 4 64 # base address 0x3f8
19 mknod \-m 660 /dev/ttyS1 c 4 65 # base address 0x2f8
20 mknod \-m 660 /dev/ttyS2 c 4 66 # base address 0x3e8
21 mknod \-m 660 /dev/ttyS3 c 4 67 # base address 0x2e8
22 chown root:tty /dev/ttyS[0\-3]
23 .EE
24 .in
25 .SH FILES
26 .I /dev/ttyS[0\-3]
27 .SH SEE ALSO
28 .BR chown (1),
29 .BR mknod (1),
30 .BR tty (4),
31 .BR agetty (8),
32 .BR mingetty (8),
33 .BR setserial (8)