This file is indexed.

/usr/share/doc/HOWTO/ja-html/Serial-HOWTO-13.html is in doc-linux-ja-html 2006.05.25-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
 <TITLE>The Linux Serial HOWTO: $B%H%i%V%k%7%e!<%F%#%s%0(B </TITLE>
 <LINK HREF="Serial-HOWTO-14.html" REL=next>
 <LINK HREF="Serial-HOWTO-12.html" REL=previous>
 <LINK HREF="Serial-HOWTO.html#toc13" REL=contents>
</HEAD>
<BODY>
<A HREF="Serial-HOWTO-14.html">$B<!$N%Z!<%8(B</A>
<A HREF="Serial-HOWTO-12.html">$BA0$N%Z!<%8(B</A>
<A HREF="Serial-HOWTO.html#toc13">$BL\<!$X(B</A>
<HR>
<H2><A NAME="trouble_shoot"></A> <A NAME="s13">13.</A> <A HREF="Serial-HOWTO.html#toc13">$B%H%i%V%k%7%e!<%F%#%s%0(B </A></H2>

<P>$B%b%G%`$*$h$S!"%b%G%`$KBP$7$FMQ$$$k(B getty $B$K4X$7$F$O!"(BModem-HOWTO $B$N(B
$B%H%i%V%k%7%e!<%F%#%s%0$N>O$r$4Mw$/$@$5$$!#(B</P>

<H2><A NAME="ss13.1">13.1</A> <A HREF="Serial-HOWTO.html#toc13.1">$B%7%j%"%k$NEE5$E*$J?GCG$r9T$&F;6q(B</A>
</H2>

<H3>$BCf7Q%3%M%/%?Ey$N>.J*(B</H3>

<P>$BC<Kv$,?t8D$@$1$J$i$P%F%9%?(B($BEE057W$H$7$F;H$$$^$9(B)$B$,$"$l$P==J,$G$7$g(B
$B$&$,!"%7%j%"%k%]!<%H$NG[@~$rD4$Y$k$?$a$N4JC1$JFC<l4o6q$b$"$j$^$9!#$=$N(B
$BCf$K$O!VCf7Q%3%M%/%?(B(breakout)$B!W$H8F$P$l$k$b$N$,$"$j$^$9!#(B
$B!V(Bbreakout$B!W$H$$$&8@MU$O!"F3@~$r%1!<%V%k$+$i<h$j=P$9$H$$$C$?0UL#$G$9!#(B
$B$3$N$h$&$J>.J*$K$O(B 2 $B$D%3%M%/%?$,IU$$$F$*$j!"%7%j%"%k%1!<%V%k$r7R$0$h(B
$B$&$K$J$C$F$$$^$9!#EE057W$r7R$0C<;R$,$D$$$F$$$k$b$N$b$"$j$^$9!#FCD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l$F$_$^$7$g(B
$B$&!#$3$l$G%7%g%C%/$r<u$1$l$P!"$J$a$F$_$k5$$O$-$C$H$J$/$J$k$G$7$g$&!#(B</P>
<P>12 V $B$rD4$Y$k$K$O!"$^$:;X$r$J$a$F!"0lJ}$NF3@~$r$=$N;X$K2!$7$D$1$^$9!#(B
$B<!$KJL$NF3@~$K@e$G?($l$^$9!#@e$G?($l$?F3@~$K@5$NEE05$,$+$+$C$F$$$l(B
$B$P!"$O$C$-$j$H$7$?L#$,$9$k$G$7$g$&!#$I$s$JL#$,$9$k$+A0$b$C$FCN$C$F$*$-(B
$B$?$1$l$P!"2{CfEEEt$NEECS$r$J$a$F$_$k$H$$$$$G$7$g$&!#(B</P>

<H2><A NAME="ss13.2">13.2</A> <A HREF="Serial-HOWTO.html#toc13.2">$B%7%j%"%k%]!<%H$N4F;k$H?GCG(B</A>
</H2>

<P>$B%b%G%`@)8f@~$r4F;k$7!"$=$NEE05$,@5(B(1)$B$G$"$k$+Ii(B(0)$B$G$"$k$+$r<($9(B 
Linux $BMQ$N%W%m%0%i%`$,$$$/$D$+$"$j$^$9!#(B
<A HREF="Serial-HOWTO-8.html#serial_mon">$B%7%j%"%k%]!<%H$N4F;k(B/$B?GCGMQ$N%W%m%0%i%`(B</A>
$B$N>O$r$4Mw$/$@$5$$!#(B</P>

<H2><A NAME="ss13.3">13.3</A> <A HREF="Serial-HOWTO.html#toc13.3">$B0J2<$N@a$O(B Serial-HOWTO $B$K$b(B Modem-HOWTO $B$K$b$"$j$^$9(B:</A>
</H2>

<H2><A NAME="cant_find_port"></A> <A NAME="ss13.4">13.4</A> <A HREF="Serial-HOWTO.html#toc13.4">$BJ*M}E*$K$O%7%j%"%k%]!<%H$,$"$k$N$K!"8!=P$5$l$^$;$s(B</A>
</H2>

<P> $B%G%P%$%9(B($B%b%G%`$J$I(B)$B$,3N$+$KF0:n$7$F$$$k$J$i!"$=$N%G%P%$%9$,(B
$B7R$,$C$F$$$k%7%j%"%k%]!<%H$O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<%I%&%'%"$K<B:]$K@_Dj$5$l$F$$$k>pJs$rD4$Y$k$3$H$G$9!#(BPnP $B$N>l9g(B
$B$K$O!"(B"pnpdump --dumpregs" (ISA $B%P%9$N>l9g(B)$B$^$?$O(B "lspci" (PCI $B%P%9$N(B
$B>l9g(B)$B$r<B9T$7$^$7$g$&!#(B
$B$=$7$F!"(BLinux ("setserial" $BEy(B)$B$,9M$($F$$$k%O!<%I%&%'%"$N@_Dj$H$3$N7k2L(B
$B$rHf$Y$F$/$@$5$$!#(B</P>

<H2><A NAME="ss13.6">13.6</A> <A HREF="Serial-HOWTO.html#toc13.6">$B$J$<$+CY$$(B: $B$"$H(B 2$B!"(B3 $BG\$OB.$$$O$:$J$N$G$9$,(B</A>
</H2>

<P> $B9M$($i$l$kM}M3$N0l$D$O!"%7%j%"%k%]!<%H$r;H$C$F$$$k%G%P%$%9(B($B%b%G%`(B
$B$dC<Kv!"%W%j%s%?(B)$B$,!"$"$J$?$,9M$($F$$$k$[$IB.$/F0:n$7$J$$$3$H$G$9!#(B</P>
<P>$B9M$($i$l$kJL$NM}M3$O!"$"$J$?$,;H$C$F$$$k%7%j%"%k%]!<%H$,8E$$(B
(UART 8250, 16450 $B$d=i4|$N(B 16550)$B$H%7%j%"%k%I%i%$%P$,G'<1$7$F$$$k$3$H(B
$B$G$9!#(B
<A HREF="Serial-HOWTO-15.html#uart_">UART $B$H$O2?$G$9$+(B?</A>$B$r;2>H$7!"(B
"setserial -g /dev/ttyS*" $B$r;H$C$F$/$@$5$$!#$=$N7k2L$H$7$F(B 16550A $B$h$j(B
$B@-G=$,$h$/$J$$(B UART $B$,I=<($5$l$?$i!"$3$l$OB?J,@_Dj$NLdBj$G$9!#(B
$B$3$N>l9g$O!"(B"setserial" $B$N@_Dj$KLdBj$,$"$l$P!"$3$l$rJQ99$7$^$9!#(B
$B>\$7$/$O(B 
<A HREF="Serial-HOWTO-8.html#set_serial">setserial $B$H$O2?$+(B?</A>$B$r8+$F$/$@$5$$!#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</PRE>
</CODE></BLOCKQUOTE>

$B$HI=<($5$l$^$9(B($B8E$$%+!<%M%k$G$O(B "ttyS02" $B$N$H$3$m$,(B "tty02" $B$H$J$j$^$9(B)$B!#(B
$B<B:]$K;H$&(B IRQ $B$r(B Linux $B$KCN$i$;$k$K$O!"(B<CODE>setserial</CODE> $B$r;H$o$J$1$l$P(B
$B$J$j$^$;$s!#(B</P>

<H2><A NAME="ss13.8">13.8</A> <A HREF="Serial-HOWTO.html#toc13.8">"Cannot open /dev/ttyS?: Permission denied" $B$H$$$&%(%i!<$,=P$^$9(B</A>
</H2>

<P> "ls -l /dev/ttyS?" $B$r<B9T$7$F$=$N%]!<%H$N%U%!%$%k$N%Q!<%_%C%7%g%s(B
$B$rD4$Y$F$_$^$7$g$&!#(BttyS? $B$N=jM-<T$,<+J,$G$"$l$P!"FI$_=q$-$N%Q!<%_%C%7%g(B
$B%s$H$7$F(B crw $B$,I,MW$G$9!#:G=i$N7e$O(B c ($B%-%c%i%/%?%G%P%$%9(B)$B$G$9!#%]!<%H(B
$B$N=jM-<T$G$J$1$l$P!"(B8 $B7eL\$H(B 9 $B7eL\$,(B rw- $B$G$J$1$l$P$J$j$^$;$s!#$D$^$j(B
$BC/$G$b$=$N%]!<%H$rFI$_=q$-$G$-$J$1$l$P$J$j$^$;$s!#(B
$B%Q!<%_%C%7%g%s$rJQ99$9$k$K$O(B "chmod" $B$r;H$$$^$9!#(B
$B%"%/%;%98"8B$rF@$kJ}K!$H$7$F$O!"%0%k!<%W%Q!<%_%C%7%g%s$r;}$C$F$$$k(B
$B!V%0%k!<%W!W$K=jB0$9$k$H$$$C$?$b$C$HJ#;($J$b$N$b$"$j$^$9!#(B</P>

<H2><A NAME="ss13.9">13.9</A> <A HREF="Serial-HOWTO.html#toc13.9">ttyS? $B$K$D$$$F(B "Operation not supported by device" $B$H$$$&%(%i!<$,=P$k(B</A>
</H2>

<P> $B$3$N%(%i!<$O!"%+!<%M%k$,%5%]!<%H$7$F$$$J$$$?$a$K!"(Bsetserial $B$d(B 
stty $BEy$,MW5a$7$?A`:n$,9T$($J$$$H$$$&0UL#$G$9!#0JA0$O(B "serial" $B%b%8%e!<(B
$B%k$,%m!<%I$5$l$F$J$$$3$H$,860x$N>l9g$,B?$+$C$?$N$G$9$,!"(BPnP $B$NEP>l$K$h(B
$B$j!"$3$N%(%i!<$O%I%i%$%P(B($B$*$h$S(B setserial)$B$,9M$($F$$$k%"%I%l%9$K%b%G%`(B
($B$"$k$$$OB>$N%7%j%"%k%G%P%$%9(B)$B$,$J$$$3$H$r<($9$3$H$,B?$/$J$j$^$7$?!#$3(B
$B$&$$$C$?%"%I%l%9$K%b%G%`$,$J$1$l$P!"$=$N%"%I%l%9$KAw$i$l$?(B($BA`:n$N$?$a(B
$B$N(B)$B%3%^%s%I$OEvA3$J$,$i=hM}$5$l$^$;$s!#(B
<A HREF="Serial-HOWTO-6.html#io-irq_in_hdw">$B%7%j%"%k%]!<%H$N%O!<%I%&%'%"$N@_Dj$O(B?</A>
$B$N@a$r$4Mw$/$@$5$$!#(B</P>
<P>"serial" $B%b%8%e!<%k$,%m!<%I$5$l$F$$$J$+$C$?$,:#%m!<%I$7$?$H(B 
"lsmod" $B$,I=<($9$k>l9g$O!"%b%8%e!<%k$O:#%m!<%I$5$l$?$1$l$I!"(B
$B%(%i!<$,=P$?;~$K$O%m!<%I$5$l$F$$$J$+$C$?$N$+$b$7$l$^$;$s!#(B
$BB?$/$N>l9g!"%b%8%e!<%k$OI,MW$J;~$K<+F0E*$K%m!<%I$5$l$^$9(B($B$b$78+$D$1$k$3$H(B
$B$,$G$-$l$P(B)$B!#(B"serial" $B%b%8%e!<%k$r6/@)E*$K%m!<%I$5$;$k$K$O!"(B
/etc/modules.conf $B$^$?$O(B /etc/modules $B$K5-=R$7$F$*$-$^$9!#%b%8%e!<%k$=(B
$B$N$b$N$O(B /lib/modules/.../misc/serial.o $B$K$"$k$O$:$G$9!#(B</P>

<H2><A NAME="ss13.10">13.10</A> <A HREF="Serial-HOWTO.html#toc13.10">"Cannot create lockfile. Sorry" ($B%(%i!<%a%C%;!<%8(B)</A>
</H2>

<P> $B2?$i$+$N%W%m%0%i%`$,%]!<%H$r!V%*!<%W%s!W$9$k;~!"%m%C%/%U%!%$%k(B
$B$,(B /var/lock/ $B$K:n$i$l$^$9!#(Block $B%G%#%l%/%H%j$N%Q!<%_%C%7%g%s$,4V0c$C(B
$B$F$$$k$H!"$3$3$K%m%C%/%U%!%$%k$r:n$l$^$;$s!#%Q!<%_%C%7%g%s$,@5$7$$$+$I(B
$B$&$+$r3NG'$9$k$K$O(B "ls -ld /var/lock" $B$r;H$$$^$9!#IaDL$OA40w$KBP$7$F(B
rwx $B$G$9(B(rwx $B$,(B 3 $BEY7+$jJV$5$l$^$9(B)$B!#%Q!<%_%C%7%g%s$,4V0c$C$F$$$k>l9g(B
$B$K$O!"(B"chmod" $B%3%^%s%I$r;H$C$F=$@5$7$^$9!#$b$A$m$s!"(B"lock" $B%G%#%l%/%H(B
$B%j$,$J$1$l$P!"$=$3$K%m%C%/%U%!%$%k$r:n$k$3$H$O$G$-$^$;$s!#%m%C%/%U%!%$(B
$B%k$K4X$9$k!"$h$j>\$7$$>pJs$K$D$$$F$O(B
<A HREF="Serial-HOWTO-10.html#lockfiles_">$B%m%C%/%U%!%$%k$H$O2?$G$9$+(B?</A>$B$N@a$r$4Mw$/$@(B
$B$5$$!#(B</P>

<H2><A NAME="ss13.11">13.11</A> <A HREF="Serial-HOWTO.html#toc13.11">"Device /dev/ttyS? is locked." ($B%G%P%$%9(B /dev/ttyS? $B$,%m%C%/$5$l$F$$$^$9(B)</A>
</H2>

<P>$B$3$N%a%C%;!<%8$,=P$?>l9g$K$O$*$=$i$/!"C/$+B>$N?M(B($B$"$k$$$OB>$N%W%m%;(B
$B%9(B)$B$,%7%j%"%k%]!<%H$r;H$C$F$$$^$9!#$3$N%]!<%H$r!V;HMQCf!W$N%W%m%;%9$r(B
$B8+$D$1$kJ}K!$O$$$/$D$b$"$j$^$9!#0l$D$NJ}K!$O!"%m%C%/%U%!%$%k(B
(/var/lock/LCK...)$B$NCf?H$r8+$k$3$H$G$9!#$3$l$O!"%]!<%H$r;H$C$F$$$k(B
$B%W%m%;%9$N(B ID $B$N$O$:$G$9!#%W%m%;%9(B ID $B$,(B $BNc$($P(B 261 $B$J$i$P!"(B"ps 261" 
$B$r<B9T$7!"$=$l$,2?$+$rD4$Y$^$7$g$&!#$=$7$F!"$=$N%W%m%;%9$,$b$O$dITMW$G$"$l$P!"(B
"kill 261" $B$GM%$7$/(B kill $B$7$F$b$$$$$G$7$g$&!#$3$l$G=*N;$7$J$$$J$i!"(B
"kill -9 261" $B$r<B9T$7$F6/@)E*$K(B kill $B$7$F$/$@$5$$!#$?$@$7!"$3$N>l9g$K(B
$B$O%m%C%/%U%!%$%k$,>C$5$l$:$K;D$k$N$G!"<j$G>C$9I,MW$,$"$k$G$7$g$&!#(B
$B$b$A$m$s!"(B261 $B$N$h$&$J%W%m%;%9$,B8:_$7$J$1$l$PC1$K%m%C%/%U%!%$%k$r>C(B
$B$7$F$+$^$$$^$;$s!#$7$+$7!"%m%C%/%U%!%$%k$,<($9%W%m%;%9(B ID (261 $BEy(B)$B$,(B
$BL58z$G$"$l$P!"B?$/$N>l9g$=$N%m%C%/%U%!%$%k$O<+F0E*$K:o=|$5$l$k$O$:$G$9!#(B</P>

<H2><A NAME="busy_err"></A> <A NAME="ss13.12">13.12</A> <A HREF="Serial-HOWTO.html#toc13.12">"/dev/ttyS?: Device or resource busy" </A>
</H2>

<P>$B$3$l$O%"%/%;%9(B($B$D$^$j;HMQ(B)$B$7$h$&$H$7$F$$$k%G%P%$%9$,%S%8!<>uBV(B
($B;HMQCf(B)$B$H9M$($i$l$k$+!"%G%P%$%9$,I,MW$H$7$F$$$k%j%=!<%9(B(IRQ $BEy(B)$B$,(B
$BB>$N%G%P%$%9$K;H$o$l$F$$$k$H9M$($i$l$k$3$H$r<($7$^$9!#K\Ev$K(B
$B!V%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$B$rCN$C$F$$$k$D$b$j$G$"$l$P!"(B
/proc/interrupts $B$r8+$F!"8=:_$=$N(B IRQ $B$r;H$C$F$$$kB>$N%G%P%$%9$r8+$D$1(B
$B$k$H$h$$$G$7$g$&!#(B/proc/interrupts ($B$d(B "setserial")$B$,<($95?$o$7$$(B IRQ 
$B$,@5$7$$(B($B%O!<%I%&%'%"$N@_Dj$HF1$8(B)$B$+$I$&$+$rA4$F%A%'%C%/$7D>$9$N$b$h$$(B
$B$G$7$g$&!#3d$j9~$_$,>WFM$7$F$$$k2DG=@-$,$"$k$+$I$&$+$rD4$Y$kJ}K!$O!"(B
"setserial" $B$r;H$C$F(B IRQ $B$K(B 0 ($B%]!<%j%s%0(B)$B$r@_Dj$9$k$3$H$G$9!#(B
IRQ $B$K$:$C$H(B 0 $B$r@_Dj$7$?$^$^$K$9$k$N$O$h$/$"$j$^$;$s!#$H$$$&$N$b!"(BCPU 
$B$N;q8;$rM>7W$K;H$&$+$i$G$9!#(B</P>

<H2><A NAME="ss13.13">13.13</A> <A HREF="Serial-HOWTO.html#toc13.13">$B%H%i%V%kBP=h$N$?$a$N%D!<%k(B</A>
</H2>

<P> $B%H%i%V%k$KBP=h$9$k;~$K;H$&$H$h$$%W%m%0%i%`$,$$$/$D$+$"$j$^$9(B:
<UL>
<LI> "lsof /dev/ttyS*" $B$K$h$j!"%*!<%W%s$5$l$F$$$k%7%j%"%k%]!<%H$,(B
$B%j%9%HI=<($5$l$^$9!#(B</LI>
<LI> "setserial" $B$O!"%7%j%"%k%]!<%H$NDc%l%Y%k%O!<%I%&%'%"@_Dj$NI=<((B
$B$H@_Dj$r9T$$$^$9(B($B%I%i%$%PB&$N@_Dj$G$9(B)$B!#>\$7$/$O(B
<A HREF="Serial-HOWTO-8.html#set_serial">setserial $B$H$O2?$+(B?</A>
$B$N@a$r8+$F$/$@$5$$!#(B</LI>
<LI> "stty" $B$O%7%j%"%k%]!<%H$N@_Dj(B("setserial" $B$,07$&ItJ,$r=|$/(B)$B$NI=(B
$B<($H@_Dj$r9T$$$^$9!#(B
<A HREF="Serial-HOWTO-8.html#stty_">stty</A> $B$N@a$r8+$F$/$@$5$$!#(B</LI>
<LI> "modemstat" $B$H(B "statserial" $B$O!"%b%G%`$N3F<o?.9f@~(B(DTR, 
CTS $B$J$I(B)$B$N8=:_$N>uBV$rI=<($7$^$9!#(B</LI>
<LI> "irqtune" $B$r;H$($P!"%7%j%"%k%]!<%H$N3d$j9~$_$NM%@hEY$r>e$2$F(B
$B@-G=$r8~>e$5$;$k$3$H$,$G$-$^$9!#(B</LI>
<LI> $B%O!<%I%G%#%9%/$N%A%e!<%K%s%0$r9T$&(B "hdparm" $B$b$$$/$i$+Lr$KN)(B
$B$D$+$b$7$l$^$;$s!#(B</LI>
<LI> "lspci" $B$O!"(BPCI $B%P%9>e$N%O!<%I%&%'%"$N<B:]$N(B IRQ $BEy$rI=<($7$^$9!#(B</LI>
<LI>  "pnpdump --dumpregs" $B$O!"(BISA $B%P%9>e$N(B PnP $B%G%P%$%9$K$D$$$F!"(B
$B%O!<%I%&%'%"$N<B:]$N(B IRQ $BEy$rI=<($7$^$9!#(B</LI>
<LI> /proc $B%G%#%l%/%H%j$N!V%U%!%$%k!W$N$$$/$D$+(B(ioports $B$d(B 
interrupts $BEy(B)$B!#(B</LI>
</UL>
</P>

<HR>
<A HREF="Serial-HOWTO-14.html">$B<!$N%Z!<%8(B</A>
<A HREF="Serial-HOWTO-12.html">$BA0$N%Z!<%8(B</A>
<A HREF="Serial-HOWTO.html#toc13">$BL\<!$X(B</A>
</BODY>
</HTML>