plustek.conf 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. # Plustek-SANE Backend configuration file
  2. # For use with LM9831/2/3 based USB scanners
  3. #
  4. # each device needs at least two lines:
  5. # - [usb] vendor-ID and product-ID
  6. # - device devicename
  7. # i.e. for Plustek (0x07B3) UT12/16/24 (0x0017)
  8. # [usb] 0x07B3 0x0017
  9. # device /dev/usbscanner
  10. # or
  11. # device libusb:bbb:ddd
  12. # where bbb is the busnumber and ddd the device number
  13. # make sure that your user has access to /proc/bus/usb/bbb/ddd
  14. #
  15. # additionally you can specify some options
  16. # warmup, lOffOnEnd, lampOff
  17. #
  18. # For autodetection use
  19. # [usb]
  20. # device /dev/usbscanner
  21. #
  22. # or simply
  23. # [usb]
  24. #
  25. # or if you want a specific device but you have no idea about the
  26. # device node or you use libusb, simply set vendor- and product-ID
  27. # [usb] 0x07B3 0x0017
  28. # device auto
  29. #
  30. # NOTE: autodetection is safe, as it uses the info it got
  31. # from the USB subsystem. If you're not using the
  32. # autodetection, you MUST have attached that device
  33. # at your USB-port, that you have specified...
  34. #
  35. [usb]
  36. #
  37. # options for the previous USB entry
  38. #
  39. # switch lamp off after xxx secs, 0 disables the feature
  40. # (can also be set via frontend)
  41. option lampOff 300
  42. # warmup period in seconds, 0 means no warmup, -1 means auto-warmup
  43. # (can also be set via frontend)
  44. option warmup -1
  45. # 0 means leave lamp-status untouched, not 0 means switch off
  46. # on sane_close
  47. # (can also be set via frontend)
  48. option lOffOnEnd 1
  49. #
  50. # options to tweak the image start-position
  51. # (WARNING: there's no internal range check!!!)
  52. #
  53. # for the normal scan area
  54. #
  55. option posOffX 0
  56. option posOffY 0
  57. # for transparencies
  58. option tpaOffX 0
  59. option tpaOffY 0
  60. # for negatives
  61. option negOffX 0
  62. option negOffY 0
  63. #
  64. # for setting the calibration strip position
  65. # (WARNING: there's no internal range check!!!)
  66. # -1 means use built in
  67. # (can also be set via frontend)
  68. option posShadingY -1
  69. option tpaShadingY -1
  70. option negShadingY -1
  71. #
  72. # to invert the negatives, 0 disables the feature
  73. #
  74. option invertNegatives 0
  75. #
  76. # to disable the internal sensor speedup function,
  77. # 1 disables the feature
  78. #
  79. option disableSpeedup 0
  80. #
  81. # to save/restore coarse calibration data
  82. # (can also be set via frontend)
  83. option cacheCalData 0
  84. #
  85. # use alternate calibration routines
  86. #
  87. option altCalibration 0
  88. #
  89. # for skipping whole calibration step
  90. #
  91. option skipCalibration 0
  92. #
  93. # for skipping entire fine calibration step
  94. # coarse calibration is done
  95. #
  96. option skipFine 0
  97. #
  98. # discard the result of the fine white calibration
  99. #
  100. option skipFineWhite 0
  101. #
  102. # some scanners have a dark calibration strip, in
  103. # general this one should be used for calibration.
  104. # As this could cause some trouble, this option
  105. # overrides that and the dark calibration will be
  106. # done by switching the lamp off
  107. #
  108. option skipDarkStrip 0
  109. # for replacing the gain values found during coarse
  110. # calibration
  111. # (can also be set via frontend)
  112. option red_gain -1
  113. option green_gain -1
  114. option blue_gain -1
  115. # for replacing the offset values found during coarse
  116. # calibration
  117. # (can also be set via frontend)
  118. option red_offset -1
  119. option green_offset -1
  120. option blue_offset -1
  121. #
  122. # for replacing the default lampoff settings, this
  123. # works only for CIS devices like CanoScan LiDE20
  124. # (can also be set via frontend)
  125. option red_lampoff -1
  126. option green_lampoff -1
  127. option blue_lampoff -1
  128. #
  129. # for adjusting the default gamma values
  130. # (can also be set via frontend)
  131. option redGamma 1.0
  132. option greenGamma 1.0
  133. option blueGamma 1.0
  134. option grayGamma 1.0
  135. #
  136. # to enable TPA (EPSON or UMAX, if autodetection fails)
  137. # 0 means default behaviour as specified in the internal tables
  138. # 1 means enable (needed for UMAX 3450)
  139. option enableTPA 0
  140. #
  141. # model override functionality, currently only available for
  142. # Mustek devices, using NSCs' vendor ID: 0x0400 and
  143. # also their product ID: 0x1000 (LM9831) 0x1001 (LM9832)
  144. #
  145. # mov/PID | 0x1000 | 0x1001
  146. # ---------------------------------------
  147. # 0 (default)| BearPaw1200 | BearPaw 2400
  148. # 1 | ignored | BearPaw 1200
  149. #
  150. option mov 0
  151. #
  152. # and of course the device-name
  153. #
  154. # device /dev/usbscanner
  155. device auto
  156. #
  157. # to define a new device, start with a new section:
  158. # [usb]
  159. #