More details and examples for the "scsi * ..." directive for config files. Added

information about debug level 255 printing (Linux) kernel debug messages.
Added link to sane-usb(5).
Henning Meier-Geinitz <henning@meier-geinitz.de>
DEVEL_2_0_BRANCH-1
Henning Geinitz 2001-11-12 22:44:23 +00:00
rodzic b7d4f77931
commit 5af6f51ec0
1 zmienionych plików z 27 dodań i 12 usunięć

Wyświetl plik

@ -1,4 +1,4 @@
.TH sane-scsi 5 "10 Jun 2001" .TH sane-scsi 5 "12 Nov 2001"
.IX sane-scsi .IX sane-scsi
.SH NAME .SH NAME
sane-scsi - SCSI adapter tips for scanners sane-scsi - SCSI adapter tips for scanners
@ -24,11 +24,10 @@ For a detailed description of each backend's configuration file,
please refer to the relevant backend manual page (e.g., sane\-epson(5) please refer to the relevant backend manual page (e.g., sane\-epson(5)
for Epson scanners, sane\-hp(5) for HP scanners, etc.). for Epson scanners, sane\-hp(5) for HP scanners, etc.).
.PP .PP
For Linux, there is an alternate way of specifying scanner devices For Linux, there is an alternate way of specifying scanner devices. This
(beginning with SANE version 0.73). This alternate way is based on alternate way is based on /proc/scsi/scsi and allows to identify scanners by
/proc/scsi/scsi and allows to identify scanners by the SCSI vendor and the SCSI vendor and model string and/or by the SCSI device address (consisting
model string and/or by the SCSI device address (consisting of bus of bus number, channel number, id, and logical unit number). The syntax for
number, channel number, id, and logical unit number). The syntax for
specifying a scanner in this way is: specifying a scanner in this way is:
.PP .PP
.RS .RS
@ -44,7 +43,7 @@ is the SCSI model string,
.I TYPE .I TYPE
is type SCSI device type string, is type SCSI device type string,
.I BUS .I BUS
is the SCSI bus number, is the SCSI bus number (named "host" in /proc/scsi/scsi),
.I CHANNEL .I CHANNEL
is the SCSI channel number, is the SCSI channel number,
.I ID .I ID
@ -64,6 +63,21 @@ registered if the backend thinks it is a compatible device. For
example, the line example, the line
.PP .PP
.RS .RS
scsi MUSTEK MFS-06000CX Scanner 0 00 03 00
.RE
.PP
would attach the Mustek SCSI scanner with the following /proc/scsi/scsi entry:
.PP
.RS 2
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: MUSTEK Model: MFS-06000CX Rev: 4.04
Type: Scanner ANSI SCSI revision: 0
.RE
.PP
Usually it's sufficient to use vendor and model strings only or even only the
vendor string. The following example
.PP
.RS
scsi MUSTEK * * * * * * scsi MUSTEK * * * * * *
.RE .RE
.PP .PP
@ -282,11 +296,12 @@ and so on.
.SH ENVIRONMENT .SH ENVIRONMENT
.TP .TP
.B SANE_DEBUG_SANEI_SCSI .B SANE_DEBUG_SANEI_SCSI
If the library was compiled with debug support enabled, this If the library was compiled with debug support enabled, this environment
environment variable controls the debug level for the generic SCSI I/O variable controls the debug level for the generic SCSI I/O subsystem. E.g., a
subsystem. E.g., a value of 128 requests all debug output to be value of 128 requests all debug output to be printed by the backend. A value
printed. Smaller levels reduce verbosity. of 255 also prints kernel messages from the SCSI subsystem (where available).
Smaller levels reduce verbosity.
.SH "SEE ALSO" .SH "SEE ALSO"
sane(7), sane\-find\-scanner(1), sane\-"backendname"(5) sane(7), sane\-find\-scanner(1), sane\-"backendname"(5), sane\-usb(5)
.SH AUTHOR .SH AUTHOR
David Mosberger David Mosberger