SANE ¼³Ä¡Çϱâ Á¶¿ëÀÏ, tolkien@nownuri.net v1.0, 15 March 2000 Linux¿¡¼­ Scanner¸¦ »ç¿ëÇÒ ¶§, ÇʼöÀûÀÎ SANE(Scanner Access Now Easy) ÆÐÅ°ÁöÀÇ ¼³Ä¡¿Í ¼³Á¤¿¡ ´ëÇؼ­ ¼³¸íÇÏ°í ÀÖ´Ù. ______________________________________________________________________ ¸ñÂ÷ 1. ¼Ò½º ÆÄÀÏ ±¸Çϱâ 2. sane°ú xsane ¼³Ä¡Çϱâ 2.1 sane ¼³Ä¡ 2.2 xsane ¼³Ä¡ 3. sane ¼³Á¤Çϱâ 3.1 SCANNER°¡ Á÷Á¢ ºÙ¾î ÀÖ´Â linux-box 3.2 SCANNER°¡ Á÷Á¢ ºÙ¾î ÀÖÁö ¾ÊÀº linux-box ______________________________________________________________________ 1. ¼Ò½º ÆÄÀÏ ±¸Çϱâ o o À§ÀÇ ÁÖ¼Ò¿¡¼­ ¼Ò½º ÆÄÀÏ ÆÐÅ°Áö¸¦ °¡Á®¿Â´Ù. 2. sane°ú xsane ¼³Ä¡Çϱâ 2.1. sane ¼³Ä¡ 1. README ÆÄÀÏÀ» Àß Àо´Ù. sane ¼Ò½ºµð·ºÅ丮·Î À̵¿Çؼ­ ´ÙÀ½°ú °°ÀÌ ¸í·ÉÇÑ´Ù. (root ±ÇÇÑÀ» °¡Áö°í ÀÖ´Ù°í ÀüÁ¦Çϸç, /usr/local/¿¡ saneÀÌ ¼³Ä¡µÈ´Ù.) ./configure make make install 2. /etc/ls.so.conf¿¡ ´ÙÀ½ÀÇ µÎ ÁÙ Ãß°¡ /usr/local/lib/ /usr/local/lib/sane 3. saneÀÌ Á¦´ë·Î ¼³Ä¡µÇ¾ú´ÂÁö testÇغ¸ÀÚ buildÇÑ source directory¸¦ º¸¸é $SRC-sane/tools ¹Ø¿¡ find- scanner¶ó´Â ÇÁ·Î±×·¥ÀÌ ÀÖ´Ù. ./tools/find-scanner ÇÁ·Î±×·¥À» ½ÇÇàÇؼ­ ½ÇÁ¦ system¿¡¼­ scanner°¡ ÀνÄÀÌ µÇ´ÂÁö È®ÀÎÇÏÀÚ. 2.2. xsane ¼³Ä¡ 1. xsane.INSTALL ¹®¼­ÆÄÀÏÀ» ÀÚ¼¼È÷ Àд´Ù. 2. ±×¸®°í, ÄÄÆÄÀÏÇؼ­ ¼³Ä¡ÇÏÀÚ. ./configure make make install 3. sane ¼³Á¤Çϱâ 3.1. SCANNER°¡ Á÷Á¢ ºÙ¾î ÀÖ´Â linux-box 1. SCSI scannerÀÎ °æ¿ì, scsi generic moduleÀÌ kernel¿¡ ÀÖ´ÂÄ¡ È®ÀÎÇÏ°í, ¾øÀ¸¸é moduleÀ» ¸¸µé¾îÁØ´Ù. ±×¸®°í, ½ÇÁ¦ scannerÇÏ°í ¿¬°áµÇ´Â deviceÀÇ permissionÀ» Ç®¾îÁØ´Ù. ¿¹¸¦ µé¾î, chmod 666 /dev/sga 2. sane ¼³Á¤ (xsaneÀº saneÀÇ font-endÀ̹ǷΠƯº°È÷ ÇØÁÙ °ÍÀÌ ¾ø´Ù.) /usr/local/etc/sane.d/dll.conf¿¡ ÀÖ´Â listÁß¿¡¼­ ÇöÀç º»ÀÎÀÌ °¡Áö°í ÀÖ´Â °ÍÀÌ ÀÖ´ÂÁö È®ÀÎÇÑ´Ù. ±×¸®°í, ´Ù¸¥ °ÍÀº ´Ù Áö¿î´Ù. (¾È Áö¿öµµ »ó°ü¾ø´Â °Í°°´Ù.) ÀÖÀ¸¸é, ÇØ´ç man page¸¦ º»´Ù. ¿¹¸¦ µé¾î, hp¸é man sane-hp ±×¸®°í, /usr/local/etc/sane.d/.conf¿¡ ÀÖ´Â ³»¿ëÀ» Çѹø º»´Ù. (±¸Ã¼ÀûÀÎ °ÍÀº °¢ scannerº° manual page¸¦ º¼ °Í.) /usr/local/etc/sane.d/dll.aliases »ý¼º (´Ù¸¥ pc¿¡¼­ scanner device¸¦ »ç¿ëÇÒ ¼ö ÀÖµµ·Ï) alias HP hp:/dev/sga hp SCSI-scanner·Î dev/sga¿¡ ¹°·ÁÀÖ´Â ³ðÀº HP¶ó ¸í¸íÇÑ´Ù. °¢ scan­ ner¸¶´Ù »ç¿ëÇÏ´Â device°¡ Ʋ¸®±âµµ ÇÑ´Ù. 3. xsane ½ÇÇà xsane À̶ó°í ½ÇÇàÇϸé scannerÁ¦¾î panel¿Í canvas°¡ ³ª¿Â´Ù. ¾Æ´Ï¸é, ÀÌÀü¿¡ scanner device¸¦ ¼±ÅÃÇÏ´Â È­¸éÀÌ ³ª¿Â´Ù. 4. saned ¼³Á¤ (scanner device¸¦ °øÀ¯Çϱâ À§ÇÑ ÀÛ¾÷) /etc/service¿¡ ´ÙÀ½ ÇÑÁÙ Ãß°¡ sane 6566/tcp # SANE network scanner daemon link ¼³Á¤ (±»ÀÌ ÇÊ¿äÇÏÁö ¾Ê´Ù´Â »ý°¢ÀÌ µéÁö¸¸, ±×·¡µµ.) cd /usr/sbin ln -s /usr/local/sbin/saned . /etc/inetd.conf¿¡ ´ÙÀ½ ÇÑÁÙ Ãß°¡ sane stream tcp nowait nobody /usr/sbin/tcpd saned inetd ´Ù½Ã ½ÃÀÛ /etc/rc.d/init.d/inetd restart 3.2. SCANNER°¡ Á÷Á¢ ºÙ¾î ÀÖÁö ¾ÊÀº linux-box o sane ¼³Á¤ /usr/local/etc/sane.d/dll.conf¿¡ net¸¸ ³²°ÜµÎ°í ´Ù Áö¿ìÀÚ. ±×¸®°í, /usr/local/etc/sane.d/net.conf¿¡ host¸¦ µî·ÏÇÑ´Ù. ¿¹¸¦ µé¾î, scanner°¡ ºÙ¾î ÀÖ´Â linux-box°¡ sane.sarang.netÀÌ°í sane.sarang.net¿¡ dll.aliases¿¡ HP¶ó°í scanner¸¦ µî·ÏÇßÀ¸¸é, sane.sarang.net ¶ó°í ÇÑÁÙ Àû¾î³õ´Â´Ù. ¸¶Áö¸·À¸·Î, /etc/service¿¡ ´ÙÀ½ ÇÑÁÙ Ãß°¡ sane 6566/tcp # SANE network scanner daemon