File: ttyS.4

package info (click to toggle)
manpages 6.15-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 20,184 kB
  • sloc: sh: 575; python: 222; perl: 190; makefile: 29; lisp: 22
file content (31 lines) | stat: -rw-r--r-- 724 bytes parent folder | download | duplicates (2)
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 2025-05-17 "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)