kopia lustrzana https://gitlab.com/sane-project/backends
1164 wiersze
32 KiB
C
1164 wiersze
32 KiB
C
/*.............................................................................
|
|
* Project : SANE library for Plustek USB flatbed scanners.
|
|
*.............................................................................
|
|
* File: plustek-devs.c
|
|
*.............................................................................
|
|
*
|
|
* based on sources acquired from Plustek Inc.
|
|
* Copyright (C) 2001 Gerhard Jaeger <g.jaeger@earthling.net>
|
|
*.............................................................................
|
|
* History:
|
|
* 0.40 - starting version of the USB support
|
|
*
|
|
*.............................................................................
|
|
*
|
|
* This file is part of the SANE package.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
|
* MA 02111-1307, USA.
|
|
*
|
|
* As a special exception, the authors of SANE give permission for
|
|
* additional uses of the libraries contained in this release of SANE.
|
|
*
|
|
* The exception is that, if you link a SANE library with other files
|
|
* to produce an executable, this does not by itself cause the
|
|
* resulting executable to be covered by the GNU General Public
|
|
* License. Your use of that executable is in no way restricted on
|
|
* account of linking the SANE library code into it.
|
|
*
|
|
* This exception does not, however, invalidate any other reasons why
|
|
* the executable file might be covered by the GNU General Public
|
|
* License.
|
|
*
|
|
* If you submit changes to SANE to the maintainers to be included in
|
|
* a subsequent release, you agree by submitting the changes that
|
|
* those changes may be distributed with this exception intact.
|
|
*
|
|
* If you write modifications of your own for SANE, it is your choice
|
|
* whether to permit this exception to apply to your modifications.
|
|
* If you do not wish that, delete this exception notice.
|
|
*/
|
|
|
|
/* the other stuff is included by plustek.c ...*/
|
|
#include "plustek-usb.h"
|
|
|
|
/* Plustek Model: UT12/UT16
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0017_0 =
|
|
{
|
|
{ /* Normal */
|
|
{0, 93}, /* DataOrigin (X: 0, Y: 8mm from home) */
|
|
0, /* ShadingOriginY */
|
|
{2550, 3508}, /* Size */
|
|
{50, 50}, /* MinDpi */
|
|
COLOR_BW /* bMinDataType */
|
|
},
|
|
{ /* Positive */
|
|
{1040 + 15, 744 - 32}, /* DataOrigin (X: 7cm + 1.8cm, Y: 8mm + 5.5cm)*/
|
|
543, /* ShadingOriginY (Y: 8mm + 3.8cm) */
|
|
{473, 414}, /* Size (X: 4cm, Y: 3.5cm) */
|
|
{150, 150}, /* MinDpi */
|
|
COLOR_GRAY16 /* bMinDataType */
|
|
},
|
|
{ /* Negative */
|
|
{1004 + 55, 744 + 12}, /* DataOrigin (X: 7cm + 1.5cm, Y: 8mm + 5.5cm)*/
|
|
|
|
/* 533 blaustichig */
|
|
537 /* hell */
|
|
/* 543 gruenstichig */
|
|
|
|
/*543*/, /* ShadingOriginY (Y: 8mm + 3.8cm) */
|
|
{567, 414}, /* Size (X: 4.8cm, Y: 3.5cm) */
|
|
{150, 150}, /* MinDpi */
|
|
COLOR_GRAY16 /* bMinDataType */
|
|
},
|
|
{ /* Adf */
|
|
{0, 95}, /* DataOrigin (X: 0, Y: 8mm from home) */
|
|
0, /* ShadingOriginY */
|
|
{2550, 3508}, /* Size */
|
|
{50, 50}, /* MinDpi */
|
|
COLOR_BW /* bMinDataType */
|
|
},
|
|
{600, 600}, /* OpticDpi */
|
|
DEVCAPSFLAG_Positive + DEVCAPSFLAG_Negative, /* wFlags */
|
|
SENSORORDER_rgb, /* bSensorOrder */
|
|
4, /* bSensorDistance */
|
|
4, /* bButtons */
|
|
0, /* bCCD */
|
|
0x07 /* bPCB */
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* Description of the entries, see above...
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0015_0 =
|
|
{
|
|
{{0, 93}, 0, {2550, 3508}, {50, 50}, COLOR_BW },
|
|
{{1040 + 15, 744 - 32}, 543, {473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 20, 744 + 32}, 543, {567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{0, 95}, 0, {2550, 3508}, {50, 50}, COLOR_BW },
|
|
{600, 600},
|
|
0,
|
|
SENSORORDER_rgb,
|
|
4, 4, 0, 0x05
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0014_0 =
|
|
{
|
|
{{0, 93}, 0, {2550, 3508}, {50, 50}, COLOR_BW },
|
|
{{1040 + 15, 744 - 32}, 543, {473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 20, 744 + 32}, 543, {567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{0, 95}, 0, {2550, 3508}, {50, 50}, COLOR_BW },
|
|
{600, 600},
|
|
0,
|
|
SENSORORDER_rgb,
|
|
4, 0, 0, 0x04
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0007_0 =
|
|
{
|
|
{{0, 124}, 36, {2550, 3508}, { 50, 50 }, COLOR_BW },
|
|
{{1040, 744}, 543, { 473, 414 }, {150, 150}, COLOR_GRAY16 },
|
|
{{1004, 744}, 543, { 567, 414 }, {150, 150}, COLOR_GRAY16 },
|
|
{{0, 95}, 0, {2550, 3508}, { 50, 50 }, COLOR_BW },
|
|
{600, 600},
|
|
DEVCAPSFLAG_Positive + DEVCAPSFLAG_Negative,
|
|
SENSORORDER_rgb,
|
|
4, 5, 0, 0x07
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* Hualien: NS9832 + Button + NEC548
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0005_2 =
|
|
{
|
|
{{ 0, 64}, 0, {2550, 3508}, { 50, 50 }, COLOR_BW },
|
|
{{ 0, 0}, 0, {0, 0}, { 0, 0 }, 0 },
|
|
{{ 0, 0}, 0, {0, 0}, { 0, 0 }, 0 },
|
|
{{ 0, 0}, 0, {0, 0}, { 0, 0 }, 0 },
|
|
{600, 600},
|
|
0,
|
|
SENSORORDER_bgr,
|
|
8, 2, 2, 0x05
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* Hualien: NS9832 + TPA + Button + NEC3778
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0007_4 =
|
|
{
|
|
{{ 0, 111 - 4 }, 0, {2550, 3508}, { 50, 50 }, COLOR_BW },
|
|
{{1040 + 5, 744 - 32}, 543, { 473, 414 }, {150, 150}, COLOR_GRAY16 },
|
|
{{1040 - 20, 768 }, 543, { 567, 414 }, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95 }, 0, {2550, 3508}, { 50, 50 }, COLOR_BW },
|
|
{1200, 1200},
|
|
DEVCAPSFLAG_Positive + DEVCAPSFLAG_Negative,
|
|
SENSORORDER_rgb,
|
|
12, 5, 4, 0x07
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* Hualien: NS9832 + Button + NEC3778
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0005_4 =
|
|
{
|
|
{{ 0, 111 - 4 }, 0, {2550, 3508}, {50, 50}, COLOR_BW },
|
|
{{ 0, 0}, 0, {0, 0}, { 0, 0 }, 0 },
|
|
{{ 0, 0}, 0, {0, 0}, { 0, 0 }, 0 },
|
|
{{ 0, 0}, 0, {0, 0}, { 0, 0 }, 0 },
|
|
{1200, 1200},
|
|
0,
|
|
SENSORORDER_rgb,
|
|
12, 5, 4, 0x05
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x000F_0 =
|
|
{
|
|
{{ 0, 130}, 12, {2550, 3508}, { 50, 50 }, COLOR_BW },
|
|
{{1040, 744}, 543, { 473, 414 }, {150, 150}, COLOR_GRAY16 },
|
|
{{1004, 744}, 543, { 567, 414 }, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 244}, 12, {2550, 4200}, { 50, 50 }, COLOR_BW },
|
|
{600, 600},
|
|
DEVCAPSFLAG_Normal + DEVCAPSFLAG_Adf,
|
|
SENSORORDER_rgb,
|
|
4, 5, 0, 0x0F
|
|
};
|
|
|
|
|
|
/* Plustek Model: ???
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0013_0 =
|
|
{
|
|
{{ 0, 93}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{1040 + 15, 744 - 32}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 30, 744 + 32}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{600, 600},
|
|
DEVCAPSFLAG_Positive + DEVCAPSFLAG_Negative,
|
|
SENSORORDER_rgb,
|
|
4, 4, 0, 0x03
|
|
};
|
|
|
|
/* Plustek Model: U24
|
|
* KH: NS9831 + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0011_0 =
|
|
{
|
|
{{ 0, 93}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{1040 + 15, 744 - 32}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 20, 744 + 32}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{600, 600},
|
|
0,
|
|
SENSORORDER_rgb,
|
|
4, 4, 0, 0x01
|
|
};
|
|
|
|
/* Plustek Model: U12
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0010_0 =
|
|
{
|
|
{{ 0, 93}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{1040 + 15, 744 - 32}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 20, 744 + 32}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{600, 600},
|
|
0,
|
|
SENSORORDER_rgb,
|
|
4, 0, 0, 0x00
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0013_4 =
|
|
{
|
|
{{ 0, 99 /*114*/}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{ 1055, 744 - 84}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 20, 744 - 20}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{1200, 1200},
|
|
DEVCAPSFLAG_Positive + DEVCAPSFLAG_Negative,
|
|
SENSORORDER_rgb,
|
|
12, 4, 4, 0x03
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* KH: NS9831 + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0011_4 =
|
|
{
|
|
{{ 0, 99 /*114*/}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{ 1055, 744 - 84}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 20, 744 - 20}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{1200, 1200},
|
|
0,
|
|
SENSORORDER_rgb,
|
|
12, 4, 4, 0x01
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0010_4 =
|
|
{
|
|
{{ 0, 99 /*114*/}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{ 1055, 744 - 84}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 20, 744 - 20}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{1200, 1200},
|
|
0,
|
|
SENSORORDER_rgb,
|
|
12, 0, 4, 0x00
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x000F_4 =
|
|
{
|
|
{{ 0, 107}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{ 1040 + 5, 744 - 32}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1040 - 20, 768}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 244}, 0, {2550, 4200}, { 50, 50}, COLOR_BW },
|
|
{1200, 1200},
|
|
DEVCAPSFLAG_Normal + DEVCAPSFLAG_Adf,
|
|
SENSORORDER_rgb,
|
|
12, 5, 4, 0x0F
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0016_4 =
|
|
{
|
|
{{ 0, 93}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{ 954, 422}, 272, { 624, 1940}, {150, 150}, COLOR_GRAY16 },
|
|
{{1120, 438}, 275, { 304, 1940}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{1200, 1200},
|
|
DEVCAPSFLAG_Positive + DEVCAPSFLAG_Negative,
|
|
SENSORORDER_rgb,
|
|
12, 4, 4, 0x06
|
|
};
|
|
|
|
/* Plustek Model: UT24
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0017_4 =
|
|
{
|
|
{{ 0, 99 - 6}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{1055 /*1060*/, 744 - 84}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 1004 + 20, 744 - 20}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{1200, 1200},
|
|
DEVCAPSFLAG_Positive + DEVCAPSFLAG_Negative,
|
|
SENSORORDER_rgb,
|
|
12, 4, 4, 0x07
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* KH: NS9831 + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0015_4 =
|
|
{
|
|
{{ 0, 99 - 6}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{ 1055, 744 - 84}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 20, 744 - 20}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{1200, 1200},
|
|
0,
|
|
SENSORORDER_rgb,
|
|
12, 4, 4, 0x05
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0014_4 =
|
|
{
|
|
{{ 0, 99 - 6}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{ 1055, 744 - 84}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 20, 744 - 20}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{1200, 1200},
|
|
0,
|
|
SENSORORDER_rgb,
|
|
12, 0, 4, 0x04
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0014_1 =
|
|
{
|
|
{{ 0, 93}, 0, {3600, 5100}, { 50, 50}, COLOR_BW },
|
|
{{1040 + 15, 744 - 32}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 20, 744 + 32}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{400, 400},
|
|
0,
|
|
SENSORORDER_rgb,
|
|
8, 0, 1, 0x04
|
|
};
|
|
|
|
/* Model: ???
|
|
* KH: NS9832 + NEC3799 + 600 DPI Motor (for Brother demo only)
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0012_0 =
|
|
{
|
|
{{ 0, 93}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{1040 + 15, 744 - 32}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 20, 744 + 32}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{600, 600},
|
|
0,
|
|
SENSORORDER_rgb,
|
|
4, 0, 0, 0x02
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0017_2 =
|
|
{
|
|
{{ 0, 93}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{1040 + 15, 744 - 32}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 1004, 744}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{600, 600},
|
|
DEVCAPSFLAG_Positive + DEVCAPSFLAG_Negative,
|
|
SENSORORDER_bgr,
|
|
8, 4, 2, 0x07
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0017_3 =
|
|
{
|
|
{{ 0, 93}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{1040 + 15, 744 - 32}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 30, 744 + 32}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{600, 600},
|
|
DEVCAPSFLAG_Positive + DEVCAPSFLAG_Negative,
|
|
SENSORORDER_rgb,
|
|
8, 4, kNEC8861, 0x07
|
|
};
|
|
|
|
/*
|
|
* HEINER: 17_1 and 15_1 are currently not used!!!! Maybe for future models...
|
|
*/
|
|
#if 0
|
|
/* Plustek Model: ???
|
|
* A3: NS9832 + TPA + Button + SONY518
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0017_1 =
|
|
{
|
|
{{ 0, 93}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{1040 + 15, 744 - 32}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 30, 744 + 32}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{600, 600},
|
|
DEVCAPSFLAG_Positive + DEVCAPSFLAG_Negative,
|
|
SENSORORDER_rgb,
|
|
8, 4, 1, 0x07
|
|
};
|
|
|
|
static DCapsDef Cap0x07B3_0x0015_1 =
|
|
{
|
|
{{ 0, 93}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{1040 + 15, 744 - 32}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 20, 744 + 32}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{600, 200},
|
|
0,
|
|
SENSORORDER_rgb,
|
|
8, 4, 1, 0x05
|
|
};
|
|
|
|
static DCapsDef Cap0x07B3_0x0015_2 =
|
|
{
|
|
{{ 0, 93}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{1040 + 15, 744 - 32}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 20, 744 + 32}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{600, 600},
|
|
0,
|
|
SENSORORDER_bgr,
|
|
8, 4, 2, 0x05
|
|
};
|
|
|
|
/* Plustek Model: ???
|
|
* KH: NS9831 + TPA + Button + NEC3799
|
|
*/
|
|
static DCapsDef Cap0x07B3_0x0014_2 =
|
|
{
|
|
{{ 0, 93}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{1040 + 15, 744 - 32}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 20, 744 + 32}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{600, 600},
|
|
0,
|
|
SENSORORDER_bgr,
|
|
8, 0, 2, 0x04
|
|
};
|
|
|
|
#endif
|
|
|
|
/* Model: HP Scanjet 2200c (thanks to Stefan Nilsen)
|
|
* KH: NS9832 + NEC3799 + 600 DPI Motor
|
|
*/
|
|
static DCapsDef Cap0x03F0_0x0605 =
|
|
{
|
|
{{ 0, 93}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{{1040 + 15, 744 - 32}, 543, { 473, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{1004 + 20, 744 + 32}, 543, { 567, 414}, {150, 150}, COLOR_GRAY16 },
|
|
{{ 0, 95}, 0, {2550, 3508}, { 50, 50}, COLOR_BW },
|
|
{600, 600},
|
|
0,
|
|
SENSORORDER_rgb,
|
|
4, 0, 0, 0x02
|
|
};
|
|
|
|
/* Mustek BearPaw 1200 (thanks to Henning Meier-Geinitz)
|
|
* NS9831 + 5 Buttons + NEC548 (?)
|
|
*/
|
|
static DCapsDef Cap0x0400_0x1000_0 =
|
|
{
|
|
{{ 67, 55}, 55, {2550, 3530}, { 75, 75 }, COLOR_BW },
|
|
{{ 0, 0}, 0, {0, 0}, { 0, 0 }, 0 },
|
|
{{ 0, 0}, 0, {0, 0}, { 0, 0 }, 0 },
|
|
{{ 0, 0}, 0, {0, 0}, { 0, 0 }, 0 },
|
|
{600, 600},/*1200*/
|
|
0,
|
|
SENSORORDER_bgr,
|
|
4, 5, 3, 0x00
|
|
};
|
|
|
|
/* Mustek BearPaw 2400
|
|
* NS9832 + 5 Buttons + NEC548 (?)
|
|
*/
|
|
static DCapsDef Cap0x0400_0x1001_0 =
|
|
{
|
|
{{ 15, 115}, 0, {2550, 3508}, { 100, 100 }, COLOR_BW },
|
|
{{ 0, 0}, 0, {0, 0}, { 0, 0 }, 0 },
|
|
{{ 0, 0}, 0, {0, 0}, { 0, 0 }, 0 },
|
|
{{ 0, 0}, 0, {0, 0}, { 0, 0 }, 0 },
|
|
{600, 600},
|
|
0,
|
|
SENSORORDER_bgr,
|
|
6, 5, 2, 0x05
|
|
};
|
|
|
|
/******************* additional Hardware descriptions ************************/
|
|
|
|
static HWDef Hw0x07B3_0x0017_0 =
|
|
{
|
|
1.5, /* dMaxMotorSpeed (Max_Speed) */
|
|
1.2, /* dMaxMoveSpeed (Max_Speed) */
|
|
9, /* wIntegrationTimeLowLamp */
|
|
9, /* wIntegrationTimeHighLamp */
|
|
300, /* wMotorDpi (Full step DPI) */
|
|
/* 100, // wStartY (The top scanning origin in Full Steps) */
|
|
512, /* wRAMSize (KB) */
|
|
4, /* wMinIntegrationTimeLowres (ms) */
|
|
5, /* wMinIntegrationTimeHighres (ms) */
|
|
3000, /* wGreenPWMDutyCycleLow */
|
|
4095, /* wGreenPWMDutyCycleHigh */
|
|
0x02, /* bSensorConfiguration (0x0b) */
|
|
0x04, /* bReg_0x0c */
|
|
0x37, /* bReg_0x0d */
|
|
0x13, /* bReg_0x0e */
|
|
/* bReg_0x0f_Mono [10] (0x0f to 0x18) */
|
|
{2, 7, 0, 1, 0, 0, 0, 0, 4, 0},
|
|
/* bReg_0x0f_Color [10] (0x0f to 0x18) */
|
|
{5, 23, 1, 3, 0, 0, 0, 12, 10, 22},
|
|
1, /* StepperPhaseCorrection (0x1a & 0x1b) */
|
|
14, /* 15, bOpticBlackStart (0x1c) */
|
|
62, /* 60, bOpticBlackEnd (0x1d) */
|
|
110, /* 65, wActivePixelsStart (0x1e & 0x1f) */
|
|
5400, /* 5384 ,wLineEnd (0x20 & 0x21) */
|
|
|
|
/* Misc */
|
|
3, /* bReg_0x45 */
|
|
0, /* wStepsAfterPaperSensor2 (0x4c & 0x4d) */
|
|
0xa8, /* 0xfc -bReg_0x51 */
|
|
0, /* bReg_0x54 */
|
|
0xff, /* 0xa3 - bReg_0x55 */
|
|
64, /* bReg_0x56 */
|
|
20, /* bReg_0x57 */
|
|
0x0d, /* bReg_0x58 */
|
|
0x22, /* bReg_0x59 */
|
|
0x82, /* bReg_0x5a */
|
|
0x88, /* bReg_0x5b */
|
|
0, /* bReg_0x5c */
|
|
0, /* bReg_0x5d */
|
|
0, /* bReg_0x5e */
|
|
SANE_FALSE, /* fLM9831 */
|
|
MODEL_KaoHsiung /* ScannerModel */
|
|
};
|
|
|
|
static HWDef Hw0x07B3_0x0007_0 =
|
|
{
|
|
1.5, 1.2,
|
|
9, 9,
|
|
300,
|
|
512,
|
|
4, 5,
|
|
3000, 4095,
|
|
0x02, 0x14, 0x27, 0x13,
|
|
{2, 7, 0, 1, 0, 0, 0, 0, 4, 0},
|
|
{5, 23, 1, 3, 0, 0, 0, 6, 10, 22},
|
|
1,
|
|
14,
|
|
62,
|
|
110,
|
|
5384,
|
|
3,
|
|
0,
|
|
0xa8,
|
|
0,
|
|
0xff,
|
|
64,
|
|
20,
|
|
0x0d, 0x88, 0x28, 0x3b,
|
|
0, 0, 0,
|
|
SANE_FALSE,
|
|
MODEL_HuaLien
|
|
};
|
|
|
|
static HWDef Hw0x07B3_0x0007_2 =
|
|
{
|
|
1.4, 1.2,
|
|
9, 9,
|
|
600,
|
|
512,
|
|
4, 5,
|
|
3000, 4095,
|
|
0x02, 0x3f, 0x2f, 0x36,
|
|
{2, 7, 0, 1, 0, 0, 0, 0, 4, 0},
|
|
{7, 20, 1, 4, 7, 10, 0, 6, 12, 0},
|
|
1,
|
|
16,
|
|
64,
|
|
152,
|
|
5416,
|
|
3,
|
|
0,
|
|
0xfc,
|
|
0,
|
|
0xff,
|
|
64,
|
|
20,
|
|
0x0d, 0x88, 0x28, 0x3b,
|
|
0, 0, 0,
|
|
SANE_FALSE,
|
|
MODEL_Tokyo600
|
|
};
|
|
|
|
static HWDef Hw0x07B3_0x0007_4 =
|
|
{
|
|
1.1, 0.9,
|
|
12, 12,
|
|
600,
|
|
2048,
|
|
8, 8,
|
|
4095, 4095,
|
|
0x06, 0x30, 0x2f, 0x2a,
|
|
{2, 7, 5, 6, 6, 7, 0, 0, 0, 5},
|
|
{20, 4, 13, 16, 19, 22, 0, 6, 23, 11},
|
|
1,
|
|
13,
|
|
62,
|
|
304,
|
|
10684,
|
|
3,
|
|
0,
|
|
0xa8,
|
|
0,
|
|
0xff,
|
|
24,
|
|
40,
|
|
0x0d, 0x88, 0x28, 0x3b,
|
|
0, 0, 0,
|
|
SANE_FALSE,
|
|
MODEL_HuaLien
|
|
};
|
|
|
|
static HWDef Hw0x07B3_0x000F_0 =
|
|
{
|
|
1.5, 1.0,
|
|
9, 9,
|
|
300,
|
|
512,
|
|
4, 5,
|
|
3000, 4095,
|
|
0x02, 0x14, 0x27, 0x13,
|
|
{2, 7, 0, 1, 0, 0, 0, 0, 4, 0},
|
|
{5, 23, 1, 3, 0, 0, 0, 6, 10, 22},
|
|
1,
|
|
14,
|
|
62,
|
|
110,
|
|
5384,
|
|
3,
|
|
0,
|
|
0xa8,
|
|
0,
|
|
0xff,
|
|
64,
|
|
20,
|
|
0x05, 0x88, 0x08, 0x3b,
|
|
0, 0, 0,
|
|
SANE_FALSE,
|
|
MODEL_HuaLien
|
|
};
|
|
|
|
static HWDef Hw0x07B3_0x0013_0 =
|
|
{
|
|
1.5, 1.2,
|
|
9, 9,
|
|
300,
|
|
512,
|
|
4, 5,
|
|
3000, 4095,
|
|
0x02, 0x04, 0x37, 0x13,
|
|
{2, 7, 0, 1, 0, 0, 0, 0, 4, 0},
|
|
{5, 23, 1, 3, 0, 0, 0, 12, 10, 22},
|
|
1,
|
|
14,
|
|
62,
|
|
110,
|
|
5400,
|
|
3,
|
|
0,
|
|
0xa8,
|
|
0,
|
|
0xff,
|
|
64,
|
|
20,
|
|
0x0d, 0x22, 0x82, 0x88,
|
|
0, 0, 0,
|
|
SANE_TRUE,
|
|
MODEL_KaoHsiung
|
|
};
|
|
|
|
static HWDef Hw0x07B3_0x0013_4 =
|
|
{
|
|
1.0, 0.9,
|
|
12, 12,
|
|
600,
|
|
2048,
|
|
8, 8,
|
|
4095, 4095,
|
|
0x06, 0x20, 0x2f, 0x2a,
|
|
{2, 7, 5, 6, 6, 7, 0, 0, 0, 5},
|
|
{20, 4, 13, 16, 19, 22, 0, 0, 23, 11},
|
|
1,
|
|
13,
|
|
62,
|
|
320,
|
|
10684,
|
|
3,
|
|
0,
|
|
0xa8,
|
|
0,
|
|
0xff,
|
|
10,
|
|
48,
|
|
0x0d, 0x22, 0x82, 0x88,
|
|
0, 0, 0,
|
|
SANE_TRUE,
|
|
MODEL_KaoHsiung
|
|
};
|
|
|
|
static HWDef Hw0x07B3_0x000F_4 =
|
|
{
|
|
1.1, 0.9,
|
|
12, 12,
|
|
600,
|
|
2048,
|
|
8, 8,
|
|
4095, 4095,
|
|
0x06, 0x30, 0x2f, 0x2a,
|
|
{2, 7, 5, 6, 6, 7, 0, 0, 0, 5},
|
|
{20, 4, 13, 16, 19, 22, 0, 6, 23, 11},
|
|
1,
|
|
13,
|
|
62,
|
|
304,
|
|
10684,
|
|
3,
|
|
0,
|
|
0xa8,
|
|
0,
|
|
0xff,
|
|
24,
|
|
40,
|
|
0x05, 0x88, 0x08, 0x3b,
|
|
0, 0, 0,
|
|
SANE_FALSE,
|
|
MODEL_HuaLien
|
|
};
|
|
|
|
static HWDef Hw0x07B3_0x0016_4 =
|
|
{
|
|
1.0, 0.9,
|
|
12, 12,
|
|
600,
|
|
2048,
|
|
8, 8,
|
|
4095, 4095,
|
|
0x06, 0x20, 0x2f, 0x2a,
|
|
{2, 7, 5, 6, 6, 7, 0, 0, 0, 5},
|
|
{20, 4, 13, 16, 19, 22, 0, 0, 23, 11},
|
|
1,
|
|
13,
|
|
62,
|
|
320,
|
|
10684,
|
|
3,
|
|
0,
|
|
0xa8,
|
|
0,
|
|
0xff,
|
|
10,
|
|
48,
|
|
0x0d, 0x22, 0x82, 0x88,
|
|
0, 0, 0,
|
|
SANE_FALSE,
|
|
MODEL_KaoHsiung
|
|
};
|
|
|
|
/*
|
|
* Plustek OpticPro UT24 and others...
|
|
*/
|
|
static HWDef Hw0x07B3_0x0017_4 =
|
|
{
|
|
1.0, 0.9,
|
|
12, 12,
|
|
600,
|
|
2048,
|
|
8, 8,
|
|
4095, 4095,
|
|
0x06, 0x20, 0x2f, 0x2a,
|
|
{2, 7, 5, 6, 6, 7, 0, 0, 0, 5},
|
|
{20, 4, 13, 16, 19, 22, 0, 0, 23, 11},
|
|
1,
|
|
13,
|
|
62,
|
|
320,
|
|
10684,
|
|
3,
|
|
0,
|
|
0xa8,
|
|
0,
|
|
0xff,
|
|
10,
|
|
48,
|
|
0x0d, 0x22, 0x82, 0x88,
|
|
0, 0, 0,
|
|
SANE_FALSE,
|
|
MODEL_KaoHsiung
|
|
};
|
|
|
|
static HWDef Hw0x07B3_0x0017_1 =
|
|
{
|
|
1.5, 1.5,
|
|
9, 9,
|
|
200,
|
|
2048,
|
|
4, 5,
|
|
3000, 4095,
|
|
0x02, 0x08, 0x2f, 0x36,
|
|
{2, 7, 0, 1, 0, 0, 0, 0, 4, 0},
|
|
{5, 23, 1, 4, 7, 10, 0, 0, 10, 12},
|
|
1,
|
|
15,
|
|
60,
|
|
110,
|
|
5415,
|
|
3,
|
|
0,
|
|
0xa8,
|
|
0,
|
|
0xff,
|
|
64,
|
|
20,
|
|
0x0d, 0x22, 0x82, 0x88,
|
|
0, 0, 0,
|
|
SANE_FALSE,
|
|
MODEL_KaoHsiung
|
|
};
|
|
|
|
static HWDef Hw0x07B3_0x0012_0 =
|
|
{
|
|
1.5, 1.4,
|
|
9, 9,
|
|
600,
|
|
2048,
|
|
4, 5,
|
|
3000, 4095,
|
|
0x02, 0x04, 0x37, 0x13,
|
|
{2, 7, 0, 1, 0, 0, 0, 0, 4, 0},
|
|
{5, 23, 1, 3, 0, 0, 0, 12, 10, 22},
|
|
1,
|
|
14,
|
|
62,
|
|
110,
|
|
5400,
|
|
3,
|
|
0,
|
|
0xa8,
|
|
0,
|
|
0xff,
|
|
64,
|
|
20,
|
|
0x0d, 0x22, 0x82, 0x88,
|
|
0, 0, 0,
|
|
SANE_FALSE,
|
|
MODEL_KaoHsiung
|
|
};
|
|
|
|
static HWDef Hw0x07B3_0x0017_2 =
|
|
{
|
|
1.5, 1.2,
|
|
9, 9,
|
|
300,
|
|
512,
|
|
4, 5,
|
|
3000, 4095,
|
|
0x02, 0, 0x2f, 0x36,
|
|
{2, 7, 0, 1, 0, 0, 0, 0, 4, 0},
|
|
{5, 0, 1, 4, 7, 10, 0, 0, 12, 0},
|
|
1,
|
|
16,
|
|
64,
|
|
110,
|
|
5416,
|
|
3,
|
|
0,
|
|
0xa8,
|
|
0,
|
|
0xff,
|
|
64,
|
|
20,
|
|
0x0d, 0x22, 0x82, 0x88,
|
|
0, 0, 0,
|
|
SANE_FALSE,
|
|
MODEL_KaoHsiung
|
|
};
|
|
|
|
static HWDef Hw0x07B3_0x0017_3 =
|
|
{
|
|
1.5, 1.2,
|
|
9, 9,
|
|
300,
|
|
512,
|
|
4, 5,
|
|
3000, 4095,
|
|
0x02, 0x04, 0x37, 0x13,
|
|
{2, 7, 0, 1, 0, 0, 0, 0, 4, 0},
|
|
{5, 23, 1, 4, 7, 10, 0, 0, 11, 23},
|
|
1,
|
|
14,
|
|
62,
|
|
110,
|
|
5400,
|
|
3,
|
|
0,
|
|
0xa8,
|
|
0,
|
|
0xff,
|
|
64,
|
|
20,
|
|
0x0d, 0x22, 0x82, 0x88,
|
|
0, 0, 0,
|
|
SANE_FALSE,
|
|
MODEL_KaoHsiung
|
|
};
|
|
|
|
/* HP 2200C */
|
|
static HWDef Hw0x03F0_0x0605 =
|
|
{
|
|
1.5, /* dMaxMotorSpeed (Max_Speed) */
|
|
1.2, /* dMaxMoveSpeed (Max_Speed) */
|
|
9, /* wIntegrationTimeLowLamp */
|
|
9, /* wIntegrationTimeHighLamp */
|
|
600, /* ok wMotorDpi (Full step DPI) */
|
|
512, /* wRAMSize (KB) */
|
|
4, /* wMinIntegrationTimeLowres (ms) */
|
|
5, /* wMinIntegrationTimeHighres (ms) */
|
|
3000, /* wGreenPWMDutyCycleLow */
|
|
4095, /* wGreenPWMDutyCycleHigh */
|
|
0x02, /* bSensorConfiguration (0x0b) */
|
|
0x04, /* bReg_0x0c */
|
|
0x37, /* bReg_0x0d */
|
|
0x13, /* bReg_0x0e */
|
|
/* bReg_0x0f_Mono[10] (0x0f to 0x18) */
|
|
{2, 7, 0, 1, 0, 0, 0, 0, 4, 0},
|
|
/* bReg_0x0f_Color[10] (0x0f to 0x18) */
|
|
{5, 23, 1, 3, 0, 0, 0, 12, 10, 22},
|
|
|
|
1, /* StepperPhaseCorrection (0x1a & 0x1b) */
|
|
14, /* 15,=09bOpticBlackStart (0x1c) */
|
|
62, /* 60,=09bOpticBlackEnd (0x1d) */
|
|
110, /* 65,=09wActivePixelsStart (0x1e & 0x1f) */
|
|
5400, /* 5384 ,wLineEnd=09(0x20 & 0x21) */
|
|
|
|
/* Misc */
|
|
3, /* bReg_0x45 */
|
|
0, /* wStepsAfterPaperSensor2 (0x4c & 0x4d) */
|
|
0xa8, /* 0xfc -bReg_0x51 */
|
|
0, /* bReg_0x54 */
|
|
0xff, /* 0xa3 - bReg_0x55 */
|
|
64, /* bReg_0x56 */
|
|
20, /* bReg_0x57 */
|
|
0x0d, /* bReg_0x58 */
|
|
0x22, /* bReg_0x59 */
|
|
0x82, /* bReg_0x5a */
|
|
0x88, /* bReg_0x5b */
|
|
0, /* bReg_0x5c */
|
|
0, /* bReg_0x5d */
|
|
0, /* bReg_0x5e */
|
|
SANE_FALSE, /* fLM9831 */
|
|
MODEL_KaoHsiung /* ScannerModel */
|
|
};
|
|
|
|
/* Mustek BearPaw 1200 */
|
|
static HWDef Hw0x0400_0x1000_0 =
|
|
{
|
|
1.25, /* ok dMaxMotorSpeed (Max_Speed) */
|
|
1.25, /* ok dMaxMoveSpeed (Max_Speed) */
|
|
12, /* ok wIntegrationTimeLowLamp */
|
|
12, /* ok wIntegrationTimeHighLamp */
|
|
600, /* ok wMotorDpi (Full step DPI) */
|
|
512, /* ok wRAMSize (KB) */
|
|
9, /* ok wMinIntegrationTimeLowres (ms) */
|
|
9, /* ok wMinIntegrationTimeHighres (ms) */
|
|
1169, /* ok wGreenPWMDutyCycleLow (reg 0x2a + 0x2b) */
|
|
1169, /* ok wGreenPWMDutyCycleHigh (reg 0x2a + 0x2b) */
|
|
0x02, /* ok bSensorConfiguration (0x0b) */
|
|
0x7c, /* ok sensor control settings (reg 0x0c) */
|
|
0x3f, /* ok sensor control settings (reg 0x0d) */
|
|
0x15, /* ok sensor control settings (reg 0x0e) */
|
|
{0x04, 0x07, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x03, 0x06},
|
|
/* ok mono (reg 0x0f to 0x18) */
|
|
{0x04, 0x16, 0x01, 0x02, 0x05, 0x06, 0x00, 0x00, 0x0a, 0x16},
|
|
/* ok color (reg 0x0f to 0x18) */
|
|
257, /* ok StepperPhaseCorrection (reg 0x1a + 0x1b) */
|
|
0x0e, /* ok bOpticBlackStart (reg 0x1c) */
|
|
0x1d, /* ok bOpticBlackEnd (reg 0x1d) */
|
|
0, /* ok wActivePixelsStart (reg 0x1e + 0x1f) */
|
|
5369, /* ok wLineEnd (reg 0x20 + 0x21) */
|
|
0x13, /* ok stepper motor control (reg 0x45) */
|
|
0, /* ? wStepsAfterPaperSensor2 (reg 0x4c + 0x4d) */
|
|
0xfc, /* ok acceleration profile (reg 0x51) */
|
|
0, /* ok lines to process (reg 0x54) */
|
|
0x13, /* ok kickstart (reg 0x55) */
|
|
0x03, /* ok pwm freq (reg 0x56) */
|
|
0x20, /* ok pwm duty cycle (reg 0x57) */
|
|
0x15, /* ok Paper sense (reg 0x58) */
|
|
0x44, /* ok misc io12 (reg 0x59) */
|
|
0x44, /* ok misc io34 (reg 0x5a) */
|
|
0x4f, /* ok misc io56 (reg 0x5b) */
|
|
0, /* ok test mode ADC Output CODE MSB (reg 0x5c) */
|
|
0, /* ok test mode ADC Output CODE LSB (reg 0x5d) */
|
|
0, /* ok test mode (reg 0x5e) */
|
|
SANE_TRUE, /* has a lm9831? */
|
|
MODEL_Tokyo600
|
|
};
|
|
|
|
/* BearPaw 2400 */
|
|
static HWDef Hw0x0400_0x1001_0 =
|
|
{
|
|
1.0, 0.9,
|
|
9, 9,
|
|
1200,
|
|
2048,
|
|
4, 5,
|
|
3000, 4095,
|
|
0x02, 0x3f, 0x2f, 0x36,
|
|
{2, 7, 0, 1, 0, 0, 0, 0, 4, 0},
|
|
{7, 20, 1, 4, 7, 10, 0, 6, 12, 0},
|
|
1,
|
|
16,
|
|
64,
|
|
152,
|
|
5416,
|
|
3,
|
|
0,
|
|
0xfc,
|
|
0,
|
|
0xff,
|
|
64,
|
|
20,
|
|
0x0d, 0x88, 0x28, 0x3b,
|
|
0, 0, 0,
|
|
SANE_FALSE,
|
|
MODEL_Tokyo600
|
|
};
|
|
|
|
/******************** all available combinations *****************************/
|
|
|
|
/*
|
|
* here we have all supported devices and their settings...
|
|
*/
|
|
static SetDef Settings[] =
|
|
{
|
|
/* Plustek devices... */
|
|
{"0x07B3-0x0013-0", &Cap0x07B3_0x0013_0, &Hw0x07B3_0x0013_0, "Unknown device" },
|
|
{"0x07B3-0x0011-0", &Cap0x07B3_0x0011_0, &Hw0x07B3_0x0013_0, "OpticPro U24" },
|
|
{"0x07B3-0x0010-0", &Cap0x07B3_0x0010_0, &Hw0x07B3_0x0013_0, "OpticPro U12" },
|
|
{"0x07B3-0x0013-4", &Cap0x07B3_0x0013_4, &Hw0x07B3_0x0013_4, "Unknown device" },
|
|
{"0x07B3-0x0011-4", &Cap0x07B3_0x0011_4, &Hw0x07B3_0x0013_4, "Unknown device" },
|
|
{"0x07B3-0x0010-4", &Cap0x07B3_0x0010_4, &Hw0x07B3_0x0013_4, "Unknown device" },
|
|
|
|
{"0x07B3-0x0017-0", &Cap0x07B3_0x0017_0, &Hw0x07B3_0x0017_0, "OpticPro UT12/UT16" },
|
|
{"0x07B3-0x0015-0", &Cap0x07B3_0x0015_0, &Hw0x07B3_0x0017_0, "Unknown device" },
|
|
{"0x07B3-0x0014-0", &Cap0x07B3_0x0014_0, &Hw0x07B3_0x0017_0, "Unknown device" },
|
|
{"0x07B3-0x0017-4", &Cap0x07B3_0x0017_4, &Hw0x07B3_0x0017_4, "OpticPro UT24" },
|
|
{"0x07B3-0x0015-4", &Cap0x07B3_0x0015_4, &Hw0x07B3_0x0017_4, "Unknown device" },
|
|
{"0x07B3-0x0014-4", &Cap0x07B3_0x0014_4, &Hw0x07B3_0x0017_4, "Unknown device" },
|
|
{"0x07B3-0x0016-4", &Cap0x07B3_0x0016_4, &Hw0x07B3_0x0016_4, "Unknown device" },
|
|
{"0x07B3-0x0017-2", &Cap0x07B3_0x0017_2, &Hw0x07B3_0x0017_2, "Unknown device" },
|
|
{"0x07B3-0x0017-3", &Cap0x07B3_0x0017_3, &Hw0x07B3_0x0017_3, "Unknown device" },
|
|
|
|
{"0x07B3-0x0007", &Cap0x07B3_0x0007_0, &Hw0x07B3_0x0007_0, "Unknown device" },
|
|
{"0x07B3-0x000F", &Cap0x07B3_0x000F_0, &Hw0x07B3_0x000F_0, "Unknown device" },
|
|
{"0x07B3-0x000F-4", &Cap0x07B3_0x000F_4, &Hw0x07B3_0x000F_4, "Unknown device" },
|
|
{"0x07B3-0x0005-2", &Cap0x07B3_0x0005_2, &Hw0x07B3_0x0007_2, "Unknown device" }, /* TOKYO 600 */
|
|
{"0x07B3-0x0014-1", &Cap0x07B3_0x0014_1, &Hw0x07B3_0x0017_1, "Unknown device" }, /* A3 */
|
|
{"0x07B3-0x0012-0", &Cap0x07B3_0x0012_0, &Hw0x07B3_0x0012_0, "Unknown device" }, /* Brother Demo */
|
|
|
|
/* Mustek BearPaw...*/
|
|
{"0x0400-0x1000", &Cap0x0400_0x1000_0, &Hw0x0400_0x1000_0, "BearPaw 1200" },
|
|
{"0x0400-0x1001", &Cap0x0400_0x1001_0, &Hw0x0400_0x1001_0, "BearPaw 2400" },
|
|
|
|
/* Genius devices... */
|
|
{"0x0458-0x2007", &Cap0x07B3_0x0007_0, &Hw0x07B3_0x0007_0, "ColorPage-HR6 V2" },
|
|
{"0x0458-0x2008", &Cap0x07B3_0x0007_0, &Hw0x07B3_0x0007_0, "Unknown device" },
|
|
{"0x0458-0x2009", &Cap0x07B3_0x000F_0, &Hw0x07B3_0x000F_0, "Unknown device" },
|
|
{"0x0458-0x2013", &Cap0x07B3_0x0007_4, &Hw0x07B3_0x0007_4, "Unknown device" },
|
|
{"0x0458-0x2015", &Cap0x07B3_0x0005_4, &Hw0x07B3_0x0007_4, "Unknown device" },
|
|
{"0x0458-0x2016", &Cap0x07B3_0x0005_4, &Hw0x07B3_0x0007_0, "Unknown device" },
|
|
|
|
/* Hewlett Packard... */
|
|
{"0x03F0-0x0605", &Cap0x03F0_0x0605, &Hw0x03F0_0x0605, "Scanjet 2200c" },
|
|
|
|
/* EPSON... */
|
|
{"0x04B8-0x010F", &Cap0x07B3_0x0005_2, &Hw0x07B3_0x0007_2, "Perfection 1250/Photo" },
|
|
|
|
/* UMAX... */
|
|
/* {"0x1606-0x0060", &Cap..., &HW..., "UMAX 3400" }, */
|
|
|
|
/* Please add other devices here...
|
|
* The first entry is a string, composed out of the vendor and product id,
|
|
* it's used by the driver to select the device settings. For other devices
|
|
* than those of Plustek, you'll not need to add the second '-' part
|
|
*
|
|
* The second entry decribes the capabilities of the device, you may find
|
|
* one suitable for your scanner, for a better description of the entries
|
|
* have a look at the beginning of this file at Cap0x07B3_0x0017_0 for
|
|
* the UT12
|
|
*
|
|
* The third entry is for the default setting of the LM983x register
|
|
* settings, you can often find these in you Windoze driver ini
|
|
* Have a look at the Hw0x0400_0x1000_0 or Hw0x07B3_0x0017_0 for further
|
|
* description
|
|
*
|
|
* The fouth entry is simply the name of the device, which will be
|
|
* displayed by the frontend
|
|
*/
|
|
{ NULL, NULL, NULL, NULL } /* last entry, never remove... */
|
|
};
|
|
|
|
/* END PLUSTEK-DEVS.C .......................................................*/
|