This file is indexed.

/usr/share/doc/HOWTO/ja-html/SANE-outline-JP-6.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE> SANE-outline-JP: find-scanner ¤È scanimage ¤ÇÆ°ºî³Îǧ</TITLE>
 <LINK HREF="SANE-outline-JP-7.html" REL=next>
 <LINK HREF="SANE-outline-JP-5.html" REL=previous>
 <LINK HREF="SANE-outline-JP.html#toc6" REL=contents>
</HEAD>
<BODY>
<A HREF="SANE-outline-JP-7.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="SANE-outline-JP-5.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="SANE-outline-JP.html#toc6">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s6">6. find-scanner ¤È scanimage ¤ÇÆ°ºî³Îǧ</A></H2>

<P>
<BLOCKQUOTE>
¡ÚÌõÃí¡ÛSCSI ¥¹¥­¥ã¥Ê¤Îǧ¼±
<P>SCSI ¥Û¥¹¥È¥¢¥À¥×¥¿ÍÑ¤Î¥í¡¼¥ì¥Ù¥ë¤Î SCSI ¥«¡¼¥Í¥ë¥É¥é¥¤¥Ð¤È¡¢
genelic (ÈÆÍÑ) SCSI ¥É¥é¥¤¥Ð¤¬¥â¥¸¥å¡¼¥ë¤È¤·¤Æ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Æ¤¤¤ë
¤Ê¤é¡¢¥¹¥­¥ã¥Ê¤ÎÅŸ»¤ò ON ¤·¤Æ¤«¤é¡¢¥É¥é¥¤¥Ð¥â¥¸¥å¡¼¥ë¤ò¥í¡¼¥É¤·¤Þ
¤¹¡£¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¢¥¹¥­¥ã¥Ê¤ÎÅŸ»¤ò ON ¤·¤Æ¤«¤é¡¢¥·¥¹¥Æ¥à¤ò¥ê¥Ö¡¼
¥È¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
¥¹¥­¥ã¥Ê¤¬¥·¥¹¥Æ¥à¤Ëǧ¼±¤µ¤ì¤Æ¤¤¤ë¤«¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¤·¤Æ³Îǧ¤Ç¤­¤Þ¤¹¡£
<PRE>
  $ cat /proc/scsi/scsi
  Attached devices: 
  Host: scsi0 Channel: 00 Id: 06 Lun: 00
    Vendor:          Model: Scanner          Rev: 1.80
    Type:   Scanner                          ANSI SCSI revision: 02
</PRE>

¡ÚÌõÃí½ª¤ê¡Û
<P>(README ¤è¤ê)
<P>Àܳ¤µ¤ì¤Æ¤¤¤ë¥¹¥­¥ã¥Ê¤Î SCSI ¥Ç¥Ð¥¤¥¹Ì¾¤¬Ê¬¤«¤é¤Ê¤¤¾ì¹ç¤Ï tools ¥Ç¥£¥ì
¥¯¥È¥ê¤Ë¤¢¤ë find-scanner ¥³¥Þ¥ó¥É¤ò»î¤·¤Æ¤ß¤Þ¤·¤ç¤¦¡£
Ä̾ï¤Ï¡¢°ú¿ô̵¤·¤Ç¥×¥í¥°¥é¥à¤òµ¯Æ°¤¹¤ì¤Ð¤è¤¤¤Ç¤·¤ç¤¦¡£¤³¤Î¥³¥Þ¥ó¥É¤ò
µ¯Æ°¤¹¤ë¤È²¼µ­¤È¤è¤¯»÷¤¿½ÐÎϤ¬ÆÀ¤é¤ì¤ëȦ¤Ç¤¹¡£
<P>
<PRE>
  # tools/find-scanner
  find-scanner: found "MUSTEK MFC-06000CZ 1.01" at device /dev/scanner
  find-scanner: found "MUSTEK MFC-06000CZ 1.01" at device /dev/sge
</PRE>
<P>¡ÚÌõÃí¡Û»ä¤Î Microtek ScanMaker E3 ¤Ç¤ÎÎã
<P># tools/find-scanner <BR>
¤Ç¡¢<BR>
find-scanner: found scanner " Scanner 1.80" at device /dev/sga <BR>
¤Èɽ¼¨¤µ¤ì¡¢¥¹¥­¥ã¥Ê¤¬ /dev/sga ¤ËÀܳ¤µ¤ì¤Æ¤¤¤ë¤³¤È¤òǧ¼±¤·¤Þ¤·¤¿¡£<BR>
¤³¤ì¤ò /dev/scanner ¤Ë¥ê¥ó¥¯¤·¤Þ¤¹¡£
<P># ln -s /dev/sga /dev/scanner
<P>¼¡¤ËÍøÍѲÄǽ¤Ê¥Ç¥Ð¥¤¥¹Ì¾¤òɽ¼¨¤µ¤»¤Þ¤¹¡£
<PRE>
  # scanimage -L
  device `microtek:/dev/scanner' is a Microtek ScanMaker E3 flatbed scanner
  device `microtek:/dev/sga' is a Microtek ScanMaker E3 flatbed scanner
</PRE>
<P>¤³¤Î¾ì¹ç microtek:/dev/scanner ¤¬¥Ç¥Ð¥¤¥¹Ì¾¤Ç¤¹¡£<BR>
¡ÚÌõÃí½ª¤ê¡Û
<P>¥Ç¥Ð¥¤¥¹¤Îǧ¼±¤Ç²¿¤é¤«¤ÎÌäÂ꤬µ¯¤­¤¿¾ì¹ç¡¢¤½¤ì¤é¤ÎÌäÂê¤Î¥Ç¥Ð¥Ã¥°¤ò½õ¤±¤ë
¤¿¤á¤Î¿§¡¹¤Ê´Ä¶­ÊÑ¿ô¤ÎÀßÄê¤ò»î¤·¤Æ²¼¤µ¤¤¡£´Ä¶­ÊÑ¿ô¤Ï´ØÏ¢¤¹¤ë¥Þ¥Ë¥å¥¢¥ë¥Ú
¡¼¥¸¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤Þ¤¹¡£Î㤨¤Ð¡¢Mustek ¤Î¥¹¥­¥ã¥Ê¤ò¥Æ¥¹¥È¤¹¤ëºÝ¤Ë Mustek
¤Î¥¹¥­¥ã¥Ê¤Î¥Ç¥Ð¥Ã¥°¤Ë´Ø¤¹¤ëºÇÂçÎ̤ξðÊó¤òÆÀ¤ë¤Ë¤Ï SANE_DEBUG_DLL,
SANE_DEBUG_MUSTEK, SANE_DEBUG_SANEI_SCSI ´Ä¶­ÊÑ¿ô¤ò128 ¤Ë¥»¥Ã¥È¤·¤Æ¤«¤é
scanimage (¤Þ¤¿¤Ï¡¢¥Ç¥Ð¥Ã¥°¤·¤è¤¦¤È¤¹¤ëÁ´¤Æ¤Î¥×¥í¥°¥é¥à)¤òµ¯Æ°¤·¤Æ¤¯¤À
¤µ¤¤¡£
<P>/dev/scanner ¤Ë Mustek ¤Î¥¹¥­¥ã¥Ê¤¬¤¢¤ë¾ì¹ç¡¢scanimage ¤òµ¯Æ°¤¹¤ë¤Ë¤Ï
²¼µ­¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£
<P># scanimage -d mustek:/dev/scanner -h
<P>¤³¤ì¤¬¤¦¤Þ¤¯¤¤¤±¤Ð¼¡¤Î¤è¤¦¤Ë¤·¤Æ²èÁü¤ò¼è¤ê¹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
<P># scanimage -d mustek:/dev/scanner > t.pnm
<P>¡ÚÌõÃí¡Û°ìÈ̥桼¥¶¤â¥¹¥­¥ã¥Ê¤Ë¥¢¥¯¥»¥¹¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¡©
<P>ÆäËÀßÄê¤ò¤·¤Ê¤±¤ì¤Ð¡¢
<P>
<PRE>
  # ls -l /dev/sga
  crw-------   1 root   root   21,   0 Jul 19  1994 /dev/sga
</PRE>
<P>¤Î¤è¤¦¤Ë°ìÈ̥桼¥¶¤Ï¥¢¥¯¥»¥¹¤Ç¤­¤Ê¤¤¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤È»×¤¤¤Þ¤¹¡£
¤³¤ì¤ò
<P>
<PRE>
  # chmod 666 /dev/sga
  # ls -l /dev/sga
  crw-rw-rw-   1 root   root   21,   0 Jul 19  1994 /dev/sga
</PRE>
<P>¤Î¤è¤¦¤Ë¤¹¤ì¤Ð°ìÈ̥桼¥¶¤â»ÈÍѤǤ­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
<P>¡ÚÌõÃí½ª¤ê¡Û
</BLOCKQUOTE>
<P>
<HR>
<A HREF="SANE-outline-JP-7.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="SANE-outline-JP-5.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="SANE-outline-JP.html#toc6">Ìܼ¡¤Ø</A>
</BODY>
</HTML>