summaryrefslogtreecommitdiff
path: root/testsuite/sanei/data
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sanei/data')
-rw-r--r--testsuite/sanei/data/boolean.conf6
-rw-r--r--testsuite/sanei/data/empty.conf1
-rw-r--r--testsuite/sanei/data/fixed.conf6
-rw-r--r--testsuite/sanei/data/int.conf2
-rw-r--r--testsuite/sanei/data/snapscan.conf115
-rw-r--r--testsuite/sanei/data/string-list.conf3
-rw-r--r--testsuite/sanei/data/string.conf3
-rw-r--r--testsuite/sanei/data/umax_pp.conf64
-rw-r--r--testsuite/sanei/data/word-array.conf2
-rw-r--r--testsuite/sanei/data/wrong-boolean.conf4
-rw-r--r--testsuite/sanei/data/wrong-fixed.conf2
-rw-r--r--testsuite/sanei/data/wrong-range.conf2
-rw-r--r--testsuite/sanei/data/wrong-string-list.conf3
13 files changed, 213 insertions, 0 deletions
diff --git a/testsuite/sanei/data/boolean.conf b/testsuite/sanei/data/boolean.conf
new file mode 100644
index 0000000..f71c0be
--- /dev/null
+++ b/testsuite/sanei/data/boolean.conf
@@ -0,0 +1,6 @@
+# true boolean value
+option booltrue true
+# false boolean value
+boolfalse false
+# boolean array
+option boolarray false true false
diff --git a/testsuite/sanei/data/empty.conf b/testsuite/sanei/data/empty.conf
new file mode 100644
index 0000000..f26ad08
--- /dev/null
+++ b/testsuite/sanei/data/empty.conf
@@ -0,0 +1 @@
+attach devname
diff --git a/testsuite/sanei/data/fixed.conf b/testsuite/sanei/data/fixed.conf
new file mode 100644
index 0000000..db8dc01
--- /dev/null
+++ b/testsuite/sanei/data/fixed.conf
@@ -0,0 +1,6 @@
+# FIXED type options
+option height 29.7
+some device
+option array-of-fixed 2.0 2.1 2.2 2.3 2.4 2.5 2.6
+another device
+option width 21.0
diff --git a/testsuite/sanei/data/int.conf b/testsuite/sanei/data/int.conf
new file mode 100644
index 0000000..da6738c
--- /dev/null
+++ b/testsuite/sanei/data/int.conf
@@ -0,0 +1,2 @@
+option modelnumber 1234
+attach devname
diff --git a/testsuite/sanei/data/snapscan.conf b/testsuite/sanei/data/snapscan.conf
new file mode 100644
index 0000000..b244e3a
--- /dev/null
+++ b/testsuite/sanei/data/snapscan.conf
@@ -0,0 +1,115 @@
+#------------------------------ General -----------------------------------
+
+# Change to the fully qualified filename of your firmware file, if
+# firmware upload is needed by the scanner
+firmware /usr/share/sane/snapscan/your-firmwarefile.bin
+
+# If not automatically found you may manually specify a device name.
+
+# For USB scanners also specify bus=usb, e.g.
+# /dev/usb/scanner0 bus=usb
+
+# For SCSI scanners specify the generic device, e.g. /dev/sg0 on Linux.
+# /dev/sg0
+
+#---------------------------------------------------------------------------
+# No changes should be necessary below this line
+#---------------------------------------------------------------------------
+
+#-------------------------- SCSI scanners ----------------------------------
+# These SCSI devices will be probed automatically
+scsi AGFA * Scanner
+scsi COLOR * Scanner
+scsi Color * Scanner
+scsi ACERPERI * Scanner
+
+#--------------------------- USB scanners -----------------------------------
+# These USB devices will be probed automatically
+# (This will currently work only on Linux)
+
+# Benq/Acer/Vuego 310U
+usb 0x04a5 0x1a20
+usb 0x04a5 0x1a26
+
+# Benq/Acer/Vuego 320U
+usb 0x04a5 0x2022
+
+# Benq/Acer/Vuego 620U / 620UT
+usb 0x04a5 0x1a2a
+usb 0x04a5 0x2040
+
+# Benq/Acer/Vuego 640U
+usb 0x04a5 0x2060
+
+# Benq/Acer/Vuego 640BU
+usb 0x04a5 0x207e
+
+# Benq/Acer/Vuego 640BT
+usb 0x04a5 0x20be
+
+# Benq/Acer/Vuego 1240U
+usb 0x04a5 0x20c0
+
+# Benq/Acer/Vuego 3300 / 4300
+usb 0x04a5 0x20b0
+
+# Benq/Acer/Vuego 4300
+usb 0x04a5 0x20de
+
+# Benq 5000E / 5000U
+usb 0x04a5 0x20f8
+
+# Benq 5000
+usb 0x04a5 0x20fc
+
+# Benq/Acer 5300
+usb 0x04a5 0x20fe
+
+# Benq 5250C
+usb 0x04a5 0x2137
+
+# Agfa 1236U
+usb 0x06bd 0x0002
+
+# Agfa 1212U
+usb 0x06bd 0x0001
+usb 0x06bd 0x2061
+
+# Agfa Snapscan e10
+usb 0x06bd 0x2093
+
+# Agfa Snapscan e20
+usb 0x06bd 0x2091
+
+# Agfa Snapscan e25
+usb 0x06bd 0x2095
+
+# Agfa Snapscan e26
+usb 0x06bd 0x2097
+
+# Agfa Snapscan e40
+usb 0x06bd 0x208d
+
+# Agfa Snapscan e42
+usb 0x06bd 0x20ff
+
+# Agfa Snapscan e50
+usb 0x06bd 0x208f
+
+# Agfa Snapscan e52
+usb 0x06bd 0x20fd
+
+# Epson Perfection 660
+usb 0x04b8 0x0114
+
+# Epson Perfection 1670
+usb 0x04b8 0x011f
+
+# Epson Perfection 2480
+usb 0x04b8 0x0121
+
+# Epson Perfection 3490
+usb 0x04b8 0x0122
+
+# Epson Stylus CX-1500
+usb 0x04b8 0x080c
diff --git a/testsuite/sanei/data/string-list.conf b/testsuite/sanei/data/string-list.conf
new file mode 100644
index 0000000..ffd9b57
--- /dev/null
+++ b/testsuite/sanei/data/string-list.conf
@@ -0,0 +1,3 @@
+# one choice from string1, string2, string3 and string4
+option string-choice "string3"
+attach devname
diff --git a/testsuite/sanei/data/string.conf b/testsuite/sanei/data/string.conf
new file mode 100644
index 0000000..eb3a1cb
--- /dev/null
+++ b/testsuite/sanei/data/string.conf
@@ -0,0 +1,3 @@
+option modelname "my model"
+vendor "my vendor"
+attach devname
diff --git a/testsuite/sanei/data/umax_pp.conf b/testsuite/sanei/data/umax_pp.conf
new file mode 100644
index 0000000..69cc47d
--- /dev/null
+++ b/testsuite/sanei/data/umax_pp.conf
@@ -0,0 +1,64 @@
+# For documentation see sane-umax_pp(5)
+
+# GLOBAL #
+
+# size (in bytes) of scan buffer (default: 2 megabyte)
+option buffer 1048576
+
+
+# DEVICES #
+
+# specify the port your scanner is connected to.
+#
+# the value 'auto' will make the backend find the correct value
+# by itself, it will scan ppdev, ppi device, then hardware address
+# 'safe-auto' will do the same but won't do direct hardware access
+# on linux systems, you may provide the device name of the ppdev character
+# device : /dev/parport0, /dev/parport1, ......
+#
+# on *BSD, you may provide the device name of the ppi device: /dev/ppi0,
+# /dev/ppi1, ...
+#
+# Possible hardware addresses are 0x378 (lp0)
+# 0x278 (lp2) and 0x3c8 (lp1)
+#
+
+port safe-auto
+
+# the following options are local to this scanner
+# gain for red channel, if not given, will be automatically computed
+# must be between 0 and 15
+option red-gain 1
+
+# gain for green channel, if not given, will be automatically computed
+# must be between 0 and 15
+option green-gain 2
+
+# gain for blue channel, if not given, will be automatically computed
+# must be between 0 and 15
+option blue-gain 3
+
+# offset for red channel, if not given, will default to 0
+# must be between 0 and 15
+option red-offset 4
+
+# offset for green channel, if not given, will default to 0
+# must be between 0 and 15
+option green-offset 5
+
+# offset for blue channel, if not given, will default to 0
+# must be between 0 and 15
+option blue-offset 6
+
+
+#
+#
+# model number
+#
+# valid values are 610, 1220, 1600 and 2000
+#
+# by default, no model, we rely on autodetection
+# in case you have black or 'inverted' scans,
+# you may override detection by providing the
+# model number
+option astra 1600
diff --git a/testsuite/sanei/data/word-array.conf b/testsuite/sanei/data/word-array.conf
new file mode 100644
index 0000000..4a8a58a
--- /dev/null
+++ b/testsuite/sanei/data/word-array.conf
@@ -0,0 +1,2 @@
+option numbers 1000 1100 1200 1300 1400 1500 1600
+attach devname
diff --git a/testsuite/sanei/data/wrong-boolean.conf b/testsuite/sanei/data/wrong-boolean.conf
new file mode 100644
index 0000000..c8b64fe
--- /dev/null
+++ b/testsuite/sanei/data/wrong-boolean.conf
@@ -0,0 +1,4 @@
+# true boolean value
+option booltrue true
+# false boolean value
+boolfalse buggy
diff --git a/testsuite/sanei/data/wrong-fixed.conf b/testsuite/sanei/data/wrong-fixed.conf
new file mode 100644
index 0000000..846c91c
--- /dev/null
+++ b/testsuite/sanei/data/wrong-fixed.conf
@@ -0,0 +1,2 @@
+# value out of range
+option height 59.7
diff --git a/testsuite/sanei/data/wrong-range.conf b/testsuite/sanei/data/wrong-range.conf
new file mode 100644
index 0000000..00d005c
--- /dev/null
+++ b/testsuite/sanei/data/wrong-range.conf
@@ -0,0 +1,2 @@
+option modelnumber 234
+attach devname
diff --git a/testsuite/sanei/data/wrong-string-list.conf b/testsuite/sanei/data/wrong-string-list.conf
new file mode 100644
index 0000000..7d8c82e
--- /dev/null
+++ b/testsuite/sanei/data/wrong-string-list.conf
@@ -0,0 +1,3 @@
+# one choice from string1, string2, string3 and string4
+option string-choice "wrong"
+attach devname