kopia lustrzana https://gitlab.com/sane-project/backends
68 wiersze
1.5 KiB
Plaintext
68 wiersze
1.5 KiB
Plaintext
![]() |
# U12-SANE Backend configuration file
|
||
|
#
|
||
|
|
||
|
# each device needs at least two lines:
|
||
|
# - [usb] vendor-ID and product-ID
|
||
|
# - device devicename
|
||
|
# i.e. for Plustek (0x07B3) U1212 (0x0001)
|
||
|
# [usb] 0x07B3 0x0001
|
||
|
# device /dev/usbscanner
|
||
|
# 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
|
||
|
#
|
||
|
# additionally you can specify some options
|
||
|
# warmup, lOffOnEnd, lampOff
|
||
|
#
|
||
|
# For autodetection use
|
||
|
# [usb]
|
||
|
# device /dev/usbscanner
|
||
|
#
|
||
|
# or simply
|
||
|
# [usb]
|
||
|
#
|
||
|
# 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
|
||
|
# [usb] 0x07B3 0x0001
|
||
|
# device auto
|
||
|
#
|
||
|
# 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...
|
||
|
#
|
||
|
|
||
|
[usb]
|
||
|
|
||
|
#
|
||
|
# options for the previous USB entry
|
||
|
#
|
||
|
# switch lamp off after xxx secs, 0 disables the feature
|
||
|
option lampOff 300
|
||
|
|
||
|
# warmup period in seconds, 0 means no warmup
|
||
|
option warmup 15
|
||
|
|
||
|
# 0 means leave lamp-status untouched, not 0 means switch off
|
||
|
# on sane_close
|
||
|
option lOffOnEnd 1
|
||
|
|
||
|
#
|
||
|
# for adjusting the default gamma values
|
||
|
#
|
||
|
option redGamma 1.0
|
||
|
option greenGamma 1.0
|
||
|
option blueGamma 1.0
|
||
|
option grayGamma 1.0
|
||
|
|
||
|
#
|
||
|
# and of course the device-name
|
||
|
#
|
||
|
device auto
|
||
|
|
||
|
#
|
||
|
# to define a new device, start with a new section:
|
||
|
# [usb]
|
||
|
#
|