xref: /third_party/backends/backend/u12.conf.in (revision 141cc406)
1# U12-SANE Backend configuration file
2#
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) U1212 (0x0001)
8# [usb] 0x07B3 0x0001
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 0x0001
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
36[usb]
37
38#
39# options for the previous USB entry
40#
41# switch lamp off after xxx secs, 0 disables the feature
42option lampOff 300
43
44# warmup period in seconds, 0 means no warmup
45option warmup 15
46
47# 0 means leave lamp-status untouched, not 0 means switch off
48# on sane_close
49option lOffOnEnd 1
50
51#
52# for adjusting the default gamma values
53#
54#option redGamma         1.5
55#option greenGamma       1.5
56#option blueGamma        1.5
57#option grayGamma        1.5
58
59#
60# and of course the device-name
61#
62device auto
63
64#
65# to define a new device, start with a new section:
66# [usb]
67#
68