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