Debian Codegraph @

upstream/debian-trixie/man4/ttyS.4

raw
1 .\" Copyright (c) 1993 Michael Haardt ([email protected]),
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 ([email protected])
7 .TH ttyS 4 2024-05-02 "Linux man-pages 6.9.1"
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 .P
14 They are typically created by:
15 .P
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)