1 /* sane - Scanner Access Now Easy. 2 3 Copyright (C) 2006-2010 Stéphane Voltz <stef.dev@free.fr> 4 Copyright (C) 2010 "Torsten Houwaart" <ToHo@gmx.de> X74 support 5 6 This file is part of the SANE package. 7 8 This program is free software; you can redistribute it and/or 9 modify it under the terms of the GNU General Public License as 10 published by the Free Software Foundation; either version 2 of the 11 License, or (at your option) any later version. 12 13 This program is distributed in the hope that it will be useful, but 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 General Public License for more details. 17 18 You should have received a copy of the GNU General Public License 19 along with this program. If not, see <https://www.gnu.org/licenses/>. 20 21 As a special exception, the authors of SANE give permission for 22 additional uses of the libraries contained in this release of SANE. 23 24 The exception is that, if you link a SANE library with other files 25 to produce an executable, this does not by itself cause the 26 resulting executable to be covered by the GNU General Public 27 License. Your use of that executable is in no way restricted on 28 account of linking the SANE library code into it. 29 30 This exception does not, however, invalidate any other reasons why 31 the executable file might be covered by the GNU General Public 32 License. 33 34 If you submit changes to SANE to the maintainers to be included in 35 a subsequent release, you agree by submitting the changes that 36 those changes may be distributed with this exception intact. 37 38 If you write modifications of your own for SANE, it is your choice 39 whether to permit this exception to apply to your modifications. 40 If you do not wish that, delete this exception notice. 41 */ 42 43 static Lexmark_Sensor sensor_list[] = { 44 { 45 X1100_B2_SENSOR, 46 /* start x, end x and target average for offset calibration */ 47 48, 80, 6, 48 /* usable pixel sensor startx */ 49 106, 50 /* default gain */ 51 16, 52 /* gain calibration targets */ 53 180, 180, 180, 180, 54 /* shading correction targets */ 55 260, 260, 260, 260, 56 /* offset and gain fallback */ 57 0x70, 17}, 58 { 59 X1100_2C_SENSOR, 60 /* start x, end x and target average for offset calibration */ 61 48, 80, 12, 62 /* usable pixel sensor startx */ 63 106, 64 /* default gain */ 65 10, 66 /* gain calibration */ 67 140, 150, 150, 150, 68 /* shading correction */ 69 260, 260, 260, 260, 70 /* offset and gain fallback */ 71 0x70, 11}, 72 { /* USB 1.1 settings */ 73 X1200_SENSOR, 74 /* start x, end x and target average for offset calibration */ 75 32, 64, 15, 76 /* usable pixel sensor startx */ 77 136, 78 /* default gain */ 79 16, 80 /* gain calibration */ 81 180, 180, 180, 180, 82 /* shading correction */ 83 260, 260, 260, 260, 84 /* offset and gain fallback */ 85 0x86, 16}, 86 { /* this one is a 1200 on USB2.0 */ 87 X1200_USB2_SENSOR, 88 /* start x, end x and target average for offset calibration */ 89 32, 64, 12, 90 /* usable pixel sensor startx */ 91 136, 92 /* default gain */ 93 16, 94 /* gain calibration */ 95 180, 180, 180, 180, 96 /* shading correction */ 97 260, 260, 260, 260, 98 /* offset and gain fallback */ 99 0x86, 16}, 100 { 101 A920_SENSOR, 102 /* start x, end x and target average for offset calibration */ 103 48, 80, 6, 104 /* usable pixel sensor startx */ 105 106, 106 /* default gain */ 107 12, 108 /* gain calibration target */ 109 130, 145, 150, 145, 110 /* gain calibration target */ 111 260, 260, 260, 260, 112 /* offset and gain fallback */ 113 0x70, 13}, 114 { 115 X74_SENSOR, 116 /* start x TDONE, end x and target average for offset calibration */ 117 /*36,68,12, */ 118 20, 52, 12, 119 /* usable pixel sensor startx */ 120 /*104, */ 121 104, 122 /* default gain */ 123 10, 124 /* gain calibration target */ 125 130, 145, 150, 145, 126 /* gain calibration target */ 127 260, 260, 260, 260, 128 /* offset and gain fallback */ 129 0x70, 13}, 130 /* termination list sensor, must be last */ 131 {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} 132 }; 133