sane-avisionSection: SANE Scanner Access Now Easy (5)Updated: 04 Mar 2003 |
sane-avisionSection: SANE Scanner Access Now Easy (5)Updated: 04 Mar 2003 |
This file is a short descripton for the avision-backend shipped with SANE.
I suggest you hold one hand on the power-button of the scanner while you try the first scans!
The configuration file for this backend resides in
/etc/sane.d/avision.conf.
Its contents is a list of device names that correspond to Avision and Avision compatible scanners and backend-options. Empty lines and lines starting with a hash mark (#) are ignored. A sample configuration file is shown below:
# this is a comment
option force-a4
option disable-gamma-table
option disable-calibration
option one-calib-only
option old-calibration
#scsi Vendor Model Type Bus Channel ID LUN
scsi AVISION
scsi HP
scsi /dev/scanner
usb 0x03f0 0x0701
- force-a4:
Forces the backend to overwrite the scanable area
returned by the scanner. This might be needed for
the AV 630 which returns no area - or newer scanners
which retun the area in a unkown format our backend
doesn't recongize yet.
- disable-gamma-table:
Disables the usage of the scanner's gamma-table. You
might try this if your scans hang or only produces
random garbage.
- disable-calibration:
Disables the scanner's color calibration. You
might try this if your scans hang or only produces
random garbage.
- one-calib-only:
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.
- 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.
usb usb-sec
Where scsi-spec is the path-name to a special device or a device ID for the device that corresponds to a SCSI scanner. The special device name must be a generic SCSI device or a symlink to such a device, for example on Linux "/dev/sga" or "/dev/sg0". The device ID is the ID returned by the scanner, for example "HP" or "AVISION". See sane-scsi(5) for details.
Note: Since the backend now includes native USB access,
it is no longer needed - even considered obsolete -
to access USB scanner via the SCSI emulation (named
hpusbscsi on Linux) for Avision USB devices such as
the HP 53xx, HP 74xx or Minolta film-scanners.
usb-spec is the USB device name, the vendor/product ID pair or the name used by libusb corresponding to the USB scanner. For example "0x03f0 0x0701" or "libusb:002:003". See sane-usb(5) for details.
The program sane-find-scanner helps to find out the correct scsi or usb device name.
A list with supported devices is built into the avision backend so normally specifying an ID should not be necessary.
Example: export SANE_DEBUG_AVISION=7