/usr/share/doc/HOWTO/ja-html/Serial-HOWTO-3.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 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 | <!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%7%j%"%k%]!<%H$N4pAC(B </TITLE>
<LINK HREF="Serial-HOWTO-4.html" REL=next>
<LINK HREF="Serial-HOWTO-2.html" REL=previous>
<LINK HREF="Serial-HOWTO.html#toc3" REL=contents>
</HEAD>
<BODY>
<A HREF="Serial-HOWTO-4.html">$B<!$N%Z!<%8(B</A>
<A HREF="Serial-HOWTO-2.html">$BA0$N%Z!<%8(B</A>
<A HREF="Serial-HOWTO.html#toc3">$BL\<!$X(B</A>
<HR>
<H2><A NAME="basics_"></A> <A NAME="s3">3.</A> <A HREF="Serial-HOWTO.html#toc3">$B%7%j%"%k%]!<%H$N4pAC(B </A></H2>
<P>$B%7%j%"%k%]!<%H$r;H$&$@$1$J$i4pAC$rM}2r$9$kI,MW$O$"$j$^$;$s$,!"4pAC(B
$B$rM}2r$7$F$*$1$P!"LdBj$,5/$-$?:]$K860x$rFCDj$9$kLr$KN)$D$+$b$7$l$^$;$s!#(B
$B$3$N>O$O?7$7$$OCBj$K$D$$$F=R$Y$k$@$1$G$J$/!"A0$N>O(B(
<A HREF="Serial-HOWTO-2.html#how_hdw_xfers">$B%O!<%I%&%'%"$K$h$k%P%$%H%G!<%?$NE>Aw$N;EJ}(B</A>
$B$NFbMF$N0lIt$b7+$jJV$7$^$9!#$?$@$7!"$3$A$i$N>O$G$O$:$C$H>\$7$$@bL@$r9T(B
$B$$$^$9!#(B</P>
<H2><A NAME="ss3.1">3.1</A> <A HREF="Serial-HOWTO.html#toc3.1">$B%7%j%"%k%]!<%H$H$O2?$+(B?</A>
</H2>
<H3>$B%7%j%"%kF~Lg(B</H3>
<P>$B%7%j%"%k%]!<%H$O(B I/O ($BF~=PNO(B)$B%G%P%$%9$G$9!#(B</P>
<P>I/O $B%G%P%$%9$O%3%s%T%e!<%?$K%G!<%?$r=P$7F~$l$9$k$?$a$NJ}K!$G$9!#(BI/O $B%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N@~$b$"$j$^$9!#(B
$B>\$7$/$O(B
<A HREF="Serial-HOWTO-16.html#pinout_">$B%T%sG[CV$H?.9f(B</A> $B$N>O$r$4Mw$/$@$5$$!#(B</P>
<H3>RS-232 $B$d(B EIA-232 $BEy(B</H3>
<P>(USB $B$G$O$J$$(B)$B%7%j%"%k%]!<%H$N5,3J$OIaDL(B RS-232-C, EIA-232-D,
EIA-232-E $B$N$$$:$l$+$G$9!#$3$N(B 3 $B$D$O$[$H$s$IF1$8$b$N$G$9!#(B
$B$b$H$b$HF,$KIU$$$F$$$?(B RS(Recommended Standard)$B$,(B EIA
(Electronics Industries Association)$B$H$J$j!"(BEIA $B$H(B TIA
(Telecommunications Industries Association) $B$,9gJ;$7$?8e$K(B EIA/TIA $B$H(B
$B$J$j$^$7$?!#(BEIA-232 $B$N;EMM$K$OF14|DL?.$b=q$+$l$F$$$^$7$?$,!"F14|$KBP1~(B
$B$9$k$?$a$N%O!<%I%&%'%"$O(B PC $B$K$O$[$H$s$I$D$$$F$$$^$;$s!#(B
RS $B$H$$$&8F>N<+BN$O2a5n$N$b$N$H$J$j$^$7$?$,!":#$G$b9-$/;H$o$l$F$$$^$9!#(B
$BK\(B HOWTO $BJ8=q$G$O(B EIA $B$H$$$&I=5-$r;H$$$^$9$,!"J8=q$K$h$C$F$O40A4$JI=5-(B
$B$G$"$k(B EIA/TIA$B$r;H$C$F$$$k$b$N$b$"$j$^$9!#(B
$B$3$l0J30$N(B(EIA-232 $B0J30$N(B)$B%7%j%"%k%]!<%H$K$D$$$F$O!"(B
<A HREF="Serial-HOWTO-18.html#non_rs232">$BB>$N%7%j%"%k%G%P%$%9(B ($BHsF14|(B EIA-232 $B$G$J$$$b$N(B)</A>
$B$N>O$r$4Mw$/$@$5$$!#(B</P>
<H2><A NAME="ss3.2">3.2</A> <A HREF="Serial-HOWTO.html#toc3.2">I/O $B%"%I%l%9$H(B IRQ</A>
</H2>
<P>$B%3%s%T%e!<%?$O$=$l$>$l$N%7%j%"%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B$r65$($l$P!"<!$NI=<($O:G=i$NI=<($K;w$F$$$^$9$,!"(BIRQ $BEy$,@5$7$/$J$C(B
$B$F$$$k$O$:$G$9!#(B<CODE>setserial</CODE> $B$N>\:Y$K$D$$$F$O(B
<A HREF="Serial-HOWTO-8.html#set_serial">setserial $B$H$O2?$+(B?</A>$B$r$4Mw$/$@$5$$!#(B</P>
<P>$B%+!<%M%k$N%=!<%9%3!<%I$rJT=8$7$F%I%i%$%P$r=$@5$9$k$3$H$,$G$-$^$9!#%7%j(B
$B%"%k%I%i%$%P$NBgItJ,$O(B serial.c $B%U%!%$%k$K$"$j$^$9!#%7%j%"%k%]!<%H$r;H(B
$B$&%W%m%0%i%`$N>\$7$$=q$-J}$K$D$$$F$O!"(BSerial-Programming-HOWTO
$B$r$4Mw$/$@$5$$(B($B8=:_(B Vern Hoxie $B$5$s$,2~D{Cf$G$9(B)$B!#(B</P>
<HR>
<A HREF="Serial-HOWTO-4.html">$B<!$N%Z!<%8(B</A>
<A HREF="Serial-HOWTO-2.html">$BA0$N%Z!<%8(B</A>
<A HREF="Serial-HOWTO.html#toc3">$BL\<!$X(B</A>
</BODY>
</HTML>
|