st400.conf 2.2 KB

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