/usr/share/doc/HOWTO/ja-html/Modem-HOWTO-16.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 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
<TITLE>The Linux Modem-HOWTO : $B%H%i%V%k%7%e!<%F%#%s%0(B </TITLE>
<LINK HREF="Modem-HOWTO-17.html" REL=next>
<LINK HREF="Modem-HOWTO-15.html" REL=previous>
<LINK HREF="Modem-HOWTO.html#toc16" REL=contents>
</HEAD>
<BODY>
<A HREF="Modem-HOWTO-17.html">$B<!$N%Z!<%8(B</A>
<A HREF="Modem-HOWTO-15.html">$BA0$N%Z!<%8(B</A>
<A HREF="Modem-HOWTO.html#toc16">$BL\<!$X(B</A>
<HR>
<H2><A NAME="trouble_shoot"></A> <A NAME="s16">16.</A> <A HREF="Modem-HOWTO.html#toc16">$B%H%i%V%k%7%e!<%F%#%s%0(B </A></H2>
<H2><A NAME="cant_find_modem"></A> <A NAME="ss16.1">16.1</A> <A HREF="Modem-HOWTO.html#toc16.1">$B%b%G%`$,J*M}E*$K$OB8:_$9$k$N$K8!=P$G$-$^$;$s(B </A>
</H2>
<P> $BFbB"%b%G%`$r4{$K<h$jIU$1$?!"$"$k$$$O30IU$1%b%G%`$,$D$J$,$C$F$$$k%7(B
$B%j%"%k%]!<%H$,$o$+$i$J$$>l9g$O!"<!$N2]Bj$O%7%j%"%k%]!<%H$r8!=P$9$k$3$H(B
$B$G$9!#(B
<A HREF="#cant_find_port">$B%7%j%"%k%]!<%H$,J*M}E*$K$OB8:_$9(B $B$k$N$K8!=P$G$-$^$;$s(B</A> $B$r$4Mw$/$@$5$$!#$3$N@a$G$O!"%b%G%`$,@\B3$7$F$$(B
$B$k%7%j%"%k%]!<%H$r8!=P$9$k$3$H$K4X$7$F=R$Y$^$9!#(B</P>
<P>``wvdialconf'' $B$H$$$&;HMQCf$N%7%j%"%k%]!<%H$+$i%b%G%`$rC5$7=P$9%W%m%0(B
$B%i%`$,$"$j$^$9!#(B``<CODE>wvdialconf <a-new-file-name></CODE>'' $B$H$@$1%?%$(B
$B%W$7$F$/$@$5$$!#?7$7$$%U%!%$%k$r@_Dj%U%!%$%k$H$7$F$D$/$j$^$9!#$7$+$7!"(B
``wvdial'' $B$rEEOC$r$+$1$k$?$a$K;H$o$J$$8B$j!"$3$N%U%!%$%k$r;H$&I,MW$O(B
$B$"$j$^$;$s!#(B
<A HREF="Modem-HOWTO-9.html#wvdial_">wvdialconf $B$H$O(B?</A> $B$r$4Mw$/$@$5$$!#(B</P>
<P>Linux $B$G$O;H$($J$$%=%U%H%&%'%"%b%G%`$J$I$,860x$NLdBj$+$b$7$l$^$;$s!#(B
<A HREF="Modem-HOWTO-2.html#soft_modem">$B%=%U%H%&%'%"%b%G%`$NBgItJ,$OHr$1$k(B</A> $B$r$4Mw(B
$B$/$@$5$$!#(B``setserial'' $B$O%7%j%"%k%]!<%H$r8!=P$9$k$?$a$K;H$$$^$9$,!"%]!<(B
$B%H$K$D$J$,$C$F$$$k%b%G%`$N8!=P$O$7$^$;$s!#=>$C$F!"$^$:(B ``wvdialconf''
$B$r;n$9$N$,:G$bNI$$J}K!$G$9!#(B</P>
<P>$B%]!<%H>e$K%b%G%`$,$"$k$+$I$&$+3N$+$a$k$b$&$R$H$D$NJ}K!$O!"(B``minicom''
$B$r5/F0$9$k$3$H$G$9(B (<CODE>C-A O</CODE> $B$G@_Dj%a%K%e!<$X9T$-$^$9(B)$B!#(B``<CODE>AT</CODE>''
$B$H%?%$%W$9$k$H!"(B<CODE>OK</CODE> $B$HJV$C$F$/$k$O$:$G$9(B($B%j%6%k%H%3!<%I$r?t;z$GI=(B
$B<($7$F$$$k$J$i(B 0 $B$G$9(B)$B!#(B($B%+!<%=%k$r0\F0$9$k$@$1$N>l9g$r4^$_(B) $B1~Ez$,JV$C(B
$B$F$/$k$^$G$K;~4V$,$+$+$j$9$.$k$h$&$J$i!"(B
<A HREF="#slow_">$B$3$N>e$J(B $B$/CY$$(B: $B%F%-%9%H$,$9$4$/CY$l$F$f$C$/$j2hLL$KI=<($5$l$^$9(B</A> $B$r$4Mw$/$@(B
$B$5$$!#(B</P>
<H2><A NAME="ss16.2">16.2</A> <A HREF="Modem-HOWTO.html#toc16.2">56k $B%b%G%`$G(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$;$s!#$^$?!"%U%!%$%k$rA4$/:n$l$J$$>l9g$b$"$k$G(B
$B$7$g$&!#(B($B%b%G%`$N%G!<%?05=L$r;H$$$J$,$i(B) $BBg$-$JL505=L%U%!%$%k$d%&%'%V(B
$B%Z!<%8$r%@%&%s%m!<%I$7$F$$$k$H$-!"%U%m!<@)8f$,$J$$$?$a$K%@%&%s%m!<%I$b(B
$B$&$^$/$$$+$J$$$3$H$b$"$j$^$9!#(B</P>
<H2><A NAME="ss16.4">16.4</A> <A HREF="Modem-HOWTO.html#toc16.4">$B%@%$%d%k%$%s$N:]$K(B ``line NNN of inittab invalid'' $B$H=PB3$1$k(B</A>
</H2>
<P> <CODE>init</CODE> $B$N%P!<%8%g%s$K9g$C$?@5$7$$5-=RK!$r;H$C$F$$$k$3$H$r!"3N$+(B
$B$a$F$/$@$5$$!#(B<CODE>init</CODE> $B$K$h$j(B <CODE>/etc/inittab</CODE> $B$N5-=RK!$O0[$J$j(B
$B$^$9!#$^$?!"(B<CODE>getty</CODE> $B$N%P!<%8%g%s$K$"$C$?5-=RK!$rMQ$$$F$$$k$+!"3NG'(B
$B$7$F$/$@$5$$!#(B</P>
<H2><A NAME="ss16.5">16.5</A> <A HREF="Modem-HOWTO.html#toc16.5">``Id "S3" respawning too fast: disabled for 5 minutes'' $B$H=PB3$1$k(B</A>
</H2>
<P> Id ``S3'' $B$O$?$@$NNc$G$9!#$3$N>l9g$K$O!"(B<CODE>/etc/inittab</CODE> $B$N(B
``S3'' $B$G;O$^$k9T$r8+$F$/$@$5$$!#$3$N9T$,LdBj$r0z$-5/$3$7$F$$$^$9!#$3(B
$B$N9T$N5-=RJ}K!$,@5$7$$$+!"%G%P%$%9(B (<CODE>ttyS3</CODE>) $B$,B8:_$78+$D$1$i$l$k$+(B
$B$I$&$+!"3NG'$7$F$/$@$5$$!#(B</P>
<P>$B%b%G%`$,@5$7$/@_Dj$7$F$"$k$3$H$r3NG'$7$F$/$@$5$$!#(B<CODE>E</CODE> $B%l%8%9%?$H(B
<CODE>Q</CODE> $B%l%8%9%?$r8+$F$/$@$5$$!#I=Bj$K<($98=>]$O%b%G%`$,(B <CODE>getty</CODE> $B$H(B
$BDL?.$9$k:]$K5/$3$j$^$9!#(B</P>
<P>uugetty $B$r;H$C$F$$$k$N$J$i!"(B<CODE>/etc/gettydefs</CODE> $B$N5-=R$r!"0J2<$K<((B
$B$9$h$&$JJ}K!$G3N$+$a$F$/$@$5$$!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
linux# getty -c /etc/gettydefs
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P><CODE>uugetty</CODE> $B$N=i4|2=$K<:GT$9$k$H$-$K$b!"I=Bj$N8=>]$O5/$3$jF@$^$9!#(B
<A HREF="#nowork">uugetty $B$,$$$^$@$KF0:n$7$J$$(B</A> $B$N@a$r$4Mw$/$@$5(B
$B$$!#(B</P>
<H2><A NAME="ss16.6">16.6</A> <A HREF="Modem-HOWTO.html#toc16.6">$BC/$+$,EEOC$r@Z$C$?$"$H%b%G%`$,;_$^$k!"$"$k$$$O(B uugetty $B$,:F@8(B</A>
$B@.$7$J$$(B</H2>
<P> DTR $B?.9f$,@Z$l$?$H$-$K%b%G%`$,%j%;%C%H$5$l$J$$$H!"$3$N8=>]$,5/$-$^(B
$B$9!#(BGreg Hankins $B$5$s$O$3$N8=>]$,5/$-$?$H$-!"(BRD $B$H(B SD $B$N(B LED $B$,$*$+$7(B
$B$/$J$k$N$K5$IU$-$^$7$?!#%b%G%`$r%j%;%C%H$9$kI,MW$,$"$j$^$9!#B?$/$N(B
Hayes $B8_49%b%G%`$O(B <CODE>&D3</CODE> $B$G%j%;%C%H$r9T$$$^$9!#$7$+$7!"H`$N(B USR
Courier $B<R@=$N%b%G%`$O(B <CODE>&D2</CODE> $B$H(B <CODE>S13=1</CODE> $B$r;H$o$J$1$l$P9T$1$^(B
$B$;$s$G$7$?!#(B($B$b$7$"$k$J$i(B)$B%b%G%`$N%^%K%e%"%k$r3NG'$7$F$/$@$5$$!#(B</P>
<H2><A NAME="nowork"></A> <A NAME="ss16.7">16.7</A> <A HREF="Modem-HOWTO.html#toc16.7">uugetty $B$,$$$^$@$KF0:n$7$J$$(B </A>
</H2>
<P> <CODE>getty_ps</CODE> $B$K$O(B <CODE>DEBUG</CODE> $B%*%W%7%g%s$,$"$j$^$9!#@_Dj%U%!%$%k(B
<CODE>/etc/conf.{uu}getty.ttyS</CODE><EM>N</EM> $B$rJT=8$7!"(B<CODE>DEBUG=</CODE><EM>NNN</EM>
$B$rDI2C$7$F$/$@$5$$!#2?$r%G%P%C%0$9$k$N$+$K$h$C$F!"(B<EM>NNN</EM> $B$O0J2<$K5s(B
$B$2$k?t;z$NAH9g$o$;$K$J$j$^$9(B :</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
D_OPT 001 $B%*%W%7%g%s$N@_Dj(B
D_DEF 002 $B%G%U%)%k%H$N%U%!%$%k=hM}(B
D_UTMP 004 utmp/wtmp $B$N=hM}(B
D_INIT 010 $B2s@~$N=i4|2=(B (INIT)
D_GTAB 020 gettytab $B%U%!%$%k$N=hM}(B
D_RUN 040 $BB>$N<B9T;~?GCG(B
D_RB 100 $B%j%s%0%P%C%/(B-$B%G%P%C%0(B
D_LOCK 200 uugetty $B%m%C%/%U%!%$%k=hM}(B
D_SCH 400 $B%9%1%8%e!<%k=hM}(B
D_ALL 777 $B$9$Y$F(B
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B$^$:$O(B <CODE>DEBUG=010</CODE> $B$N@_Dj$,NI$$$G$7$g$&!#(B</P>
<P> <CODE>syslogd</CODE> $B$rF0$+$7$F$$$k$J$i!"%G%P%C%0>pJs$O%m%0%U%!%$%k$X=PNO(B
$B$5$l$^$9!#(B<CODE>syslogd</CODE> $B$rF0$+$7$F$$$J$$$J$i!"(B
<CODE>/tmp/getty:ttyS</CODE><EM>N</EM> $B$K(B<CODE>getty</CODE> $B%G%P%C%0;~$N>pJs$r=PNO$7$^(B
$B$9!#$=$7$F!"(B <CODE>uugetty</CODE> $B$O(B <CODE>/tmp/uugetty:ttyS</CODE><EM>N</EM> $B$H(B
<CODE>/var/adm/getty.log</CODE> $B$K:\$j$^$9!#%G%P%C%0>pJs$r8+$F2?$,5/$-$F$$(B
$B$k$N$+D4$Y$F$/$@$5$$!#62$i$/!"@_Dj%U%!%$%k$G$$$/$D$+$N%Q%i%a!<%?$rD4@0(B
$B$7!"%b%G%`$r:F@_Dj$9$kI,MW$,$"$j$^$9!#(B</P>
<P> <CODE>mgetty</CODE> $B$b;n$;$^$9!#$3$l$G$&$^$/$$$C$??M$b$$$^$9!#(B</P>
<H2><A NAME="ss16.8">16.8</A> <A HREF="Modem-HOWTO.html#toc16.8">$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="ss16.9">16.9</A> <A HREF="Modem-HOWTO.html#toc16.9">$BJ*M}E*$K$O%7%j%"%k%]!<%H$,$"$k$N$K!"8!=P$5$l$^$;$s(B</A>
</H2>
<P> ($B%b%G%`$J$I$N(B)$BAuCV$,%7%j%"%k%]!<%H>e$GF0:n$7$F$$$k$J$i!"L@$i$+$K%]!<(B
$B%H$r8!=P$G$-$F$$$^$9!#A4$/F0:n$7$J$$$J$i!"%7%j%"%k%]!<%H$r8!=P$G$-$k$h(B
$B$&$K!"<jEv$F$9$kI,MW$,$"$j$^$9!#(B</P>
<P>BIOS $B$N%a%K%e!<$H=PNO%a%C%;!<%8$r3NG'$7$^$7$g$&!#(BISA $B%P%9>e$N(B PnP $B%7%j(B
$B%"%k%]!<%H$N>l9g$K$O!"(B``<CODE>pnpdump --dumpregs</CODE>'' $B$r;n$7$?$j!"(B
Plug-and-Play-HOWTO $B$r$4Mw$K$J$C$F$/$@$5$$!#(BPCI $B%P%9$N>l9g$K$O(B
<CODE>lspci</CODE> $B$r;HMQ$7$F$/$@$5$$!#(Bsetserial $B$r;H$C$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2><A NAME="ss16.11">16.11</A> <A HREF="Modem-HOWTO.html#toc16.11">$B$J$<$+CY$$(B: $B$"$H?tG\$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$F$$$J$$$3$H$G$9!#(B
56k $B%b%G%`$O$[$H$s$I(B 56k $B$GF0:n$9$k$3$H$O$J$/!"$=$7$F%$%s%?!<%M%C%H$O(B
$B$H$-$K$OmUmT$r5/$7!"B.EY$rDc2<$5$;$k%\%H%k%M%C%/$,H/@8$7$^$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$G$9!#(B
<A HREF="Modem-HOWTO-15.html#uart_">UART $B$C$F2?$G$9$+(B?</A>$B$r;2>H$7!"(B``<CODE>setserial -g
/dev/ttyS*</CODE>'' $B$r;H$C$F$/$@$5$$!#$=$N7k2L$H$7$F(B 16550A $B$h$j@-G=$,$h(B
$B$/$J$$(B UART $B$,I=<($5$l$?$i!"$3$l$OB?J,@_Dj$NLdBj$G$9!#$3$N>l9g$O!"(B
``setserial'' $B$N@_Dj$KLdBj$,$"$l$P!"$3$l$rJQ99$7$^$9!#>\$7$/$O(B
<A HREF="Modem-HOWTO-9.html#set_serial">setserial $B$H$O2?$+(B?</A>$B$r8+$F$/$@$5$$!#EvA3$N$3$H(B
$B$G$9$,!"<B:]$O8E$$%7%j%"%k%]!<%H$r;H$C$F$$$k$N$K(B setserial $B$r$@$^$=$&(B
$B$H$7$F$b!"C1$K;vBV$,0-2=$9$k$@$1$G$9!#(B</P>
<H2><A NAME="ss16.12">16.12</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$B$r(B Linux $B$KCN$i$;$k$K$O!"(B<CODE>setserial</CODE> $B$r(B
$B;H$o$J$1$l$P$J$j$^$;$s!#(B</P>
<H2><A NAME="ss16.13">16.13</A> <A HREF="Modem-HOWTO.html#toc16.13">"Cannot open /dev/ttyS?: Permission denied" $B$H$$$&%(%i!<$,=P$^$9(B</A>
</H2>
<P> ``<CODE>ls -l </CODE>dev/ttyS?/'' $B$r<B9T$7$F$=$N%]!<%H$N%U%!%$%k$N%Q!<%_%C(B
$B%7%g%s$rD4$Y$F$_$^$7$g$&!#(B<CODE>ttyS?</CODE> $B$N=jM-<T$,<+J,$G$"$l$P!"FI$_=q$-(B
$B$N%Q!<%_%C%7%g%s$H$7$F(B <CODE>crw</CODE> $B$,I,MW$G$9!#:G=i$N7e$O(B <CODE>c</CODE> ($B%-%c%i(B
$B%/%?%G%P%$%9(B)$B$G$9!#%]!<%H$N=jM-<T$G$J$1$l$P!"(B8 $B7eL\$H(B 9 $B7eL\$,(B
<CODE>rw-</CODE> $B$G$J$1$l$P$J$j$^$;$s!#$D$^$jC/$G$b$=$N%]!<%H$rFI$_=q$-$G$-$J(B
$B$1$l$P$J$j$^$;$s!#%"%/%;%98"8B$rF@$kJ}K!$H$7$F$O!"%0%k!<%W%Q!<%_%C%7%g(B
$B%s$r;}$C$F$$$k!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="ss16.14">16.14</A> <A HREF="Modem-HOWTO.html#toc16.14">ttySx $B$K$D$$$F(B "Operation not supported by device"</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="Modem-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$$$N$K!"$=$N%b%8%e!<%k$O$5$C$-(B
$B%m!<%I$7$?$H(B ``<CODE>lsmod</CODE>'' $B$,I=<($9$k>l9g$O!"%b%8%e!<%k$O8=:_$O%m!<%I(B
$B$5$l$F$$$k$1$l$I!"%(%i!<$,=P$?$H$-$K$O%m!<%I$5$l$F$$$J$+$C$?$N$+$b$7$l$^(B
$B$;$s!#B?$/$N>l9g!"%b%8%e!<%k$OI,MW$J$H$-$K<+F0E*$K%m!<%I$5$l$^$9(B($B$b$78+(B
$B$D$1$k$3$H$,$G$-$l$P(B)$B!#(B``serial'' $B%b%8%e!<%k$r6/@)E*$K%m!<%I$5$;$k$K$O!"(B
<CODE>/etc/modules.conf</CODE> $B$^$?$O(B <CODE>/etc/modules</CODE> $B$K5-=R$7$F$*$-(B
$B$^$9!#%b%8%e!<%k$=$N$b$N$O(B <CODE>/lib/modules/.../misc/serial.o</CODE> $B$K(B
$B$"$k$O$:$G$9!#(B</P>
<H2><A NAME="ss16.15">16.15</A> <A HREF="Modem-HOWTO.html#toc16.15">"Cannot create lockfile. Sorry"</A>
</H2>
<P> $B2?$i$+$N%W%m%0%i%`$,%]!<%H$r!V%*!<%W%s!W$9$k$H$-!"%m%C%/%U%!%$%k$,(B
<CODE>/var/lock/</CODE> $B$K:n$i$l$^$9!#(B<CODE>lock</CODE> $B%G%#%l%/%H%j$N%Q!<%_%C%7%g(B
$B%s$,4V0c$C$F$$$k$H!"$3$3$K%m%C%/%U%!%$%k$r:n$l$^$;$s!#%Q!<%_%C%7%g%s$,(B
$B@5$7$$$+$I$&$+$r3NG'$9$k$K$O(B ``<CODE>ls -ld /var/lock</CODE>'' $B$r;H$$$^$9!#(B
$BIaDL$OA40w$KBP$7$F(B<CODE>rwx</CODE> $B$G$9(B(<CODE>rwx</CODE> $B$,(B 3 $BEY7+$jJV$5$l$^$9(B)$B!#%Q!<(B
$B%_%C%7%g%s$,4V0c$C$F$$$k>l9g$K$O!"(B``<CODE>chmod</CODE>'' $B%3%^%s%I$r;H$C$F=$@5(B
$B$7$^$9!#$b$A$m$s!"(B``<CODE>lock</CODE>'' $B%G%#%l%/%H%j$,$J$1$l$P!"$=$3$K%m%C%/%U%!(B
$B%$%k$r:n$k$3$H$O$G$-$^$;$s!#%m%C%/%U%!%$%k$K4X$9$k!"$h$j>\$7$$>pJs$K$D(B
$B$$$F$O(B Serial-HOWTO $B$N!V%m%C%/%U%!%$%k$H$O2?$G$9$+(B?$B!W$N@a$r$4Mw$/$@$5(B
$B$$!#(B</P>
<P>[$BLuCm(B : $B%Q!<%_%C%7%g%s$r@_Dj$9$k$K$O(B <CODE>chmod 1777
/var/lock</CODE> $B$r<B9T$7$F$/$@$5$$!#>\:Y$O(B chmod(1) $B$r$4Mw$/$@$5$$!#(B</P>
<P>JF $B%W%m%8%'%/%H$K$h$kF|K\8lLu(B
<A HREF="http://www.linux.or.jp/JF/JFdocs/Serial-HOWTO.html">Serial-HOWTO</A> ]</P>
<H2><A NAME="ss16.16">16.16</A> <A HREF="Modem-HOWTO.html#toc16.16">"Device /dev/ttyS? is locked."</A>
($B%G%P%$%9(B /dev/ttyS? $B$,%m%C%/$5$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j$^$;$s!#$7$+$7!"(Bsetserial $B$,8m$C$?3d9~$_(B
$B$r@_Dj$7$F$$$k$N$J$i!"(B<CODE>ttyS2</CODE> $B$r;H$($J$$M}M3$O$J$$$G$7$g$&!#$?$@$7!"(B
$B>WFM$r4V0c$C$FEA$($k$h$&$J(B setserial $B$O=|$-$^$9!#5/F0%a%C%;!<%8$r8+$F!"(B
<CODE>ttyS2</CODE> $B$,;HMQ$7$F$$$k$H(B setserial $B$,9M$($F$$$k3d9~$_$rCN$kI,MW$,$"(B
$B$j$^$9(B (setserial $B$O%(%i!<%a%C%;!<%8(B ``device busy'' $B$r=P$9$N$G!"@5>o(B
$B$K$OF0:n$7$J$$$G$7$g$&(B)$B!#$=$7$F!"$3$N3d9~$_$rB>$N%G%P%$%9$,;H$C$F$$$J(B
$B$$$+!"$"$k$$$O%O!<%I%&%'%"$G@_Dj$7$F$$$k3d9~$_$HEy$7$$$+$I$&$+!"3N$+$a(B
$B$F$/$@$5$$!#(B</P>
<H2><A NAME="ss16.18">16.18</A> <A HREF="Modem-HOWTO.html#toc16.18">$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:</P>
<P>
<UL>
<LI> ``<CODE>lsof /dev/ttyS*</CODE>'' $B$O3+$$$F$$$k%7%j%"%k%]!<%H$rI=<($7(B
$B$^$9!#(B</LI>
<LI> ``setserial'' $B$O(B($B%I%i%$%P$,B8:_$9$k$H9M$($?(B)$B%]!<%H$NDc%l%Y%k%O!<(B
$B%I%&%'%"@_Dj$NI=<($H@_Dj$r9T$$$^$9!#(B
<A HREF="Modem-HOWTO-9.html#set_serial">setserial $B$H$O2?$G$9$+(B</A> $B$r$4Mw$/$@$5$$!#(B</LI>
<LI> ``stty'' $B$O(B (``setserial'' $B$,07$&ItJ,$r=|$-(B) $B%]!<%H$r@_Dj$7!"I=(B
$B<($7$^$9!#(BSerial-HOWTO $B$N(B ``stty'' $B$N@a$r$4Mw$/$@$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$N3d9~$_$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(B PCI $B%P%9>e$N%O!<%I%&%'%"$K<B:]$K@_Dj$5$l$F$$$k(B IRQ
$B$J$I$rI=<($7$^$9!#(B</LI>
<LI> ``pnpdump --dumpregs'' $B$O(B ISA $B%P%9>e$N(B PnP $B%G%P%$%9$K$D$$$F!"%O!<(B
$B%I%&%'%"Cf$K<B:]$K@_Dj$5$l$F$$$k(B IRQ $B$rI=<($7$^$9!#(B</LI>
<LI> <CODE>/proc</CODE> $B$K$"$k(B (<CODE>ioports</CODE>, <CODE>interrupts</CODE> $B$J$I$N(B)
$B!V%U%!%$%k!W!#(B</LI>
</UL>
</P>
<HR>
<A HREF="Modem-HOWTO-17.html">$B<!$N%Z!<%8(B</A>
<A HREF="Modem-HOWTO-15.html">$BA0$N%Z!<%8(B</A>
<A HREF="Modem-HOWTO.html#toc16">$BL\<!$X(B</A>
</BODY>
</HTML>
|