2003-05-09 01:29:50 +00:00
|
|
|
|
.TH sane-avision 5 "04 Mar 2003" "@PACKAGEVERSION@" "SANE Scanner Access Now Easy"
|
2000-08-12 15:11:46 +00:00
|
|
|
|
.IX sane-avision
|
2002-01-16 23:18:43 +00:00
|
|
|
|
|
2000-08-12 15:11:46 +00:00
|
|
|
|
.SH NAME
|
2002-11-29 20:15:39 +00:00
|
|
|
|
sane-avision \- SANE backend for original Avision and Avision OEM scanners
|
2002-04-08 14:35:32 +00:00
|
|
|
|
(HP, Minolta, Mitsubishi, UMAX and possibly more) flatbed scanners
|
2002-01-16 23:18:43 +00:00
|
|
|
|
|
|
|
|
|
.SH ABOUT THIS FILE
|
|
|
|
|
|
|
|
|
|
This file only is a short descripton of the avision-backend for sane!
|
|
|
|
|
|
2000-08-12 15:11:46 +00:00
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
The
|
|
|
|
|
.B sane-avision
|
|
|
|
|
library implements a SANE (Scanner Access Now Easy) backend that
|
2003-05-09 01:29:50 +00:00
|
|
|
|
provides access to various Avision scanners and the Avision OEM
|
|
|
|
|
scanners labelled by HP, Minolta, Mitsubishi or Fujitsu.
|
2002-01-16 23:18:43 +00:00
|
|
|
|
|
|
|
|
|
.SH CONFIGURATION
|
|
|
|
|
|
|
|
|
|
The configuration file for this backend resides in
|
|
|
|
|
@CONFIGDIR@/avision.conf.
|
|
|
|
|
|
|
|
|
|
Its contents is a list of device names that correspond to Avision and Avision
|
2002-11-23 16:17:07 +00:00
|
|
|
|
compatible scanners and backend-options. Empty lines and lines starting with
|
|
|
|
|
a hash mark (#) are ignored. A sample configuration file is shown below:
|
2002-01-16 23:18:43 +00:00
|
|
|
|
|
|
|
|
|
.B I suggest you hold one hand on the power-button of the scanner while you try
|
|
|
|
|
the first scans!
|
|
|
|
|
|
|
|
|
|
# this is a comment
|
2002-11-23 16:17:07 +00:00
|
|
|
|
|
2002-01-16 23:18:43 +00:00
|
|
|
|
option force-a4
|
2002-01-19 00:44:41 +00:00
|
|
|
|
option disable-gamma-table
|
2002-08-30 09:21:51 +00:00
|
|
|
|
option disable-calibration
|
|
|
|
|
option one-calib-only
|
2002-11-23 16:17:07 +00:00
|
|
|
|
option old-calibration
|
|
|
|
|
|
|
|
|
|
#scsi Vendor Model Type Bus Channel ID LUN
|
|
|
|
|
scsi AVISION
|
|
|
|
|
scsi HP
|
2003-05-09 01:29:50 +00:00
|
|
|
|
scsi /dev/scanner
|
|
|
|
|
usb 0x03f0 0x0701
|
2002-01-16 23:18:43 +00:00
|
|
|
|
|
|
|
|
|
- force-a4:
|
2002-01-19 00:44:41 +00:00
|
|
|
|
Forces the backend to overwrite the scanable area
|
2002-01-16 23:18:43 +00:00
|
|
|
|
returned by the scanner. This might be needed for
|
|
|
|
|
the AV 630 which returns no area - or newer scanners
|
2002-08-30 09:21:51 +00:00
|
|
|
|
which retun the area in a unkown format our backend
|
2002-01-16 23:18:43 +00:00
|
|
|
|
doesn't recongize yet.
|
|
|
|
|
|
2002-01-19 00:44:41 +00:00
|
|
|
|
- disable-gamma-table:
|
|
|
|
|
Disables the usage of the scanner's gamma-table. You
|
2002-08-30 09:21:51 +00:00
|
|
|
|
might try this if your scans hang or only produces
|
2002-01-19 00:44:41 +00:00
|
|
|
|
random garbage.
|
2002-04-08 14:35:32 +00:00
|
|
|
|
|
|
|
|
|
- disable-calibration:
|
|
|
|
|
Disables the scanner's color calibration. You
|
2002-08-30 09:21:51 +00:00
|
|
|
|
might try this if your scans hang or only produces
|
2002-04-08 14:35:32 +00:00
|
|
|
|
random garbage.
|
2002-08-30 09:21:51 +00:00
|
|
|
|
|
2002-11-23 16:17:07 +00:00
|
|
|
|
- one-calib-only:
|
2002-08-30 09:21:51 +00:00
|
|
|
|
When this option is enabled, the backend will only
|
|
|
|
|
perform a calibration when the backend is initialized
|
|
|
|
|
and not before each scan. This might extend the life
|
|
|
|
|
of the CCD, but does not work reliable with the newer
|
|
|
|
|
USB scanners (they hang sometimes or return garbage
|
|
|
|
|
image data). So this option should be used with care.
|
2002-11-23 16:17:07 +00:00
|
|
|
|
|
|
|
|
|
- old-calibration:
|
|
|
|
|
This enables the use of the old calibration code for
|
|
|
|
|
testing purposes.
|
|
|
|
|
|
|
|
|
|
Note: Any option above modifies the default code-flow
|
|
|
|
|
for your scanner. The options should only be used
|
|
|
|
|
when you encounter problems with the default be-
|
|
|
|
|
haviour of the backend. Please report the need of
|
|
|
|
|
options to the backend-author so the backend can
|
|
|
|
|
be fixed as soon as possible.
|
2002-01-19 00:44:41 +00:00
|
|
|
|
|
2000-08-12 15:11:46 +00:00
|
|
|
|
.SH "DEVICE NAMES"
|
|
|
|
|
This backend expects device names of the form:
|
|
|
|
|
.PP
|
|
|
|
|
.RS
|
2003-05-09 01:29:50 +00:00
|
|
|
|
.I scsi special
|
|
|
|
|
.I usb special
|
2000-08-12 15:11:46 +00:00
|
|
|
|
.RE
|
|
|
|
|
.PP
|
|
|
|
|
Where
|
|
|
|
|
.I special
|
2003-05-09 01:29:50 +00:00
|
|
|
|
is the path-name for the device that corresponds to a SCSI scanner or
|
|
|
|
|
the USB vendor/product ID pair corresponding to the USB scanner. The
|
|
|
|
|
special device name must be a generic SCSI device or a
|
2000-08-12 15:11:46 +00:00
|
|
|
|
symlink to such a device. The program
|
2001-04-08 15:53:05 +00:00
|
|
|
|
.IR sane-find-scanner
|
|
|
|
|
helps to find out the correct device. Under Linux, such a device name
|
2000-08-12 15:11:46 +00:00
|
|
|
|
could be
|
2003-05-09 01:29:50 +00:00
|
|
|
|
.I /dev/sg0
|
2000-08-12 15:11:46 +00:00
|
|
|
|
or
|
2003-05-09 01:29:50 +00:00
|
|
|
|
.IR /dev/sga ,
|
2000-08-12 15:11:46 +00:00
|
|
|
|
for example. See sane-scsi(5) for details.
|
|
|
|
|
|
2003-05-09 01:29:50 +00:00
|
|
|
|
Note: Since the backend now includes native USB access,
|
|
|
|
|
it is no longer needed - even considered obsolete -
|
|
|
|
|
to access the scanner via the SCSI emulation (named
|
|
|
|
|
hpusbscsi on Linux) for Avision USB devices such as
|
|
|
|
|
the HP 53xx, HP 74xx or Minolta film-scanners.
|
|
|
|
|
|
|
|
|
|
A list with supported devices is built into the avision backend so
|
|
|
|
|
normally specifying an ID should not be necessary.
|
2002-12-01 19:17:47 +00:00
|
|
|
|
|
2000-08-12 15:11:46 +00:00
|
|
|
|
.SH FILES
|
|
|
|
|
.TP
|
|
|
|
|
.I @CONFIGDIR@/avision.conf
|
|
|
|
|
The backend configuration file (see also description of
|
|
|
|
|
.B SANE_CONFIG_DIR
|
|
|
|
|
below).
|
|
|
|
|
.TP
|
|
|
|
|
.I @LIBDIR@/libsane-avision.a
|
2003-05-09 10:49:15 +00:00
|
|
|
|
The static library implementing this backend.
|
2000-08-12 15:11:46 +00:00
|
|
|
|
.TP
|
|
|
|
|
.I @LIBDIR@/libsane-avision.so
|
|
|
|
|
The shared library implementing this backend (present on systems that
|
|
|
|
|
support dynamic loading).
|
2002-01-16 23:18:43 +00:00
|
|
|
|
|
2000-08-12 15:11:46 +00:00
|
|
|
|
.SH ENVIRONMENT
|
|
|
|
|
.TP
|
|
|
|
|
.B SANE_CONFIG_DIR
|
|
|
|
|
This environment variable specifies the list of directories that may
|
|
|
|
|
contain the configuration file. Under UNIX, the directories are
|
|
|
|
|
separated by a colon (`:'), under OS/2, they are separated by a
|
|
|
|
|
semi-colon (`;'). If this variable is not set, the configuration file
|
|
|
|
|
is searched in two default directories: first, the current working
|
|
|
|
|
directory (".") and then in @CONFIGDIR@. If the value of the
|
|
|
|
|
environment variable ends with the directory separator character, then
|
|
|
|
|
the default directories are searched after the explicitly specified
|
|
|
|
|
directories. For example, setting
|
|
|
|
|
.B SANE_CONFIG_DIR
|
|
|
|
|
to "/tmp/config:" would result in directories "tmp/config", ".", and
|
|
|
|
|
"@CONFIGDIR@" being searched (in this order).
|
|
|
|
|
.TP
|
|
|
|
|
.B SANE_DEBUG_AVISION
|
|
|
|
|
If the library was compiled with debug support enabled, this
|
2002-11-23 16:17:07 +00:00
|
|
|
|
environment variable controls the debug level for this backend.
|
|
|
|
|
Higher debug levels increase the verbosity of the output. The debug
|
|
|
|
|
level 7 is the author's prefered value to debug backend problems.
|
2000-08-12 15:11:46 +00:00
|
|
|
|
|
|
|
|
|
Example:
|
2002-11-23 16:17:07 +00:00
|
|
|
|
export SANE_DEBUG_AVISION=7
|
2000-08-12 15:11:46 +00:00
|
|
|
|
|
|
|
|
|
.SH "SEE ALSO"
|
2001-06-10 14:28:46 +00:00
|
|
|
|
sane(7), sane\-scsi(5)
|
2000-08-12 15:11:46 +00:00
|
|
|
|
.br
|
2002-01-16 23:18:43 +00:00
|
|
|
|
http://drocklinux.dyndns.org/rene/avision/index.html
|
|
|
|
|
|
2000-08-12 15:11:46 +00:00
|
|
|
|
.SH AUTHOR
|
2003-05-09 01:29:50 +00:00
|
|
|
|
Ren<EFBFBD> Rebe and Meino Christian Cramer
|