1141cc406Sopenharmony_ci/* sane - Scanner Access Now Easy. 2141cc406Sopenharmony_ci 3141cc406Sopenharmony_ci Copyright (C) 2006-2010 Stéphane Voltz <stef.dev@free.fr> 4141cc406Sopenharmony_ci Copyright (C) 2010 "Torsten Houwaart" <ToHo@gmx.de> X74 support 5141cc406Sopenharmony_ci 6141cc406Sopenharmony_ci This file is part of the SANE package. 7141cc406Sopenharmony_ci 8141cc406Sopenharmony_ci This program is free software; you can redistribute it and/or 9141cc406Sopenharmony_ci modify it under the terms of the GNU General Public License as 10141cc406Sopenharmony_ci published by the Free Software Foundation; either version 2 of the 11141cc406Sopenharmony_ci License, or (at your option) any later version. 12141cc406Sopenharmony_ci 13141cc406Sopenharmony_ci This program is distributed in the hope that it will be useful, but 14141cc406Sopenharmony_ci WITHOUT ANY WARRANTY; without even the implied warranty of 15141cc406Sopenharmony_ci MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16141cc406Sopenharmony_ci General Public License for more details. 17141cc406Sopenharmony_ci 18141cc406Sopenharmony_ci You should have received a copy of the GNU General Public License 19141cc406Sopenharmony_ci along with this program. If not, see <https://www.gnu.org/licenses/>. 20141cc406Sopenharmony_ci 21141cc406Sopenharmony_ci As a special exception, the authors of SANE give permission for 22141cc406Sopenharmony_ci additional uses of the libraries contained in this release of SANE. 23141cc406Sopenharmony_ci 24141cc406Sopenharmony_ci The exception is that, if you link a SANE library with other files 25141cc406Sopenharmony_ci to produce an executable, this does not by itself cause the 26141cc406Sopenharmony_ci resulting executable to be covered by the GNU General Public 27141cc406Sopenharmony_ci License. Your use of that executable is in no way restricted on 28141cc406Sopenharmony_ci account of linking the SANE library code into it. 29141cc406Sopenharmony_ci 30141cc406Sopenharmony_ci This exception does not, however, invalidate any other reasons why 31141cc406Sopenharmony_ci the executable file might be covered by the GNU General Public 32141cc406Sopenharmony_ci License. 33141cc406Sopenharmony_ci 34141cc406Sopenharmony_ci If you submit changes to SANE to the maintainers to be included in 35141cc406Sopenharmony_ci a subsequent release, you agree by submitting the changes that 36141cc406Sopenharmony_ci those changes may be distributed with this exception intact. 37141cc406Sopenharmony_ci 38141cc406Sopenharmony_ci If you write modifications of your own for SANE, it is your choice 39141cc406Sopenharmony_ci whether to permit this exception to apply to your modifications. 40141cc406Sopenharmony_ci If you do not wish that, delete this exception notice. 41141cc406Sopenharmony_ci*/ 42141cc406Sopenharmony_ci 43141cc406Sopenharmony_cistatic Lexmark_Sensor sensor_list[] = { 44141cc406Sopenharmony_ci { 45141cc406Sopenharmony_ci X1100_B2_SENSOR, 46141cc406Sopenharmony_ci /* start x, end x and target average for offset calibration */ 47141cc406Sopenharmony_ci 48, 80, 6, 48141cc406Sopenharmony_ci /* usable pixel sensor startx */ 49141cc406Sopenharmony_ci 106, 50141cc406Sopenharmony_ci /* default gain */ 51141cc406Sopenharmony_ci 16, 52141cc406Sopenharmony_ci /* gain calibration targets */ 53141cc406Sopenharmony_ci 180, 180, 180, 180, 54141cc406Sopenharmony_ci /* shading correction targets */ 55141cc406Sopenharmony_ci 260, 260, 260, 260, 56141cc406Sopenharmony_ci /* offset and gain fallback */ 57141cc406Sopenharmony_ci 0x70, 17}, 58141cc406Sopenharmony_ci { 59141cc406Sopenharmony_ci X1100_2C_SENSOR, 60141cc406Sopenharmony_ci /* start x, end x and target average for offset calibration */ 61141cc406Sopenharmony_ci 48, 80, 12, 62141cc406Sopenharmony_ci /* usable pixel sensor startx */ 63141cc406Sopenharmony_ci 106, 64141cc406Sopenharmony_ci /* default gain */ 65141cc406Sopenharmony_ci 10, 66141cc406Sopenharmony_ci /* gain calibration */ 67141cc406Sopenharmony_ci 140, 150, 150, 150, 68141cc406Sopenharmony_ci /* shading correction */ 69141cc406Sopenharmony_ci 260, 260, 260, 260, 70141cc406Sopenharmony_ci /* offset and gain fallback */ 71141cc406Sopenharmony_ci 0x70, 11}, 72141cc406Sopenharmony_ci { /* USB 1.1 settings */ 73141cc406Sopenharmony_ci X1200_SENSOR, 74141cc406Sopenharmony_ci /* start x, end x and target average for offset calibration */ 75141cc406Sopenharmony_ci 32, 64, 15, 76141cc406Sopenharmony_ci /* usable pixel sensor startx */ 77141cc406Sopenharmony_ci 136, 78141cc406Sopenharmony_ci /* default gain */ 79141cc406Sopenharmony_ci 16, 80141cc406Sopenharmony_ci /* gain calibration */ 81141cc406Sopenharmony_ci 180, 180, 180, 180, 82141cc406Sopenharmony_ci /* shading correction */ 83141cc406Sopenharmony_ci 260, 260, 260, 260, 84141cc406Sopenharmony_ci /* offset and gain fallback */ 85141cc406Sopenharmony_ci 0x86, 16}, 86141cc406Sopenharmony_ci { /* this one is a 1200 on USB2.0 */ 87141cc406Sopenharmony_ci X1200_USB2_SENSOR, 88141cc406Sopenharmony_ci /* start x, end x and target average for offset calibration */ 89141cc406Sopenharmony_ci 32, 64, 12, 90141cc406Sopenharmony_ci /* usable pixel sensor startx */ 91141cc406Sopenharmony_ci 136, 92141cc406Sopenharmony_ci /* default gain */ 93141cc406Sopenharmony_ci 16, 94141cc406Sopenharmony_ci /* gain calibration */ 95141cc406Sopenharmony_ci 180, 180, 180, 180, 96141cc406Sopenharmony_ci /* shading correction */ 97141cc406Sopenharmony_ci 260, 260, 260, 260, 98141cc406Sopenharmony_ci /* offset and gain fallback */ 99141cc406Sopenharmony_ci 0x86, 16}, 100141cc406Sopenharmony_ci { 101141cc406Sopenharmony_ci A920_SENSOR, 102141cc406Sopenharmony_ci /* start x, end x and target average for offset calibration */ 103141cc406Sopenharmony_ci 48, 80, 6, 104141cc406Sopenharmony_ci /* usable pixel sensor startx */ 105141cc406Sopenharmony_ci 106, 106141cc406Sopenharmony_ci /* default gain */ 107141cc406Sopenharmony_ci 12, 108141cc406Sopenharmony_ci /* gain calibration target */ 109141cc406Sopenharmony_ci 130, 145, 150, 145, 110141cc406Sopenharmony_ci /* gain calibration target */ 111141cc406Sopenharmony_ci 260, 260, 260, 260, 112141cc406Sopenharmony_ci /* offset and gain fallback */ 113141cc406Sopenharmony_ci 0x70, 13}, 114141cc406Sopenharmony_ci { 115141cc406Sopenharmony_ci X74_SENSOR, 116141cc406Sopenharmony_ci /* start x TDONE, end x and target average for offset calibration */ 117141cc406Sopenharmony_ci /*36,68,12, */ 118141cc406Sopenharmony_ci 20, 52, 12, 119141cc406Sopenharmony_ci /* usable pixel sensor startx */ 120141cc406Sopenharmony_ci /*104, */ 121141cc406Sopenharmony_ci 104, 122141cc406Sopenharmony_ci /* default gain */ 123141cc406Sopenharmony_ci 10, 124141cc406Sopenharmony_ci /* gain calibration target */ 125141cc406Sopenharmony_ci 130, 145, 150, 145, 126141cc406Sopenharmony_ci /* gain calibration target */ 127141cc406Sopenharmony_ci 260, 260, 260, 260, 128141cc406Sopenharmony_ci /* offset and gain fallback */ 129141cc406Sopenharmony_ci 0x70, 13}, 130141cc406Sopenharmony_ci /* termination list sensor, must be last */ 131141cc406Sopenharmony_ci {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} 132141cc406Sopenharmony_ci}; 133