umax.conf 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. #
  2. # Options for the umax backend
  3. #
  4. # define scsi queueing depth
  5. #option scsi-maxqueue 2
  6. # define scsi buffer size in bytes
  7. #option scsi-buffer-size-min 65536
  8. #option scsi-buffer-size-max 262144
  9. # define scan lines that shall be read in one block
  10. #option scan-lines 100
  11. #option preview-lines 20
  12. # define how to handle bad sense codes
  13. # 0 = handle as device busy
  14. # 1 = handle as ok
  15. # 2 = handle as i/o error
  16. # 3 = ignore bad error code - continue sense handler,
  17. #option handle-bad-sense-error 0
  18. # define if a request sense command shall be executed
  19. #option execute-request-sense 0
  20. # define if the preview bit shall be set when scanning in rgb mode
  21. #option force-preview-bit-rgb 0
  22. # define if slow speed flag shall be set
  23. # BE CAREFUL WITH THIS OPTION, IT MAY DESTROY YOUR SCANNER WHEN SET FALSE
  24. # -1 = automatically set by driver - if known
  25. # 0 = disabled
  26. # 1 = enabled
  27. #option slow-speed 0
  28. # define if care-about-smeraring flag shall be set
  29. # BE CAREFUL WITH THIS OPTION, IT MAY DESTROY YOUR SCANNER WHEN SET FALSE
  30. # -1 = automatically set by driver - if known
  31. # 0 = disabled
  32. # 1 = enabled
  33. #option care-about-smearing 0
  34. # define if the calibration shall be done for selected scanarea or for each ccd pixel
  35. # -1 = automatically set by driver - if known
  36. # 0 = disabled
  37. # 1 = enabled
  38. #option calibration-full-ccd 1
  39. # define if an offset of the calculate calibration with has to be used
  40. # -99999 = auto
  41. #option calibration-width-offset -99999
  42. # define the number of pixels that is used for calibration
  43. # -1 = disabled
  44. # 0 = not set
  45. # 1 = 1 byte/pixel,
  46. # 2 = 2 bytes/pixel
  47. #option calibration-bytes-pixel -1
  48. # define if scanner uses the same exposure times for red, green and blue
  49. # -1 = automatically set by driver - if known
  50. # 0 = disabled (own selection for red, green and blue)
  51. # 1 = enabled (same values for red, green and blue)
  52. #options exposure-time-rgb-bind 0
  53. # define if shading data shall be inverted befor sending it back to the scanner
  54. # -1 = automatically set by driver - if known
  55. # 0 = disabled
  56. # 1 = enabled
  57. #option invert-shading-data 0
  58. # define if the scanner supports lamp control commands
  59. # 0 = automatically set by driver - if known
  60. # 1 = enabled
  61. #option lamp-control-available 0
  62. # define how 16 bit gamma data is padded
  63. # -1 = automatically set by driver - if known
  64. # 0 = gamma data is msb padded
  65. # 1 = gamma data is lsb padded
  66. #option gamma-lsb-padded 0
  67. # define connection type of following devices
  68. # 1 = scsi
  69. # 2 = usb
  70. #option connection-type 1
  71. # linux device identification:
  72. #scsi vendor model type bus channel id lun
  73. scsi UMAX * Scanner
  74. scsi LinoHell JADE
  75. scsi LinoHell Office
  76. scsi LinoHell Office2
  77. scsi LinoHell SAPHIR2
  78. scsi LinoHell SAPHIR3
  79. scsi Linotype SAPHIR4
  80. scsi LinoHell OPAL2
  81. scsi HDM LS4H1S
  82. scsi Nikon AX-110
  83. scsi Nikon AX-210
  84. scsi KYE ColorPage-HR5
  85. scsi EPSON Perfection600
  86. scsi ESCORT "Galleria 600S"
  87. scsi TriGem PowerScanII
  88. # Umax Astra 2200 via USB:
  89. # usb vendor product
  90. usb 0x1606 0x0230
  91. # scsi device list
  92. option connection-type 1
  93. /dev/scanner
  94. # usb device list
  95. option connection-type 2
  96. /dev/usbscanner