This file is indexed.

/usr/share/doc/HOWTO/ja-html/Serial-HOWTO-7.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
<!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%G%P%$%9(B: /dev/ttyS2 $BEy(B </TITLE>
 <LINK HREF="Serial-HOWTO-8.html" REL=next>
 <LINK HREF="Serial-HOWTO-6.html" REL=previous>
 <LINK HREF="Serial-HOWTO.html#toc7" REL=contents>
</HEAD>
<BODY>
<A HREF="Serial-HOWTO-8.html">$B<!$N%Z!<%8(B</A>
<A HREF="Serial-HOWTO-6.html">$BA0$N%Z!<%8(B</A>
<A HREF="Serial-HOWTO.html#toc7">$BL\<!$X(B</A>
<HR>
<H2><A NAME="ttySN_"></A> <A NAME="s7">7.</A> <A HREF="Serial-HOWTO.html#toc7">$B%7%j%"%k%]!<%H%G%P%$%9(B: /dev/ttyS2 $BEy(B </A></H2>

<P>$B%G%P%$%9%G%#%l%/%H%j$K%G%P%$%9$r:n@.$9$kJ}K!$K$D$$$F$O(B
<A HREF="#create_dev">/dev $B%G%#%l%/%H%j$K$*$1$k%G%P%$%9$N:n@.J}K!(B</A>
$B$r$4Mw$/$@$5$$!#(B</P>

<H2><A NAME="dev_nos"></A> <A NAME="ss7.1">7.1</A> <A HREF="Serial-HOWTO.html#toc7.1">$B%7%j%"%k%]!<%H%G%P%$%9$NL>A0$HHV9f(B </A>
</H2>

<P>Linux $B$N%G%P%$%9$O%a%8%c!<HV9f$H%^%$%J!<HV9f$r;}$C$F$$$^$9!#%7%j%"(B
$B%k%]!<%H$O$=$l$>$l!"(B/dev $B%G%#%l%/%H%j$G(B 2 $B$D$NL>A0$r;}$D2DG=@-$,$"$j$^(B
$B$9!#$9$J$o$A(B ttyS $B$H(B cua $B$G$9!#$3$l$i$N%I%i%$%P$O>/$70[$J$C$?F0:n$r$7(B
$B$^$9!#(Bcua $B%G%P%$%9$O;H$o$J$$$3$H$,4+$a$i$l$F$*$j!">-Mh$O;H$o$l$J$/$J$j(B
$B$^$9!#(BModem-HOWTO $B$N!V(Bcua $B%G%P%$%9!W$N>O$r$4Mw$/$@$5$$!#(B</P>
<P>DOS/Windows $B$O(B COM $B$H$$$&L>A0$r;H$$$^$9$,!"(B<CODE>setserial</CODE> $B%W%m%0%i%`$G(B
$B$O(B tty00, tty01 $B$H$$$C$?L>A0$r;H$$$^$9!#$3$l$i$r(B dev/tty0, dev/tty1 $BEy(B
$B$H:.F1$7$J$$$G$/$@$5$$!#(Bdev/tty0 $BEy$O%3%s%=!<%k%G%P%$%9(B(PC $B$N%b%K%?(B)$B$N(B
$BL>A0$G$"$j!"%7%j%"%k%]!<%H$G$O$"$j$^$;$s!#(B
$B0J2<$NI=$O%"%I%l%9$N!VI8=`E*$J!WBP1~$r<($7$^$9(B($BFI<T$N3'$5$s$N>l9g$O0[$J$k(B
$B$+$b$7$l$^$;$s(B)$B!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
                                                           I/O
 DOS            $B%a%8%c!<(B $B%^%$%J!<(B        $B%a%8%c!<(B $B%^%$%J!<(B $B%"%I%l%9(B
COM1  /dev/ttyS0   4,      64;  /dev/cua0   5,      64      3F8
COM2  /dev/ttyS1   4,      65;  /dev/cua1   5,      65      2F8
COM3  /dev/ttyS2   4,      66;  /dev/cua2   5,      66      3E8
COM4  /dev/ttyS3   4,      67;  /dev/cua3   5,      67      2E8
</PRE>
</CODE></BLOCKQUOTE>

$BA4$F$N%G%#%9%H%j%S%e!<%7%g%s$K(B ttyS $B%G%P%$%9$,IU$$$F$$$k$O$:(B($BB?$/$N(B
$B%G%#%9%H%j%S%e!<%7%g%s$K$O8E$$(B cua $B%G%P%$%9$b$"$k$O$:(B)$B$G$"$kE@$KCm0U$7(B
$B$F$/$@$5$$!#$3$l$O0J2<$N%3%^%s%I$r<B9T$9$l$P3N$+$a$i$l$^$9(B($B8E$$(B cua
$B%G%P%$%9$,$J$/$F$b?4G[$9$kI,MW$O$"$j$^$;$s(B):</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
linux% ls -l /dev/cua*
linux% ls -l /dev/ttyS*
</PRE>
</CODE></BLOCKQUOTE>
</P>

<H2><A NAME="ss7.2">7.2</A> <A HREF="Serial-HOWTO.html#toc7.2">ttySN $B$+$i(B /dev/modem $B$K%j%s%/$rD%$k$Y$-$+$I$&$+(B</A>
</H2>

<P>$B0lIt$N%$%s%9%H!<%i$O(B 2 $B$D$NDI2C%G%P%$%9$r:n$j$^$9!#$9$J$o$A(B
$B%b%G%`MQ$N(B <CODE>/dev/modem</CODE> $B$H%^%&%9MQ$N(B <CODE>/dev/mouse</CODE> $B$G$9!#(B
$B$I$A$i$b(B <CODE>/dev</CODE> $B%G%#%l%/%H%j$K$"$kE,@Z$J%G%P%$%9$X$N%7%s%\%j%C(B
$B%/%j%s%/$G$9!#$3$N%j%s%/@h$N%G%P%$%9$O%$%s%9%H!<%k;~$KA*Br$5$l$F$$$^$9(B
($B$?$@$7%P%9%^%&%9$N>l9g$O$3$N8B$j$G$O$J$/!"(B<CODE>/dev/mouse</CODE> $B$O%P%9(B
$B%^%&%9$N%G%P%$%9$X$N%j%s%/$H$J$j$^$9(B)$B!#(B</P>
<P><CODE>/dev/mouse</CODE> $B$H(B <CODE>/dev/modem</CODE> $B$NMxE@$K$D$$$F$O!"2a5n$K(B
$B2?EY$b5DO@$,$"$j$^$7$?!#$3$l$i$N%j%s%/$N;HMQ$O$*4+$a$G$-$^$;$s!#FC$K!"(B
$B%b%G%`$r%@%$%"%k%$%sMQ$K;H$*$&$H9M$($F$$$k>l9g$K$O!"(B
<CODE>/dev/modem</CODE> $B$rMQ$$$k$H%m%C%/%U%!%$%k$,@5$7$/F0:n$7$J$$$3$H$,$"(B
$B$j!"LdBj$,5/$-$k$+$b$7$l$^$;$s!#$7$+$7!"%j%s(B
$B%/$rD%$jD>$7$?$j:o=|$7$?>l9g$K$O!"0lIt$N%"%W%j%1!<%7%g%s$O:F@_Dj$,I,MW(B
$B$K$J$k$+$b$7$l$^$;$s!#(B</P>

<H2><A NAME="ss7.3">7.3</A> <A HREF="Serial-HOWTO.html#toc7.3">$B%^%k%A%]!<%H%\!<%I$K4X$9$kCm0U(B</A>
</H2>

<P>$B%\!<%I$N(B $B%"%I%l%9$H(B IRQ $B$K$D$$$F$O!"(B<CODE>setserial</CODE> $B%W%m%0%i%`$KIUB0$7(B
$B$F$$$k(B <CODE>rc.serial</CODE> $B$d(B <CODE>/etc/rc.boot/0setserial</CODE> $B$r8+$F$/$@$5(B
$B$$!#%^%k%A%]!<%H%\!<%I$K$D$$$F$O(B I/O $B%"%I%l%9$d%G%P%$%9L>$r4^$`:Y$+$$(B
$BOC$,$?$/$5$s$"$j$^$9!#(B</P>

<H2><A NAME="create_dev"></A> <A NAME="ss7.4">7.4</A> <A HREF="Serial-HOWTO.html#toc7.4">/dev $B%G%#%l%/%H%j$K$*$1$k%G%P%$%9$N:n@.J}K!(B </A>
</H2>

<P>$B%G%P%$%9$,B8:_$7$J$1$l$P!"(B<CODE>mknod</CODE> $B%3%^%s%I$r;H$C$F$3$l$r:n@.$7$J$1(B
$B$l$P$J$i$J$$$G$7$g$&!#Nc$($P(B <CODE>ttyS0</CODE> $B$KBP$9$k%G%P%$%9$r:n@.$9$kI,MW(B
$B$,$"$k$H$7$^$9(B:
<BLOCKQUOTE><CODE>
<PRE>
linux# mknod -m 666 /dev/cua0 c 5 64 (cua $B%G%P%$%9$O4{$K2a5n$N$b$N$G$9(B)
linux# mknod -m 666 /dev/ttyS0 c 4 64
</PRE>
</CODE></BLOCKQUOTE>

<CODE>MAKEDEV</CODE> $B%9%/%j%W%H$r;H$&$3$H$b$G$-$^$9!#$3$N%9%/%j%W%H$O(B
<CODE>/dev</CODE> $B%G%#%l%/%H%j$K$"$j$^$9!#(B
$B%^%K%e%"%k%Z!<%8$r8+$F$/$@$5$$!#(B
$B$3$N%9%/%j%W%H$r;H$&$H!"%G%P%$%9$r4JC1$K:n@.$G$-$^$9!#(B
$BNc$($P(B <CODE>ttyS0</CODE> $B$KBP1~$9$k%G%P%$%9$r:n$kI,MW$,$"$k>l9g$K$O!"(B
$B0J2<$N%3%^%s%I$r<B9T$7$^$9(B:
<BLOCKQUOTE><CODE>
<PRE>
linux# cd /dev
linux# ./MAKEDEV ttyS0
</PRE>
</CODE></BLOCKQUOTE>

$B$3$N%9%/%j%W%H$O%G%P%$%9$N:n@.=hM}$H@5$7$$%Q!<%_%C%7%g%s$N@_Dj$r9T$$$^(B
$B$9!#(B</P>

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