• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# the ST400 is fixed to ID 3
2scsi SIEMENS "ST 400" Scanner * * 3 *
3scsi SIEMENS "ST 800" Scanner * * 3 *
4
5# The following options are for testing and bug-hunting.  If your scanner
6# needs one of these options to function reliably, please let me know.
7
8# Maximum amount of data to read in a single SCSI command.  If not set
9# (or set to 0), the backend will read as much data as allowed by the
10# scanner model or the OS.  WARNING: Using this option overrides the
11# hardcoded # maxread limits for all scanner models!  With more than
12# 65536 bytes, my ST400 locks up (itself, the SCSI bus, the sg driver,
13# and the machine). Use with caution.
14#option maxread 65536
15
16# Use this to switch the scanner lights on with a separate MODE SELECT call
17# and wait for some time before starting to scan (to allow the lights to go
18# to full intensity).  The time is in 1/10 seconds (i.e. 20 means 2 seconds).
19# If not set, scanning starts immediately (works with my ST400).
20#option delay 20
21
22# The following are hacks that affect all scanners of the same model as the
23# last attached device.  Used like this (assume ST800's had 8bit depth and
24# 4MB internal buffer):
25#   scsi SIEMENS "ST 400" Scanner * * 3 *
26#   option scanner_bufsize 2097152
27#   option scanner_bits 6
28#   scsi SIEMENS "ST 800" Scanner * * 3 *
29#   option scanner_bufsize 4194304
30#   option scanner_bits 8
31# Currently, the backend has entries for ST400, ST800 and "everything else".
32# To add more scanners, you have to add a line in the st400_models array.
33# Please note that these options are only for testing unknown devices with
34# this backend.
35
36# Internal scanner buffer:
37#option scanner_bufsize 2097152
38
39# Bit depth:
40#option scanner_bits 6
41
42# Maximum bytes to read in a single SCSI command (see also maxread above).
43#option scanner_maxread 65536
44
45# Supported resolutions (up to 15 different values).  If you specify an
46# illegal value here, most likely the scanner will not report an error,
47# but only scan a small sub-area of the requested area (at least my ST400
48# does this).
49#option scanner_resolutions 200 300 400
50
51# This option causes the SCSI inquiry response to be written to
52# "$HOME/st400.dump" (as binary data).  For debugging purposes.
53#option dump_inquiry
54