OSDN Git Service

util-linux 2.38: 翻訳予約。
[linuxjm/jm.git] / manual / util-linux / original / man8 / ldattach.8
1 '\" t
2 .\"     Title: ldattach
3 .\"    Author: [see the "AUTHOR(S)" section]
4 .\" Generator: Asciidoctor 2.0.15
5 .\"      Date: 2022-02-17
6 .\"    Manual: System Administration
7 .\"    Source: util-linux 2.38
8 .\"  Language: English
9 .\"
10 .TH "LDATTACH" "8" "2022-02-17" "util\-linux 2.38" "System Administration"
11 .ie \n(.g .ds Aq \(aq
12 .el       .ds Aq '
13 .ss \n[.ss] 0
14 .nh
15 .ad l
16 .de URL
17 \fI\\$2\fP <\\$1>\\$3
18 ..
19 .als MTO URL
20 .if \n[.g] \{\
21 .  mso www.tmac
22 .  am URL
23 .    ad l
24 .  .
25 .  am MTO
26 .    ad l
27 .  .
28 .  LINKSTYLE blue R < >
29 .\}
30 .SH "NAME"
31 ldattach \- attach a line discipline to a serial line
32 .SH "SYNOPSIS"
33 .sp
34 \fBldattach\fP [\fB\-1278denoVh\fP] [\fB\-i\fP \fIiflag\fP] [\fB\-s\fP \fIspeed\fP] \fIldisc device\fP
35 .SH "DESCRIPTION"
36 .sp
37 The \fBldattach\fP daemon opens the specified \fIdevice\fP file (which should refer to a serial device) and attaches the line discipline \fIldisc\fP to it for processing of the sent and/or received data. It then goes into the background keeping the device open so that the line discipline stays loaded.
38 .sp
39 The line discipline \fIldisc\fP may be specified either by name or by number.
40 .sp
41 In order to detach the line discipline, \fBkill\fP(1) the \fBldattach\fP process.
42 .sp
43 With no arguments, \fBldattach\fP prints usage information.
44 .SH "LINE DISCIPLINES"
45 .sp
46 Depending on the kernel release, the following line disciplines are supported:
47 .sp
48 \fBTTY\fP(\fB0\fP)
49 .RS 4
50 The default line discipline, providing transparent operation (raw mode) as well as the habitual terminal line editing capabilities (cooked mode).
51 .RE
52 .sp
53 \fBSLIP\fP(\fB1\fP)
54 .RS 4
55 Serial Line IP (SLIP) protocol processor for transmitting TCP/IP packets over serial lines.
56 .RE
57 .sp
58 \fBMOUSE\fP(\fB2\fP)
59 .RS 4
60 Device driver for RS232 connected pointing devices (serial mice).
61 .RE
62 .sp
63 \fBPPP\fP(\fB3\fP)
64 .RS 4
65 Point to Point Protocol (PPP) processor for transmitting network packets over serial lines.
66 .RE
67 .sp
68 \fBSTRIP\fP(\fB4\fP); \fBAX25\fP(\fB5\fP); \fBX25\fP(\fB6\fP)
69 .RS 4
70 Line driver for transmitting X.25 packets over asynchronous serial lines.
71 .RE
72 .sp
73 \fB6PACK\fP(\fB7\fP); \fBR3964\fP(\fB9\fP)
74 .RS 4
75 Driver for Simatic R3964 module.
76 .RE
77 .sp
78 \fBIRDA\fP(\fB11\fP)
79 .RS 4
80 Linux IrDa (infrared data transmission) driver \- see \c
81 .URL "http://irda.sourceforge.net/" "" ""
82 .RE
83 .sp
84 \fBHDLC\fP(\fB13\fP)
85 .RS 4
86 Synchronous HDLC driver.
87 .RE
88 .sp
89 \fBSYNC_PPP\fP(\fB14\fP)
90 .RS 4
91 Synchronous PPP driver.
92 .RE
93 .sp
94 \fBHCI\fP(\fB15\fP)
95 .RS 4
96 Bluetooth HCI UART driver.
97 .RE
98 .sp
99 \fBGIGASET_M101\fP(\fB16\fP)
100 .RS 4
101 Driver for Siemens Gigaset M101 serial DECT adapter.
102 .RE
103 .sp
104 \fBPPS\fP(\fB18\fP)
105 .RS 4
106 Driver for serial line Pulse Per Second (PPS) source.
107 .RE
108 .sp
109 \fBGSM0710\fP(\fB21\fP)
110 .RS 4
111 Driver for GSM 07.10 multiplexing protocol modem (CMUX).
112 .RE
113 .SH "OPTIONS"
114 .sp
115 \fB\-1\fP, \fB\-\-onestopbit\fP
116 .RS 4
117 Set the number of stop bits of the serial line to one.
118 .RE
119 .sp
120 \fB\-2\fP, \fB\-\-twostopbits\fP
121 .RS 4
122 Set the number of stop bits of the serial line to two.
123 .RE
124 .sp
125 \fB\-7\fP, \fB\-\-sevenbits\fP
126 .RS 4
127 Set the character size of the serial line to 7 bits.
128 .RE
129 .sp
130 \fB\-8\fP, \fB\-\-eightbits\fP
131 .RS 4
132 Set the character size of the serial line to 8 bits.
133 .RE
134 .sp
135 \fB\-d\fP, \fB\-\-debug\fP
136 .RS 4
137 Keep \fBldattach\fP in the foreground so that it can be interrupted or debugged, and to print verbose messages about its progress to standard error output.
138 .RE
139 .sp
140 \fB\-e\fP, \fB\-\-evenparity\fP
141 .RS 4
142 Set the parity of the serial line to even.
143 .RE
144 .sp
145 \fB\-i\fP, \fB\-\-iflag\fP \fIvalue\fP...
146 .RS 4
147 Set the specified bits in the c_iflag word of the serial line. The given \fIvalue\fP may be a number or a symbolic name. If \fIvalue\fP is prefixed by a minus sign, the specified bits are cleared instead. Several comma\-separated values may be given in order to set and clear multiple bits.
148 .RE
149 .sp
150 \fB\-n\fP, \fB\-\-noparity\fP
151 .RS 4
152 Set the parity of the serial line to none.
153 .RE
154 .sp
155 \fB\-o\fP, \fB\-\-oddparity\fP
156 .RS 4
157 Set the parity of the serial line to odd.
158 .RE
159 .sp
160 \fB\-s\fP, \fB\-\-speed\fP \fIvalue\fP
161 .RS 4
162 Set the speed (the baud rate) of the serial line to the specified \fIvalue\fP.
163 .RE
164 .sp
165 \fB\-c\fP, \fB\-\-intro\-command\fP \fIstring\fP
166 .RS 4
167 Define an intro command that is sent through the serial line before the invocation of \fBldattach\fP. E.g. in conjunction with line discipline GSM0710, the command \(aqAT+CMUX=0\(rsr\(aq is commonly suitable to switch the modem into the CMUX mode.
168 .RE
169 .sp
170 \fB\-p\fP, \fB\-\-pause\fP \fIvalue\fP
171 .RS 4
172 Sleep for \fIvalue\fP seconds before the invocation of \fBldattach\fP. Default is one second.
173 .RE
174 .sp
175 \fB\-h\fP, \fB\-\-help\fP
176 .RS 4
177 Display help text and exit.
178 .RE
179 .sp
180 \fB\-V\fP, \fB\-\-version\fP
181 .RS 4
182 Print version and exit.
183 .RE
184 .SH "AUTHORS"
185 .sp
186 .MTO "tilman\(atimap.cc" "Tilman Schmidt" ""
187 .SH "SEE ALSO"
188 .sp
189 \fBinputattach\fP(1),
190 \fBttys\fP(4)
191 .SH "REPORTING BUGS"
192 .sp
193 For bug reports, use the issue tracker at \c
194 .URL "https://github.com/util\-linux/util\-linux/issues" "" "."
195 .SH "AVAILABILITY"
196 .sp
197 The \fBldattach\fP command is part of the util\-linux package which can be downloaded from \c
198 .URL "https://www.kernel.org/pub/linux/utils/util\-linux/" "Linux Kernel Archive" "."