/usr/share/doc/HOWTO/ja-html/Printing-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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>The Linux Printing HOWTO: ¥«¡¼¥Í¥ë¤Î¥×¥ê¥ó¥¿¥Ç¥Ð¥¤¥¹</TITLE>
<LINK HREF="Printing-HOWTO-4.html" REL=next>
<LINK HREF="Printing-HOWTO-2.html" REL=previous>
<LINK HREF="Printing-HOWTO.html#toc3" REL=contents>
</HEAD>
<BODY>
<A HREF="Printing-HOWTO-4.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Printing-HOWTO-2.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Printing-HOWTO.html#toc3">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s3">3. ¥«¡¼¥Í¥ë¤Î¥×¥ê¥ó¥¿¥Ç¥Ð¥¤¥¹</A></H2>
<P>¥Ñ¥é¥ì¥ë¥Ý¡¼¥È¤Î¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤Ï¡¢Á´¤¯°Û¤Ê¤ë¤â¤Î¤¬Æó¤Ä¸ºß¤·¤Æ¤¤¤Þ¤¹¡£
¤¢¤Ê¤¿¤¬¤É¤Á¤é¤ò¤ª»È¤¤¤«¤Ï¡¢
¤½¤Î¥«¡¼¥Í¥ë¤Î¥Ð¡¼¥¸¥ç¥ó (<CODE>uname -a</CODE> ¤È¥³¥Þ¥ó¥É¤òÂǤƤФ狼¤ê¤Þ¤¹)
¤Ë¤è¤ê¤Þ¤¹¡£
¥É¥é¥¤¥Ð¤ÎÊѹ¹¤Ï Linux 2.1.33 ¤Ç¹Ô¤ï¤ì¤Þ¤·¤¿¡£
<P>¤³¤ì¤éÆó¤Ä¤Î¥É¥é¥¤¥Ð¤Ë¤Ï»÷¤Æ¤¤¤ë¤È¤³¤í¤â¤¢¤ê¤Þ¤¹¡£
Æä˵¤¤ò¤Ä¤±¤Æ¤ª¤¯¤Ù¤¤Ï¡¢PC BIOS ¤Î "Plug and Play" ¤ò̵¸ú¤Ë¤·¤Æ¤ª¤«¤Ê¤¤¤È¡¢
Linux ¤Ï¥Ñ¥é¥ì¥ë¥Ý¡¼¥È¤ò¸¡ÃΤ·¤Ê¤¤¡¢¤È¤¤¤¦¤³¤È¤Ç¤·¤ç¤¦
(¶Ã¤¯¤³¤È¤¸¤ã¤¢¤ê¤Þ¤»¤ó¡£ Windows ¤Ê¤É¤Ç¤ÎÈó PCI ¥Ç¥Ð¥¤¥¹¤Î
PnP ÀܳÄÉÀ×¾ðÊó¤Ï¤¢¤ë°ÕÌ£ºÒÌñ¤Ç¤·¤¿¤«¤é...)¡£
<P>
<H2><A NAME="ss3.1">3.1 lp ¥Ç¥Ð¥¤¥¹ (2.1.32 °ÊÁ°)</A>
</H2>
<P>2.1.32 °ÊÁ°¤Î¥«¡¼¥Í¥ë¤Ç¤Ï¡¢lp ¥Ç¥Ð¥¤¥¹¤òÁȤ߹þ¤à¤«¥í¡¼¥É¤·¤Æ¤ª¤±¤Ð
(¥í¡¼¥É¤µ¤ì¤Æ¤ì¤Ð <CODE>cat /proc/devices</CODE> ¤Î½ÐÎϤË
lp ¥Ç¥Ð¥¤¥¹¤¬Æþ¤ë¤Ï¤º)¡¢
<EM>/dev/lp0</EM>, <EM>/dev/lp1</EM>, <EM>/dev/lp2</EM>
¤Î¤¦¤Á¤Î¤É¤ì¤« (¤¢¤ë¤¤¤ÏÊ£¿ô¸Ä) ¤¬»È¤¨¤Þ¤¹¡£
¤³¤ì¤é¤Î¥Ç¥Ð¥¤¥¹¤ÏưŪ¤Ë³ä¤êÅö¤Æ¤é¤ì¤ë¤â¤Î¤Ç¤Ï *¤¢¤ê¤Þ¤»¤ó*¡£
¤½¤¦¤Ç¤Ï¤Ê¤¯¡¢¤½¤ì¤¾¤ì¤¬ÆÃÄê¤Î¥Ï¡¼¥É¥¦¥§¥¢ I/O ¥¢¥É¥ì¥¹¤Ë
´ØÏ¢¤Å¤±¤é¤ì¤Æ¤¤¤ë¤Î¤Ç¤¹¡£¤Ä¤Þ¤ê°ìÈÖÌܤËÀܳ¤·¤¿¥×¥ê¥ó¥¿¤¬
<EM>lp0</EM> ¤È¤Ê¤ë¤« <CODE>lp1</CODE> ¤È¤Ê¤ë¤«¤Ï¥Ï¡¼¥É¥¦¥§¥¢¤·¤À¤¤¤Ç¤¹¡£
ξÊý»î¤·¤Æ¤ß¤Þ¤·¤ç¤¦¡£
<P>²¿¿Í¤«¤Î¥æ¡¼¥¶¤«¤é¤ÎÊó¹ð¤Ë¤è¤ì¤Ð¡¢Ã±Êý¸þ (unidirectional) ÍѤθŤ¤
¥×¥ê¥ó¥¿¥±¡¼¥Ö¥ë¤ò»È¤Ã¤Æ¤¤¤ë¤È¡¢ÁÐÊý¸þ (bidirectional) ¤Î lp ¥Ý¡¼¥È¤¬
ǧ¼±¤µ¤ì¤Ê¤¤¤³¤È¤¬¤¢¤ë¤½¤¦¤Ç¤¹¡£¤Á¤ã¤ó¤È¤·¤¿¥±¡¼¥Ö¥ë¤ò»È¤Ã¤Æ¤¤¤ë¤«
³Î¤«¤á¤Æ¤ª¤¤Þ¤·¤ç¤¦¡£
<P>plip ¥É¥é¥¤¥Ð¤È lp ¥É¥é¥¤¥Ð¤Ï¡¢°ì¤Ä¤Î¥Ý¡¼¥È¤ËƱ»þ¤Ë»È¤¦¤³¤È¤Ï
¤Ç¤¤Þ¤»¤ó (2.0 °Ê²¼¤Ç¤Ï)¡£¤·¤«¤·¡¢É¬Íפ˱þ¤¸¤Æ
¤É¤Á¤é¤«¤Î¥É¥é¥¤¥Ð¤òÁªÂò¤·¤Æ¥í¡¼¥É¤¹¤ë¤³¤È¤Ï²Äǽ¤Ç¤¹¡£
¤³¤ì¤Ï¼êÆ°¤Ç¡¢¤¢¤ë¤¤¤Ï 2.x (µÚ¤Ó 1.3.x ¤Î¸å´ü) ¥«¡¼¥Í¥ë¤Ê¤é kerneld
¤ò»È¤Ã¤Æ¹Ô¤¦¤³¤È¤¬¤Ç¤¤Þ¤¹¡£³ä¤ê¹þ¤ß¤Ê¤É¤òÃí°Õ¿¼¤¯ÀßÄꤹ¤ì¤Ð¡¢
¤ª¤½¤é¤¯ plip ¤ò°ì¤Ä¤Î¥Ý¡¼¥È¤Ç¡¢ lp ¤òÊ̤Υݡ¼¥È¤ÇÆ°ºî¤µ¤»¤ë¤³¤È¤¬
²Äǽ¤Ç¤·¤ç¤¦¡£¤³¤¤¤Ä¤ò¤¦¤Þ¤¤¤³¤È¥³¥Þ¥ó¥É¥é¥¤¥ó¤À¤±¤ÇÀ®¸ù¤µ¤»¤¿Î㤬
¤¢¤ë¤è¤¦¤Ê¤é¡¢»ä¤Ï¤½¤ÎÏ䬤ȤƤâʹ¤¤¿¤¤¤Ç¤¹¡£
<P>¤µ¤Æ¡¢À¤¤ÎÃæ¤Ë¤Ï
<A HREF="http://www.linux.or.jp/JM/html/util-linux/man8/tunelp.8.html">tunelp</A> ¤È¤¤¤¦¾®¤µ¤Ê¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬¤¢¤ê¤Þ¤¹¡£
¤³¤ì¤ò root ¸¢¸Â¤ÇÍѤ¤¤ì¤Ð¡¢
Linux 2.0 lp ¥Ç¥Ð¥¤¥¹¤ËÂФ·¤Æ¡¢
³ä¤ê¹þ¤ß¤ÎÍøÍÑË¡¤ä¥Ý¡¼¥ê¥ó¥°¥ì¡¼¥È¤Ê¤É¤Î¥ª¥×¥·¥ç¥ó¤ò
Ä´À°¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
<P>lp ¥É¥é¥¤¥Ð¤¬¥«¡¼¥Í¥ë¤ËľÀÜÁȤ߹þ¤Þ¤ì¤Æ¤¤¤ë¤È¤¤Ï¡¢
¥«¡¼¥Í¥ë¤Ï <CODE>lp=</CODE> ¥ª¥×¥·¥ç¥ó¤ò¼õ¤±ÉÕ¤±¤ë¤è¤¦¤Ë¤Ê¤ê¡¢
¥É¥é¥¤¥Ð¤¬ÍøÍѤ¹¤ë³ä¤ê¹þ¤ß¤È I/O ¥¢¥É¥ì¥¹¤òÀßÄê¤Ç¤¤Þ¤¹¡£
Î㤨¤Ð LILO ¤ä LOADLIN ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤òÍѤ¤¤Æ¡¢¥É¥é¥¤¥Ð¤Î»È¤¦
¥Ý¡¼¥È¥¢¥É¥ì¥¹¤È³ä¤ê¹þ¤ß¤òÀßÄê¤Ç¤¤Þ¤¹¡£
<P>
<BLOCKQUOTE><CODE>
<PRE>
½ñ¼°: lp=port0[,irq0[,port1[,irq1[,port2[,irq2]]]]]
Îã; lp=0x378,0 ¤Þ¤¿¤Ï lp=0x278,5,0x378,7 ¤Ê¤É¡£
</PRE>
</CODE></BLOCKQUOTE>
<P>¤³¤Îµ¡Ç½¤ò»È¤Ã¤¿¤È¤¤Ï¡¢É¬ÍפȤʤë¥Ý¡¼¥È¤ò *¤¼¤ó¤Ö* »ØÄê
¤·¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£¥Ç¥Õ¥©¥ë¥È¤Ç͸ú¤È¤Ê¤ë¥Ý¡¼¥È¤Ï¤¢¤ê¤Þ¤»¤ó¡£
¤Ê¤ª lp=0 ¤È¤¹¤ì¤ÐÁȤ߹þ¤ß¤Î¥É¥é¥¤¥Ð¤ò̵¸ú¤Ë¤¹¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£
<P>¥â¥¸¥å¡¼¥ë¤È¤·¤Æ¥í¡¼¥É¤µ¤ì¤ë¾ì¹ç¤Ë¤Ï¡¢
I/O ¥¢¥É¥ì¥¹¤È³ä¤ê¹þ¤ß¤ò insmod ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤é
(¤¢¤ë¤¤¤Ï <EM>/etc/conf.modules</EM> ¤Ç kerneld ¤ËÀßÄꤷ¤Æ)
Ä̾ï¤Î¥â¥¸¥å¡¼¥ë°ú¿ô¤Î»ØÄêÊýË¡¤ÇÀßÄê¤Ç¤¤Þ¤¹¡£
¥Ñ¥é¥á¡¼¥¿¤Ï <CODE>io=port0,port1,port2</CODE> ¤È <CODE>irq=irq0,irq1,irq2</CODE> ¤Ç¤¹¡£
¤è¤ê¾Ü¤·¤¤¤³¤È¤òÃΤꤿ¤¤¾ì¹ç¤Ï <CODE>insmod</CODE> ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò
Æɤó¤Ç¤¯¤À¤µ¤¤¡£
<P>
<P>ɬÍפʤȤ¤Ëɸ½à¤Î¥Ý¡¼¥ÈÈÖ¹æ¤ò»×¤¤½Ð¤»¤Ê¤¤¿Í (¤ï¤¿¤·¤â¤½¤¦¤Ç¤¹)
¤Î¤¿¤á¤Ë¥³¥á¥ó¥È¤ò¡£
Æó¤Ä¤Ï¾åµ¤ÎÆóÈÖÌܤÎÎã¤Ë½Ð¤Æ¤¤¤Þ¤¹¡£¤â¤¦°ì¤Ä (<EM>lp0</EM>) ¤Ï 0x3bc ¤Ë
¤¢¤ê¤Þ¤¹¡£É¸½à¤Î³ä¤ê¹þ¤ß¡¢¤Ë´Ø¤·¤Æ¤Ï¡¢¤Á¤ç¤Ã¤ÈÃ챤¬¤¢¤ê¤Þ¤»¤ó¡£
<P>Linux 2.0 ¥Ñ¥é¥ì¥ë¥Ý¡¼¥È¥É¥é¥¤¥Ð¤Î¥½¡¼¥¹¥³¡¼¥É¤Ï
/usr/src/linux/drivers/char/lp.c
¤Ë¤¢¤ê¤Þ¤¹¡£
<P>
<H2><A NAME="ss3.2">3.2 parport ¥Ç¥Ð¥¤¥¹ (kernel 2.1.33 °Ê¹ß)</A>
</H2>
<P>¥«¡¼¥Í¥ë 2.1.33 ¤«¤é (¥«¡¼¥Í¥ë 2.0.30 ÍѤΥѥåÁ¤â¤¢¤ê¤Þ¤¹¤¬)¡¢
lp ¥Ç¥Ð¥¤¥¹¤Ï¿·¤¿¤ËƳÆþ¤µ¤ì¤¿ parport ¥Ç¥Ð¥¤¥¹¤Îñ¤Ê¤ë¥¯¥é¥¤¥¢¥ó¥È¤Ë
¤Ê¤ê¤Þ¤·¤¿¡£ parport ¥Ç¥Ð¥¤¥¹¤¬Äɲ䵤줿¤³¤È¤Ë¤è¤Ã¤Æ¡¢
°ÊÁ°¤Î lp ¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤Ë¤¢¤Ã¤¿Â¿¤¯¤ÎÌäÂ꤬À§Àµ¤µ¤ì¤Þ¤·¤¿¡£
lp ¤¬Â¾¤Î¥É¥é¥¤¥Ð¤È¥Ý¡¼¥È¤ò¶¦Í¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¤·¡¢
ÍøÍѤǤ¤ë¥Ñ¥é¥ì¥ë¥Ý¡¼¥È¤ò¥Ç¥Ð¥¤¥¹ÈÖ¹æ¤ËưŪ¤Ë³ä¤êÅö¤Æ¤ë¤³¤È¤â
²Äǽ¤Ë¤Ê¤ê¤Þ¤·¤¿ (°ÊÁ°¤Ï I/O ¥¢¥É¥ì¥¹¤È¥Ý¡¼¥ÈÈÖ¹æ¤Î´Ø·¸¤Ï
¸ÇÄꤵ¤ì¤Æ¤¤¤Þ¤·¤¿)¡£
<P>parport ¥Ç¥Ð¥¤¥¹¤ÎÅоì¤Ë¤è¤Ã¤Æ¡¢ Zip ¥É¥é¥¤¥Ö¤ä Backpack CD-ROM,
¥Ç¥£¥¹¥¯¤Ê¤É¡¢¿·¤¿¤Ê¥Ñ¥é¥ì¥ë¥Ý¡¼¥È¥Ç¥Ð¥¤¥¹¤¬²¿¤Ç¤âÍøÍѤǤ¤ë¤è¤¦¤Ë
¤Ê¤ê¤Þ¤·¤¿¡£¤³¤ì¤é¤Î¤¦¤Á¤Î¤¤¤¯¤Ä¤«¤Ï 2.0 ¥«¡¼¥Í¥ë¤Ç¤â¥Ð¡¼¥¸¥ç¥ó¤Ë
¤è¤Ã¤Æ¤ÏÍøÍѤǤ¤Þ¤¹¡£ web ¤òÁܤ·²ó¤Ã¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£
<P>¤ªµ¤¤Å¤¤Ë¤Ê¤ë¤È»×¤¤¤Þ¤¹¤¬¡¢°õºþ¤Ë´ØÏ¢¤¹¤ë¼ç¤Ê°ã¤¤¤Ï¡¢
parport ¥Ù¡¼¥¹¤Î¥«¡¼¥Í¥ë¤Ç¤Ï lp ¥Ç¥Ð¥¤¥¹¤¬¥Ñ¥é¥ì¥ë¥Ý¡¼¥È¤Ë
ưŪ¤Ë³ä¤êÅö¤Æ¤é¤ì¤ë¡¢¤È¸À¤¦¤³¤È¤Ç¤¹¡£
¤Ç¤¹¤«¤é Linux 2.0 ¤Ç lp1 ¤À¤Ã¤¿¥Ý¡¼¥È¤¬
Linux 2.2 ¤Ç¤Ï lp0 ¤Ë¤Ê¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£
lp ¥É¥é¥¤¥Ð¤Î¥«¡¼¥Í¥ë¤«¤é parport ¥É¥é¥¤¥Ð¤Î¥«¡¼¥Í¥ë¤Ë
¥¢¥Ã¥×¥°¥ì¡¼¥É¤¹¤ë¤È¤¤Ï¡¢¤³¤ÎÅÀ¤Î¥Á¥§¥Ã¥¯¤ò˺¤ì¤Ê¤¤¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£
<P>
<P>¤³¤Î¥Ç¥Ð¥¤¥¹¤Ë¤Ä¤¤¤Æ°ìÈÖ¤¢¤ê¤¬¤Á¤ÊÌäÂê¤Ï¡¢
ÀßÄê¤Î¥ß¥¹¤«¤éµ¯¤³¤ë¤è¤¦¤Ç¤¹:
<P>
<DL>
<P>
<P>
<DT><B>¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó</B><DD><P>Linux ¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Î¤Ê¤«¤Ë¤Ï¡¢
¤¤Á¤ó¤ÈÀßÄꤵ¤ì¤¿ /etc/modules.conf
(¤Ê¤¤¤·¤Ï /etc/conf.modules) ¤¬Æþ¤Ã¤Æ¤¤¤Ê¤¤¤¿¤á¡¢
¥É¥é¥¤¥Ð¤¬¡¢É¬ÍפȤʤë¾ìÌ̤ǡ¢¤Á¤ã¤ó¤ÈÆɤ߹þ¤Þ¤ì¤Ê¤¤¤è¤¦¤Ê¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£
modules.conf ¤ÎÀµ¤·¤¤ `ËâË¡¤Î' ÀßÄê¹Ô¤Ï¡¢
ºÇ¶á¤Î modutils ¤Ç¤Ï¤³¤ó¤Ê¤Õ¤¦¤Ë¤Ê¤ê¤Þ¤¹:
<P>
<PRE>
alias /dev/printers lp
alias /dev/lp* lp
alias parport_lowlevel parport_pc
</PRE>
<P>
<P>
<DT><B>BIOS</B><DD><P>¥Ñ¥é¥ì¥ë¥Ý¡¼¥È¤ò Plug and Play ¤Ë¤·¤è¤¦¤È¤¹¤ë PC ¤Î BIOS ¤Ï¤¤¤Ã¤Ñ¤¤¤¢¤ê¤Þ¤¹¡£
¤Ç¤â¤³¤ì¤Ï¡¢¡Ö¤¤¤Ä¤À¤Ã¤Æ¤½¤³¤Ë¤¢¤ë¡×´°àú¤Ëñ½ã¤Ê¥Ç¥Ð¥¤¥¹¤Ë¡¢
̵ÍѤÊÊ£»¨¤µ¤ò¿¢¤¨ÉÕ¤±¤ë¤À¤±¤Ç¤¹¡£
Linux ¤Î¥É¥é¥¤¥Ð¤¬¥Ñ¥é¥ì¥ë¥Ý¡¼¥È¤ò¸¡½Ð¤·¤Æ¤¯¤ì¤Ê¤¤¾ì¹ç¤Ï¡¢
¥Ñ¥é¥ì¥ë¥Ý¡¼¥È (``LPT1'' ¤È¤Ê¤Ã¤Æ¤¤¤ë BIOS ¤¬Â¿¤¤¤Ç¤¹)
¤Î Plug and Play ÀßÄê¤òÀڤäƤ¯¤À¤µ¤¤¡£
Àµ¤·¤¤ÀßÄêÆâÍƤϡ¢``legacy'' ¤È¤« ``ISA'', ``0x378'' ¤Ê¤É¤Ç¤¹¡£
``disabled'' ¤Ë¤·¤Æ¤·¤Þ¤¦¤Î¤Ï¡¢¤ª¤½¤é¤¯´Ö°ã¤¤¤Ç¤·¤ç¤¦¡£
</DL>
<P>
<P>¥«¡¼¥Í¥ë¥½¡¼¥¹¤Î
<A HREF="http://www.linux.or.jp/JF/JFdocs/kernel-docs-2.2/parport.txt.html">Documentation/parport.txt</A>
¤òÆɤफ¡¢
<A HREF="http://www.cyberelk.demon.co.uk/parport.html">parport web site</A>
¤ËÌܤòÄ̤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£
<P>
<H2><A NAME="ss3.3">3.3 ¥·¥ê¥¢¥ë¥Ç¥Ð¥¤¥¹</A>
</H2>
<P>Linux ¤Ç¤Ï¥·¥ê¥¢¥ë¥Ç¥Ð¥¤¥¹¤Ë¤Ï <EM>/dev/ttyS1</EM>
¤Î¤è¤¦¤Ê̾Á°¤¬¤Ä¤¤Þ¤¹¡£ <CODE>stty</CODE> ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤òÍѤ¤¤ì¤Ð¡¢
¥·¥ê¥¢¥ë¥Ý¡¼¥È¤ÎÀßÄê¤ò¥¤¥ó¥¿¥é¥¯¥Æ¥£¥Ö¤Ë±ÜÍ÷¡¦ÀßÄê¤Ç¤¤Þ¤¹¡£
<CODE>setserial</CODE> ¤ò»È¤¦¤È¡¢¤µ¤é¤Ë¹âÅ٤ʰÀ¤òÀ©¸æ¤Ç¤¡¢
ɸ½àŪ¤Ç¤Ê¤¤¥Ý¡¼¥È¤ËÂФ·¤Æ IRQ ¤ä I/O ¥¢¥É¥ì¥¹¤òÀßÄꤹ¤ë¤³¤È¤â
¤Ç¤¤Þ¤¹¡£ Linux ¤Ç¤Î¥·¥ê¥¢¥ë¥Ý¡¼¥È¤ËÂФ¹¤ë¤è¤ê¾Ü¤·¤¤µÄÏÀ¤Ï
<A HREF="http://www.linux.or.jp/JF/JFdocs/Serial-HOWTO.html">Serial-HOWTO</A> ¤Ë¤¢¤ë¤Ç¤·¤ç¤¦¡£
<P>ÃÙ¤¤¥·¥ê¥¢¥ë¥×¥ê¥ó¥¿¤Ë¥Õ¥í¡¼À©¸æ¤ò»È¤¦¤È¡¢
¥×¥ê¥ó¥È¥¸¥ç¥Ö¤¬¼Î¤Æ¤é¤ì¤Æ¤·¤Þ¤¦¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
¤³¤ì¤Ï¤ª¤½¤é¤¯¥·¥ê¥¢¥ë¥Ý¡¼¥È¤Î¤»¤¤¤Ç¡¢
¥Ç¥Õ¥©¥ë¥È¤ÎÆ°ºî¤Ç¤ÏÁ÷¿®¤µ¤ì¤Ê¤«¤Ã¤¿Ê¸»ú¤ò¡¢
¥Ý¡¼¥È¤¬¥¯¥í¡¼¥º¤µ¤ì¤¿ 30 Éøå¤Ë¥Ð¥Ã¥Õ¥¡¤Ë¤«¤é¼Î¤Æ¤Æ¤·¤Þ¤¦¤«¤é¤Ç¤¹¡£
¥Ð¥Ã¥Õ¥¡¤Ï 4096 ʸ»ú¤Þ¤ÇÊÝ»ý¤Ç¤¤Þ¤¹¤¬¡¢
¥×¥ê¥ó¥¿¤Ç¥Õ¥í¡¼À©¸æ¤¬»È¤ï¤ì¤Æ¤ª¤ê¡¢
¤«¤Ä¥×¥ê¥ó¥¿¤Î®ÅÙ¤¬ÃÙ¤¯¤Æ¡¢°õºþ¤ò¹Ô¤Ã¤¿¥½¥Õ¥È¥¦¥§¥¢¤¬¥Ý¡¼¥È¤ò
¥¯¥í¡¼¥º¤·¤¿¸å 30 Éäδ֤˥ǡ¼¥¿¤ò¼õ¤±ÀÚ¤ì¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢
¥Ð¥Ã¥Õ¥¡¤ÎÆâÍƤÎËöÈø¤ÎÉôʬ¤¬¼º¤ï¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£
¥³¥Þ¥ó¥É
<BLOCKQUOTE><CODE>
<PRE>
cat file > /dev/ttyS2
</PRE>
</CODE></BLOCKQUOTE>
¤ò¹Ô¤Ã¤Æ¡¢Ã»¤¤¥Õ¥¡¥¤¥ë¤Ê¤é´°Á´¤Ë¥×¥ê¥ó¥È¥¢¥¦¥È¤µ¤ì¡¢
Ť¤¥Õ¥¡¥¤¥ë¤Ç¤Ï¿¬ÀÚ¤ì¤Ë¤Ê¤ë¤è¤¦¤Ê¤é¡¢
¤ª¤½¤é¤¯¤³¤Î¾õ¶·¤Ë¤¢¤ê¤Þ¤¹¡£
<P>30 ÉäΥ¤¥ó¥¿¡¼¥Ð¥ë¤Ï setserial (¥Ð¡¼¥¸¥ç¥ó 2.12 °Ê¹ß) ¤Î
"closing_wait" ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤ÆÄ´À°¤Ç¤¤Þ¤¹¡£
Ä̾ï¥Þ¥·¥ó¤Î¥·¥ê¥¢¥ë¥Ý¡¼¥È¤Ï rc.serial ¤È¤¤¤¦¥Ö¡¼¥È¥Õ¥¡¥¤¥ë¤«¤é
setserial ¤ò¸Æ¤Ó½Ð¤¹¤³¤È¤Ë¤è¤Ã¤Æ½é´ü²½¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
ÌäÂê¤Ë¤Ê¤Ã¤Æ¤¤¤ë°õºþÍÑ¥·¥ê¥¢¥ë¥Ý¡¼¥È¤Ø¤Î¤³¤Î setserial ¤Î
¼Â¹Ô¤ò½¤Àµ¤·¤Æ¡¢¤½¤Î¥Ý¡¼¥È¤Ø¤Î¾¤Î¥Ñ¥é¥á¡¼¥¿¤ÎÀßÄê¤ÈƱ»þ¤Ë
closing_wait ¤âÀßÄꤹ¤ë¤è¤¦¤Ë¤¹¤ì¤ÐÎɤ¤¤Ç¤·¤ç¤¦¡£
<P>
<P>
<HR>
<A HREF="Printing-HOWTO-4.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Printing-HOWTO-2.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Printing-HOWTO.html#toc3">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|