2000-08-24 06:38:30 +00:00
|
|
|
# Plustek-SANE Backend configuration file
|
2003-09-23 07:10:53 +00:00
|
|
|
# For use with LM9831/2/3 based USB scanners
|
2000-08-24 06:38:30 +00:00
|
|
|
#
|
2002-01-10 19:39:32 +00:00
|
|
|
|
2001-12-29 15:34:03 +00:00
|
|
|
# each device needs at least two lines:
|
2003-10-28 07:23:08 +00:00
|
|
|
# - [usb] vendor-ID and product-ID
|
2002-01-10 19:39:32 +00:00
|
|
|
# - device devicename
|
2001-12-29 15:34:03 +00:00
|
|
|
# i.e. for Plustek (0x07B3) UT12/16/24 (0x0017)
|
2003-10-28 07:23:08 +00:00
|
|
|
# [usb] 0x07B3 0x0017
|
2002-01-10 19:39:32 +00:00
|
|
|
# device /dev/usbscanner
|
2003-01-10 13:32:11 +00:00
|
|
|
# or
|
|
|
|
# device libusb:bbb:ddd
|
|
|
|
# where bbb is the busnumber and ddd the device number
|
|
|
|
# make sure that your user has access to /proc/bus/usb/bbb/ddd
|
2002-01-10 19:39:32 +00:00
|
|
|
#
|
|
|
|
# additionally you can specify some options
|
|
|
|
# warmup, lOffOnEnd, lampOff
|
2001-12-29 15:34:03 +00:00
|
|
|
#
|
2002-03-10 15:53:13 +00:00
|
|
|
# For autodetection use
|
2003-10-28 07:23:08 +00:00
|
|
|
# [usb]
|
2002-01-10 19:39:32 +00:00
|
|
|
# device /dev/usbscanner
|
|
|
|
#
|
2003-01-10 13:32:11 +00:00
|
|
|
# or simply
|
2003-10-28 07:23:08 +00:00
|
|
|
# [usb]
|
2003-01-10 13:32:11 +00:00
|
|
|
#
|
2003-09-29 14:59:13 +00:00
|
|
|
# or if you want a specific device but you have no idea about the
|
|
|
|
# device node or you use libusb, simply set vendor- and product-ID
|
2003-10-28 07:23:08 +00:00
|
|
|
# [usb] 0x07B3 0x0017
|
2003-01-10 13:32:11 +00:00
|
|
|
# device auto
|
|
|
|
#
|
2002-03-10 15:53:13 +00:00
|
|
|
# NOTE: autodetection is safe, as it uses the info it got
|
|
|
|
# from the USB subsystem. If you're not using the
|
|
|
|
# autodetection, you MUST have attached that device
|
|
|
|
# at your USB-port, that you have specified...
|
|
|
|
#
|
2002-01-10 19:39:32 +00:00
|
|
|
|
2003-10-28 07:23:08 +00:00
|
|
|
[usb]
|
2002-01-10 19:39:32 +00:00
|
|
|
|
2001-12-29 15:34:03 +00:00
|
|
|
#
|
2002-01-10 19:39:32 +00:00
|
|
|
# options for the previous USB entry
|
|
|
|
#
|
|
|
|
# switch lamp off after xxx secs, 0 disables the feature
|
2003-01-10 13:32:11 +00:00
|
|
|
option lampOff 300
|
2002-01-10 19:39:32 +00:00
|
|
|
|
|
|
|
# warmup period in seconds, 0 means no warmup
|
2003-01-10 13:32:11 +00:00
|
|
|
option warmup 15
|
2002-01-10 19:39:32 +00:00
|
|
|
|
|
|
|
# 0 means leave lamp-status untouched, not 0 means switch off
|
|
|
|
# on sane_close
|
2003-01-10 13:32:11 +00:00
|
|
|
option lOffOnEnd 1
|
2002-01-10 19:39:32 +00:00
|
|
|
|
2002-03-10 15:53:13 +00:00
|
|
|
#
|
|
|
|
# options to tweak the image start-position
|
|
|
|
# (WARNING: there's no internal range check!!!)
|
|
|
|
#
|
|
|
|
# for the normal scan area
|
|
|
|
#
|
|
|
|
option posOffX 0
|
|
|
|
option posOffY 0
|
|
|
|
|
|
|
|
# for transparencies
|
|
|
|
option tpaOffX 0
|
|
|
|
option tpaOffY 0
|
|
|
|
|
|
|
|
# for negatives
|
|
|
|
option negOffX 0
|
|
|
|
option negOffY 0
|
|
|
|
|
2002-10-15 18:02:53 +00:00
|
|
|
#
|
|
|
|
# for setting the calibration strip position
|
|
|
|
# (WARNING: there's no internal range check!!!)
|
|
|
|
# -1 means use built in
|
|
|
|
#
|
|
|
|
option posShadingY -1
|
|
|
|
option tpaShadingY -1
|
|
|
|
option negShadingY -1
|
|
|
|
|
|
|
|
#
|
|
|
|
# to invert the negatives, 0 disables the feature
|
|
|
|
#
|
|
|
|
option invertNegatives 0
|
|
|
|
|
2003-09-23 07:10:53 +00:00
|
|
|
#
|
|
|
|
# to save/restore coarse calibration data
|
|
|
|
#
|
|
|
|
option cacheCalData 0
|
|
|
|
|
|
|
|
#
|
|
|
|
# use alternate calibration routines
|
|
|
|
#
|
|
|
|
option altCalibration 0
|
|
|
|
|
2003-01-10 13:32:11 +00:00
|
|
|
# for skipping whole calibration step
|
2002-10-15 18:02:53 +00:00
|
|
|
option skipCalibration 0
|
|
|
|
|
2003-01-10 13:32:11 +00:00
|
|
|
# for skipping entire fine calibration step
|
|
|
|
# coarse calibration is done
|
2003-01-24 11:44:04 +00:00
|
|
|
option skipFine 0
|
2003-01-10 13:32:11 +00:00
|
|
|
|
|
|
|
# discard the result of the fine white calibration
|
|
|
|
option skipFineWhite 0
|
|
|
|
|
2002-10-15 18:02:53 +00:00
|
|
|
# for replacing the gain values found during
|
|
|
|
# calibration
|
|
|
|
option red_gain -1
|
|
|
|
option green_gain -1
|
|
|
|
option blue_gain -1
|
|
|
|
|
2002-03-10 15:53:13 +00:00
|
|
|
#
|
|
|
|
# for adjusting the default gamma values
|
|
|
|
#
|
|
|
|
option redGamma 1.0
|
|
|
|
option greenGamma 1.0
|
|
|
|
option blueGamma 1.0
|
|
|
|
option grayGamma 1.0
|
|
|
|
|
2002-08-16 11:43:30 +00:00
|
|
|
#
|
|
|
|
# to enable TPA (non Plustek devices only)
|
|
|
|
# 0 means default behaviour as specified in the internal tables
|
|
|
|
# 1 means enable
|
|
|
|
#
|
2002-10-04 17:55:55 +00:00
|
|
|
option enableTPA 0
|
2002-08-16 11:43:30 +00:00
|
|
|
|
2002-01-10 19:39:32 +00:00
|
|
|
#
|
|
|
|
# and of course the device-name
|
|
|
|
#
|
2003-01-10 13:32:11 +00:00
|
|
|
# device /dev/usbscanner
|
|
|
|
device auto
|
2000-08-24 06:38:30 +00:00
|
|
|
|
2002-01-10 19:39:32 +00:00
|
|
|
#
|
|
|
|
# to define a new device, start with a new section:
|
2003-10-28 07:23:08 +00:00
|
|
|
# [usb]
|
2002-01-10 19:39:32 +00:00
|
|
|
#
|