1/* -------------------------------------------------------------------- */
2
3/* umax-scanner.c: scanner-definiton file for UMAX scanner driver.
4
5   (C) 1997-2004 Oliver Rauch
6
7   This program is free software; you can redistribute it and/or
8   modify it under the terms of the GNU General Public License as
9   published by the Free Software Foundation; either version 2 of the
10   License, or (at your option) any later version.
11
12   This program is distributed in the hope that it will be useful, but
13   WITHOUT ANY WARRANTY; without even the implied warranty of
14   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15   General Public License for more details.
16
17   You should have received a copy of the GNU General Public License
18   along with this program.  If not, see <https://www.gnu.org/licenses/>.
19
20   As a special exception, the authors of SANE give permission for
21   additional uses of the libraries contained in this release of SANE.
22
23   The exception is that, if you link a SANE library with other files
24   to produce an executable, this does not by itself cause the
25   resulting executable to be covered by the GNU General Public
26   License.  Your use of that executable is in no way restricted on
27   account of linking the SANE library code into it.
28
29   This exception does not, however, invalidate any other reasons why
30   the executable file might be covered by the GNU General Public
31   License.
32
33   If you submit changes to SANE to the maintainers to be included in
34   a subsequent release, you agree by submitting the changes that
35   those changes may be distributed with this exception intact.
36
37   If you write modifications of your own for SANE, it is your choice
38   whether to permit this exception to apply to your modifications.
39   If you do not wish that, delete this exception notice.
40
41 */
42
43/* -------------------------------------------------------------------- */
44
45#include "umax-scanner.h"
46
47/* ==================================================================== */
48
49/* scanners that are supported because the driver knows missing */
50/* inquiry-data */
51
52/* these umax-*.c files are included and not compiled separately */
53/* because this way the symbols are not exported */
54
55#include "umax-uc630.c"
56#include "umax-uc840.c"
57#include "umax-ug630.c"
58#include "umax-ug80.c"
59#include "umax-uc1200s.c"
60#include "umax-uc1200se.c"
61#include "umax-uc1260.c"
62
63static inquiry_blk *inquiry_table[] =
64{
65  &inquiry_uc630,
66  &inquiry_uc840,
67  &inquiry_ug630,
68  &inquiry_ug80,
69  &inquiry_uc1200s,
70  &inquiry_uc1200se,
71  &inquiry_uc1260
72};
73
74#define known_inquiry 7
75
76/* ==================================================================== */
77
78/* names of scanners that are supported because */
79/* the inquiry_return_block is ok and driver is tested */
80
81static char *scanner_str[] =
82{
83  "UMAX ",	"Vista-T630 ",
84  "UMAX ",	"Vista-S6 ",
85  "UMAX ",	"Vista-S6E ",
86  "UMAX ",	"UMAX S-6E ",
87  "UMAX ",	"UMAX S-6EG ",
88  "UMAX ",	"Vista-S8 ",
89  "UMAX ",	"UMAX S-12 ",
90  "UMAX ",	"UMAX S-12G ",
91  "UMAX ",	"SuperVista S-12 ",
92  "UMAX ",	"PSD ",
93  "UMAX ",	"Astra 600S ",
94  "UMAX ",	"Astra 610S ",
95  "UMAX ",	"Astra 1200S ",
96  "UMAX ",	"Astra 1220S ",
97  "UMAX ",	"Astra 2100S ",
98  "UMAX ",	"Astra 2200 ",
99  "UMAX ",	"Astra 2400S ",
100/*  "UMAX ",	"Astra 6400 ", */ /* this is a firewire scanner */
101/*  "UMAX ",	"Astra 6450 ", */ /* this is a firewire scanner */
102  "UMAX ",	"Mirage D-16L ",
103  "UMAX ",	"Mirage II ",
104  "UMAX ",	"Mirage IIse ",
105  "UMAX ",	"PL-II ",
106  "UMAX ",	"Power Look 2000 ",
107  "UMAX ",	"PowerLook 2100XL",
108  "UMAX ",	"PowerLook III ",
109  "UMAX ",	"PowerLook 3000 ",
110  "UMAX ",	"Gemini D-16 ",
111  "UMAX ",      "PS-2400X ", /* same as LinoHell SAPHIR */
112  "LinoHell",	"JADE ",   /* is a Supervista S-12 */
113  "LinoHell",	"Office ", /* is a Supervista S-12 */
114  "LinoHell",	"Office2 ",
115  "LinoHell",	"SAPHIR ", /* same as UMAX PS-2400X */
116  "LinoHell",	"SAPHIR2 ",
117  "LinoHell",	"SAPHIR3 ", /* 1000x2000 dpi */
118/*  "LinoHell",	"SAPHIR4 ", */
119  "Linotype",	"SAPHIR4 ", /* Linotype-Hell Saphir Ultra II */
120/*  "LinoHell",	"OPAL ", */
121  "LinoHell",	"OPAL2 ", /* looks like a UMAX Mirage II */
122  "HDM ",	"LS4H1S ", /* Linoscan 1400 */
123  "Nikon ",	"AX-110 ", /* is a Vista S6E */
124  "Nikon ",	"AX-210 ", /* is a Supervista S12 */
125  "KYE ",	"ColorPage-HR5 ",
126  "EPSON ",	"Perfection600 ",
127  "ESCORT ",    "Galleria 600S ", /* is an Astra 600S */
128  "EDGE ",	"KTX-9600US ", /* may be an Astra 1220S */
129  "TriGem ",	"PowerScanII ", /* is a Supervista S12 */
130  "END_OF_LIST"
131};
132
133/* ==================================================================== */
134