diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-10-06 14:00:40 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-10-06 14:00:40 +0200 |
commit | 6e9c41a892ed0e0da326e0278b3221ce3f5713b8 (patch) | |
tree | 2e301d871bbeeb44aa57ff9cc070fcf3be484487 /backend/st400.conf.in |
Initial import of sane-backends version 1.0.24-1.2
Diffstat (limited to 'backend/st400.conf.in')
-rw-r--r-- | backend/st400.conf.in | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/backend/st400.conf.in b/backend/st400.conf.in new file mode 100644 index 0000000..5e29226 --- /dev/null +++ b/backend/st400.conf.in @@ -0,0 +1,53 @@ +# the ST400 is fixed to ID 3 +scsi SIEMENS "ST 400" Scanner * * 3 * +scsi SIEMENS "ST 800" Scanner * * 3 * + +# The following options are for testing and bug-hunting. If your scanner +# needs one of these options to function reliably, please let me know. + +# Maximum amount of data to read in a single SCSI command. If not set +# (or set to 0), the backend will read as much data as allowed by the +# scanner model or the OS. WARNING: Using this option overrides the +# hardcoded # maxread limits for all scanner models! With more than +# 65536 bytes, my ST400 locks up (itself, the SCSI bus, the sg driver, +# and the machine). Use with caution. +#option maxread 65536 + +# Use this to switch the scanner lights on with a separate MODE SELECT call +# and wait for some time before starting to scan (to allow the lights to go +# to full intensity). The time is in 1/10 seconds (i.e. 20 means 2 seconds). +# If not set, scanning starts immediately (works with my ST400). +#option delay 20 + +# The following are hacks that affect all scanners of the same model as the +# last attached device. Used like this (assume ST800's had 8bit depth and +# 4MB internal buffer): +# scsi SIEMENS "ST 400" Scanner * * 3 * +# option scanner_bufsize 2097152 +# option scanner_bits 6 +# scsi SIEMENS "ST 800" Scanner * * 3 * +# option scanner_bufsize 4194304 +# option scanner_bits 8 +# Currently, the backend has entries for ST400, ST800 and "everything else". +# To add more scanners, you have to add a line in the st400_models array. +# Please note that these options are only for testing unknown devices with +# this backend. + +# Internal scanner buffer: +#option scanner_bufsize 2097152 + +# Bit depth: +#option scanner_bits 6 + +# Maximum bytes to read in a single SCSI command (see also maxread above). +#option scanner_maxread 65536 + +# Supported resolutions (upto 15 different values). If you specify an +# illegal value here, most likely the scanner will not report an error, +# but only scan a small sub-area of the requested area (at least my ST400 +# does this). +#option scanner_resolutions 200 300 400 + +# This option causes the SCSI inquiry response to be written to +# "$HOME/st400.dump" (as binary data). For debugging purposes. +#option dump_inquiry |