blob: 7e2b6cc189550c986af84d1c1fa33b08e9b3808a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
.\" Copyright, the authors of the Linux man-pages project
.\"
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
.TH ttyS 4 (date) "Linux man-pages (unreleased)"
.SH NAME
ttyS \- serial terminal lines
.SH DESCRIPTION
.B ttyS[0\-3]
are character devices for the serial terminal lines.
.P
They are typically created by:
.P
.in +4n
.EX
mknod \-m 660 /dev/ttyS0 c 4 64 # base address 0x3f8
mknod \-m 660 /dev/ttyS1 c 4 65 # base address 0x2f8
mknod \-m 660 /dev/ttyS2 c 4 66 # base address 0x3e8
mknod \-m 660 /dev/ttyS3 c 4 67 # base address 0x2e8
chown root:tty /dev/ttyS[0\-3]
.EE
.in
.SH FILES
.I /dev/ttyS[0\-3]
.SH SEE ALSO
.BR chown (1),
.BR mknod (1),
.BR tty (4),
.BR agetty (8),
.BR mingetty (8),
.BR setserial (8)
|