1141cc406Sopenharmony_ci/* sane - Scanner Access Now Easy. 2141cc406Sopenharmony_ci 3141cc406Sopenharmony_ci Copyright (C) 2007-2012 stef.dev@free.fr 4141cc406Sopenharmony_ci 5141cc406Sopenharmony_ci This file is part of the SANE package. 6141cc406Sopenharmony_ci 7141cc406Sopenharmony_ci This program is free software; you can redistribute it and/or 8141cc406Sopenharmony_ci modify it under the terms of the GNU General Public License as 9141cc406Sopenharmony_ci published by the Free Software Foundation; either version 2 of the 10141cc406Sopenharmony_ci License, or (at your option) any later version. 11141cc406Sopenharmony_ci 12141cc406Sopenharmony_ci This program is distributed in the hope that it will be useful, but 13141cc406Sopenharmony_ci WITHOUT ANY WARRANTY; without even the implied warranty of 14141cc406Sopenharmony_ci MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15141cc406Sopenharmony_ci General Public License for more details. 16141cc406Sopenharmony_ci 17141cc406Sopenharmony_ci You should have received a copy of the GNU General Public License 18141cc406Sopenharmony_ci along with this program. If not, see <https://www.gnu.org/licenses/>. 19141cc406Sopenharmony_ci 20141cc406Sopenharmony_ci As a special exception, the authors of SANE give permission for 21141cc406Sopenharmony_ci additional uses of the libraries contained in this release of SANE. 22141cc406Sopenharmony_ci 23141cc406Sopenharmony_ci The exception is that, if you link a SANE library with other files 24141cc406Sopenharmony_ci to produce an executable, this does not by itself cause the 25141cc406Sopenharmony_ci resulting executable to be covered by the GNU General Public 26141cc406Sopenharmony_ci License. Your use of that executable is in no way restricted on 27141cc406Sopenharmony_ci account of linking the SANE library code into it. 28141cc406Sopenharmony_ci 29141cc406Sopenharmony_ci This exception does not, however, invalidate any other reasons why 30141cc406Sopenharmony_ci the executable file might be covered by the GNU General Public 31141cc406Sopenharmony_ci License. 32141cc406Sopenharmony_ci 33141cc406Sopenharmony_ci If you submit changes to SANE to the maintainers to be included in 34141cc406Sopenharmony_ci a subsequent release, you agree by submitting the changes that 35141cc406Sopenharmony_ci those changes may be distributed with this exception intact. 36141cc406Sopenharmony_ci 37141cc406Sopenharmony_ci If you write modifications of your own for SANE, it is your choice 38141cc406Sopenharmony_ci whether to permit this exception to apply to your modifications. 39141cc406Sopenharmony_ci If you do not wish that, delete this exception notice. 40141cc406Sopenharmony_ci*/ 41141cc406Sopenharmony_ci 42141cc406Sopenharmony_ci 43141cc406Sopenharmony_ci/* here we have the various device settings... 44141cc406Sopenharmony_ci */ 45141cc406Sopenharmony_cistatic Rts8891_Model hp4400c_model = { 46141cc406Sopenharmony_ci "HP4400c", /* Name */ 47141cc406Sopenharmony_ci "Hewlett-Packard", /* Device vendor string */ 48141cc406Sopenharmony_ci "4400c", /* Device model name */ 49141cc406Sopenharmony_ci "flatbed scanner", /* Device type */ 50141cc406Sopenharmony_ci {1200, 600, 300, 150, 75, 0}, /* possible x-resolutions */ 51141cc406Sopenharmony_ci {600, 300, 150, 0}, /* possible y-resolutions */ 52141cc406Sopenharmony_ci 1200, /* max physical x dpi */ 53141cc406Sopenharmony_ci 600, /* max physical y dpi */ 54141cc406Sopenharmony_ci 150, /* min physical y dpi */ 55141cc406Sopenharmony_ci 56141cc406Sopenharmony_ci SANE_FIX (8.3), /* Start of scan area in mm (x) */ 57141cc406Sopenharmony_ci SANE_FIX (3.0), /* Start of scan area in mm (y) */ 58141cc406Sopenharmony_ci SANE_FIX (215.9), /* Size of scan area in mm (x) */ 59141cc406Sopenharmony_ci SANE_FIX (298.1), /* Size of scan area in mm (y) */ 60141cc406Sopenharmony_ci 61141cc406Sopenharmony_ci SANE_FIX (0.0), /* Start of scan area in TA mode in mm (x) */ 62141cc406Sopenharmony_ci SANE_FIX (0.0), /* Start of scan area in TA mode in mm (y) */ 63141cc406Sopenharmony_ci SANE_FIX (100.0), /* Size of scan area in TA mode in mm (x) */ 64141cc406Sopenharmony_ci SANE_FIX (100.0), /* Size of scan area in TA mode in mm (y) */ 65141cc406Sopenharmony_ci 66141cc406Sopenharmony_ci 24, 12, 0, /* R, G, and B CCD Line-distance correction in lines at 67141cc406Sopenharmony_ci max motor resolution */ 68141cc406Sopenharmony_ci /* default sensor */ 69141cc406Sopenharmony_ci SENSOR_TYPE_4400, 70141cc406Sopenharmony_ci 71141cc406Sopenharmony_ci /* default gamma table */ 72141cc406Sopenharmony_ci {0x00, 0x04, 0x08, 0x0c, 0x10, 0x14, 0x18, 0x1c, 0x20, 0x24, 0x28, 0x2c, 73141cc406Sopenharmony_ci 0x30, 0x34, 0x38, 0x3c, 0x40, 0x44, 0x48, 0x4c, 0x50, 0x52, 0x53, 0x55, 74141cc406Sopenharmony_ci 0x57, 0x58, 0x5a, 0x5c, 0x5d, 0x5f, 0x60, 0x62, 0x63, 0x64, 0x66, 0x67, 75141cc406Sopenharmony_ci 0x68, 0x6a, 0x6b, 0x6c, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x74, 0x75, 0x76, 76141cc406Sopenharmony_ci 0x77, 0x78, 0x79, 0x7a, 0x7c, 0x7d, 0x7e, 0x7f, 0x80, 0x81, 0x82, 0x83, 77141cc406Sopenharmony_ci 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8d, 0x8e, 78141cc406Sopenharmony_ci 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x96, 0x97, 0x98, 0x99, 79141cc406Sopenharmony_ci 0x9a, 0x9b, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f, 0x9f, 0xa0, 0xa1, 0xa2, 0xa3, 80141cc406Sopenharmony_ci 0xa3, 0xa4, 0xa5, 0xa6, 0xa6, 0xa7, 0xa8, 0xa9, 0xa9, 0xaa, 0xab, 0xac, 81141cc406Sopenharmony_ci 0xac, 0xad, 0xae, 0xaf, 0xaf, 0xb0, 0xb1, 0xb1, 0xb2, 0xb3, 0xb4, 0xb4, 82141cc406Sopenharmony_ci 0xb5, 0xb6, 0xb6, 0xb7, 0xb8, 0xb8, 0xb9, 0xba, 0xba, 0xbb, 0xbc, 0xbc, 83141cc406Sopenharmony_ci 0xbd, 0xbe, 0xbe, 0xbf, 0xc0, 0xc0, 0xc1, 0xc1, 0xc2, 0xc3, 0xc3, 0xc4, 84141cc406Sopenharmony_ci 0xc5, 0xc5, 0xc6, 0xc6, 0xc7, 0xc8, 0xc8, 0xc9, 0xc9, 0xca, 0xcb, 0xcb, 85141cc406Sopenharmony_ci 0xcc, 0xcc, 0xcd, 0xce, 0xce, 0xcf, 0xcf, 0xd0, 0xd1, 0xd1, 0xd2, 0xd2, 86141cc406Sopenharmony_ci 0xd3, 0xd3, 0xd4, 0xd5, 0xd5, 0xd6, 0xd6, 0xd7, 0xd7, 0xd8, 0xd9, 0xd9, 87141cc406Sopenharmony_ci 0xda, 0xda, 0xdb, 0xdb, 0xdc, 0xdc, 0xdd, 0xdd, 0xde, 0xdf, 0xdf, 0xe0, 88141cc406Sopenharmony_ci 0xe0, 0xe1, 0xe1, 0xe2, 0xe2, 0xe3, 0xe3, 0xe4, 0xe4, 0xe5, 0xe5, 0xe6, 89141cc406Sopenharmony_ci 0xe6, 0xe7, 0xe7, 0xe8, 0xe8, 0xe9, 0xe9, 0xea, 0xea, 0xeb, 0xeb, 0xec, 90141cc406Sopenharmony_ci 0xec, 0xed, 0xed, 0xee, 0xee, 0xef, 0xef, 0xf0, 0xf0, 0xf1, 0xf1, 0xf2, 91141cc406Sopenharmony_ci 0xf2, 0xf3, 0xf3, 0xf4, 0xf4, 0xf5, 0xf5, 0xf6, 0xf6, 0xf7, 0xf7, 0xf8, 92141cc406Sopenharmony_ci 0xf8, 0xf9, 0xf9, 0xfa, 0xfa, 0xfa, 0xfb, 0xfb, 0xfc, 0xfc, 0xfd, 0xfd, 93141cc406Sopenharmony_ci 0xfe, 0xfe, 0xff, 0xff}, 94141cc406Sopenharmony_ci 95141cc406Sopenharmony_ci /* number of buttons */ 96141cc406Sopenharmony_ci 5, 97141cc406Sopenharmony_ci 98141cc406Sopenharmony_ci /* button names */ 99141cc406Sopenharmony_ci { "copy", "mail", "image-copy", "scan", "power"}, 100141cc406Sopenharmony_ci 101141cc406Sopenharmony_ci /* button titles */ 102141cc406Sopenharmony_ci { "copy", "mail", "image copy", "scan", "power"}, 103141cc406Sopenharmony_ci 104141cc406Sopenharmony_ci /* flags */ 105141cc406Sopenharmony_ci RTS8891_FLAG_EMULATED_GRAY_MODE 106141cc406Sopenharmony_ci}; 107141cc406Sopenharmony_ci 108141cc406Sopenharmony_ci 109141cc406Sopenharmony_cistatic Rts8891_Model hp4470c_model = { 110141cc406Sopenharmony_ci "HP4470c", /* Name */ 111141cc406Sopenharmony_ci "Hewlett-Packard", /* Device vendor string */ 112141cc406Sopenharmony_ci "4470c", /* Device model name */ 113141cc406Sopenharmony_ci "flatbed scanner", /* Device type */ 114141cc406Sopenharmony_ci {1200, 600, 300, 150, 75, 0}, /* possible x-resolutions */ 115141cc406Sopenharmony_ci {600, 300, 150, 0}, /* possible y-resolutions */ 116141cc406Sopenharmony_ci 1200, /* max physical x dpi */ 117141cc406Sopenharmony_ci 600, /* max physical y dpi */ 118141cc406Sopenharmony_ci 150, /* min physical y dpi */ 119141cc406Sopenharmony_ci 120141cc406Sopenharmony_ci SANE_FIX (8.3), /* Start of scan area in mm (x) */ 121141cc406Sopenharmony_ci SANE_FIX (3.0), /* Start of scan area in mm (y) */ 122141cc406Sopenharmony_ci SANE_FIX (215.9), /* Size of scan area in mm (x) */ 123141cc406Sopenharmony_ci SANE_FIX (298.1), /* Size of scan area in mm (y) */ 124141cc406Sopenharmony_ci 125141cc406Sopenharmony_ci SANE_FIX (0.0), /* Start of scan area in TA mode in mm (x) */ 126141cc406Sopenharmony_ci SANE_FIX (0.0), /* Start of scan area in TA mode in mm (y) */ 127141cc406Sopenharmony_ci SANE_FIX (100.0), /* Size of scan area in TA mode in mm (x) */ 128141cc406Sopenharmony_ci SANE_FIX (100.0), /* Size of scan area in TA mode in mm (y) */ 129141cc406Sopenharmony_ci 130141cc406Sopenharmony_ci 24, 12, 0, /* R, G, and B CCD Line-distance correction in lines at 131141cc406Sopenharmony_ci max motor resolution */ 132141cc406Sopenharmony_ci /* default sensor */ 133141cc406Sopenharmony_ci SENSOR_TYPE_XPA, 134141cc406Sopenharmony_ci 135141cc406Sopenharmony_ci /* default gamma table */ 136141cc406Sopenharmony_ci {0x00, 0x04, 0x08, 0x0c, 0x10, 0x14, 0x18, 0x1c, 0x20, 0x24, 0x28, 0x2c, 137141cc406Sopenharmony_ci 0x30, 0x34, 0x38, 0x3c, 0x40, 0x44, 0x48, 0x4c, 0x50, 0x52, 0x53, 0x55, 138141cc406Sopenharmony_ci 0x57, 0x58, 0x5a, 0x5c, 0x5d, 0x5f, 0x60, 0x62, 0x63, 0x64, 0x66, 0x67, 139141cc406Sopenharmony_ci 0x68, 0x6a, 0x6b, 0x6c, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x74, 0x75, 0x76, 140141cc406Sopenharmony_ci 0x77, 0x78, 0x79, 0x7a, 0x7c, 0x7d, 0x7e, 0x7f, 0x80, 0x81, 0x82, 0x83, 141141cc406Sopenharmony_ci 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8d, 0x8e, 142141cc406Sopenharmony_ci 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x96, 0x97, 0x98, 0x99, 143141cc406Sopenharmony_ci 0x9a, 0x9b, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f, 0x9f, 0xa0, 0xa1, 0xa2, 0xa3, 144141cc406Sopenharmony_ci 0xa3, 0xa4, 0xa5, 0xa6, 0xa6, 0xa7, 0xa8, 0xa9, 0xa9, 0xaa, 0xab, 0xac, 145141cc406Sopenharmony_ci 0xac, 0xad, 0xae, 0xaf, 0xaf, 0xb0, 0xb1, 0xb1, 0xb2, 0xb3, 0xb4, 0xb4, 146141cc406Sopenharmony_ci 0xb5, 0xb6, 0xb6, 0xb7, 0xb8, 0xb8, 0xb9, 0xba, 0xba, 0xbb, 0xbc, 0xbc, 147141cc406Sopenharmony_ci 0xbd, 0xbe, 0xbe, 0xbf, 0xc0, 0xc0, 0xc1, 0xc1, 0xc2, 0xc3, 0xc3, 0xc4, 148141cc406Sopenharmony_ci 0xc5, 0xc5, 0xc6, 0xc6, 0xc7, 0xc8, 0xc8, 0xc9, 0xc9, 0xca, 0xcb, 0xcb, 149141cc406Sopenharmony_ci 0xcc, 0xcc, 0xcd, 0xce, 0xce, 0xcf, 0xcf, 0xd0, 0xd1, 0xd1, 0xd2, 0xd2, 150141cc406Sopenharmony_ci 0xd3, 0xd3, 0xd4, 0xd5, 0xd5, 0xd6, 0xd6, 0xd7, 0xd7, 0xd8, 0xd9, 0xd9, 151141cc406Sopenharmony_ci 0xda, 0xda, 0xdb, 0xdb, 0xdc, 0xdc, 0xdd, 0xdd, 0xde, 0xdf, 0xdf, 0xe0, 152141cc406Sopenharmony_ci 0xe0, 0xe1, 0xe1, 0xe2, 0xe2, 0xe3, 0xe3, 0xe4, 0xe4, 0xe5, 0xe5, 0xe6, 153141cc406Sopenharmony_ci 0xe6, 0xe7, 0xe7, 0xe8, 0xe8, 0xe9, 0xe9, 0xea, 0xea, 0xeb, 0xeb, 0xec, 154141cc406Sopenharmony_ci 0xec, 0xed, 0xed, 0xee, 0xee, 0xef, 0xef, 0xf0, 0xf0, 0xf1, 0xf1, 0xf2, 155141cc406Sopenharmony_ci 0xf2, 0xf3, 0xf3, 0xf4, 0xf4, 0xf5, 0xf5, 0xf6, 0xf6, 0xf7, 0xf7, 0xf8, 156141cc406Sopenharmony_ci 0xf8, 0xf9, 0xf9, 0xfa, 0xfa, 0xfa, 0xfb, 0xfb, 0xfc, 0xfc, 0xfd, 0xfd, 157141cc406Sopenharmony_ci 0xfe, 0xfe, 0xff, 0xff}, 158141cc406Sopenharmony_ci 159141cc406Sopenharmony_ci /* number of buttons */ 160141cc406Sopenharmony_ci 11, 161141cc406Sopenharmony_ci 162141cc406Sopenharmony_ci /* button names */ 163141cc406Sopenharmony_ci {"plus", "minus", "copy", "mail", "image-copy", "www", "scan", "power", 164141cc406Sopenharmony_ci "cancel", "options", "toggle-mode"}, 165141cc406Sopenharmony_ci 166141cc406Sopenharmony_ci /* button titles */ 167141cc406Sopenharmony_ci {"plus", "minus", "copy", "mail", "image copy", "www", "scan", "power", 168141cc406Sopenharmony_ci "cancel", "options", "toggle color/gray mode"}, 169141cc406Sopenharmony_ci 170141cc406Sopenharmony_ci /* flags */ 171141cc406Sopenharmony_ci RTS8891_FLAG_EMULATED_GRAY_MODE 172141cc406Sopenharmony_ci}; 173141cc406Sopenharmony_ci 174141cc406Sopenharmony_cistatic Rts8891_Model astra4400_model = { 175141cc406Sopenharmony_ci "Astra 4400", /* Name */ 176141cc406Sopenharmony_ci "UMAX", /* Device vendor string */ 177141cc406Sopenharmony_ci "Astra 4400", /* Device model name */ 178141cc406Sopenharmony_ci "flatbed scanner", /* Device type */ 179141cc406Sopenharmony_ci 180141cc406Sopenharmony_ci {1200, 600, 300, 150, 75, 0}, /* possible x-resolutions */ 181141cc406Sopenharmony_ci {600, 300, 150, 0}, /* possible y-resolutions */ 182141cc406Sopenharmony_ci 1200, /* max physical x dpi */ 183141cc406Sopenharmony_ci 600, /* max physical y dpi */ 184141cc406Sopenharmony_ci 150, /* min physical y dpi */ 185141cc406Sopenharmony_ci 186141cc406Sopenharmony_ci SANE_FIX (8.3), /* Start of scan area in mm (x) */ 187141cc406Sopenharmony_ci SANE_FIX (3.0), /* Start of scan area in mm (y) */ 188141cc406Sopenharmony_ci SANE_FIX (215.9), /* Size of scan area in mm (x) */ 189141cc406Sopenharmony_ci SANE_FIX (298.1), /* Size of scan area in mm (y) */ 190141cc406Sopenharmony_ci 191141cc406Sopenharmony_ci SANE_FIX (0.0), /* Start of scan area in TA mode in mm (x) */ 192141cc406Sopenharmony_ci SANE_FIX (0.0), /* Start of scan area in TA mode in mm (y) */ 193141cc406Sopenharmony_ci SANE_FIX (100.0), /* Size of scan area in TA mode in mm (x) */ 194141cc406Sopenharmony_ci SANE_FIX (100.0), /* Size of scan area in TA mode in mm (y) */ 195141cc406Sopenharmony_ci 196141cc406Sopenharmony_ci 24, 12, 0, /* R, G, and B CCD Line-distance correction in lines at 197141cc406Sopenharmony_ci max motor resolution */ 198141cc406Sopenharmony_ci /* default sensor */ 199141cc406Sopenharmony_ci SENSOR_TYPE_XPA, 200141cc406Sopenharmony_ci 201141cc406Sopenharmony_ci /* default gamma table */ 202141cc406Sopenharmony_ci {0x00, 0x04, 0x08, 0x0c, 0x10, 0x14, 0x18, 0x1c, 0x20, 0x24, 0x28, 0x2c, 203141cc406Sopenharmony_ci 0x30, 0x34, 0x38, 0x3c, 0x40, 0x44, 0x48, 0x4c, 0x50, 0x52, 0x53, 0x55, 204141cc406Sopenharmony_ci 0x57, 0x58, 0x5a, 0x5c, 0x5d, 0x5f, 0x60, 0x62, 0x63, 0x64, 0x66, 0x67, 205141cc406Sopenharmony_ci 0x68, 0x6a, 0x6b, 0x6c, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x74, 0x75, 0x76, 206141cc406Sopenharmony_ci 0x77, 0x78, 0x79, 0x7a, 0x7c, 0x7d, 0x7e, 0x7f, 0x80, 0x81, 0x82, 0x83, 207141cc406Sopenharmony_ci 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8d, 0x8e, 208141cc406Sopenharmony_ci 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x96, 0x97, 0x98, 0x99, 209141cc406Sopenharmony_ci 0x9a, 0x9b, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f, 0x9f, 0xa0, 0xa1, 0xa2, 0xa3, 210141cc406Sopenharmony_ci 0xa3, 0xa4, 0xa5, 0xa6, 0xa6, 0xa7, 0xa8, 0xa9, 0xa9, 0xaa, 0xab, 0xac, 211141cc406Sopenharmony_ci 0xac, 0xad, 0xae, 0xaf, 0xaf, 0xb0, 0xb1, 0xb1, 0xb2, 0xb3, 0xb4, 0xb4, 212141cc406Sopenharmony_ci 0xb5, 0xb6, 0xb6, 0xb7, 0xb8, 0xb8, 0xb9, 0xba, 0xba, 0xbb, 0xbc, 0xbc, 213141cc406Sopenharmony_ci 0xbd, 0xbe, 0xbe, 0xbf, 0xc0, 0xc0, 0xc1, 0xc1, 0xc2, 0xc3, 0xc3, 0xc4, 214141cc406Sopenharmony_ci 0xc5, 0xc5, 0xc6, 0xc6, 0xc7, 0xc8, 0xc8, 0xc9, 0xc9, 0xca, 0xcb, 0xcb, 215141cc406Sopenharmony_ci 0xcc, 0xcc, 0xcd, 0xce, 0xce, 0xcf, 0xcf, 0xd0, 0xd1, 0xd1, 0xd2, 0xd2, 216141cc406Sopenharmony_ci 0xd3, 0xd3, 0xd4, 0xd5, 0xd5, 0xd6, 0xd6, 0xd7, 0xd7, 0xd8, 0xd9, 0xd9, 217141cc406Sopenharmony_ci 0xda, 0xda, 0xdb, 0xdb, 0xdc, 0xdc, 0xdd, 0xdd, 0xde, 0xdf, 0xdf, 0xe0, 218141cc406Sopenharmony_ci 0xe0, 0xe1, 0xe1, 0xe2, 0xe2, 0xe3, 0xe3, 0xe4, 0xe4, 0xe5, 0xe5, 0xe6, 219141cc406Sopenharmony_ci 0xe6, 0xe7, 0xe7, 0xe8, 0xe8, 0xe9, 0xe9, 0xea, 0xea, 0xeb, 0xeb, 0xec, 220141cc406Sopenharmony_ci 0xec, 0xed, 0xed, 0xee, 0xee, 0xef, 0xef, 0xf0, 0xf0, 0xf1, 0xf1, 0xf2, 221141cc406Sopenharmony_ci 0xf2, 0xf3, 0xf3, 0xf4, 0xf4, 0xf5, 0xf5, 0xf6, 0xf6, 0xf7, 0xf7, 0xf8, 222141cc406Sopenharmony_ci 0xf8, 0xf9, 0xf9, 0xfa, 0xfa, 0xfa, 0xfb, 0xfb, 0xfc, 0xfc, 0xfd, 0xfd, 223141cc406Sopenharmony_ci 0xfe, 0xfe, 0xff, 0xff}, 224141cc406Sopenharmony_ci 225141cc406Sopenharmony_ci /* number of buttons */ 226141cc406Sopenharmony_ci 11, 227141cc406Sopenharmony_ci 228141cc406Sopenharmony_ci /* button names */ 229141cc406Sopenharmony_ci {"plus", "minus", "copy", "mail", "image-copy", "www", "scan", "power", 230141cc406Sopenharmony_ci "cancel", "options", "toggle-mode"}, 231141cc406Sopenharmony_ci 232141cc406Sopenharmony_ci /* button titles */ 233141cc406Sopenharmony_ci {"plus", "minus", "copy", "mail", "image copy", "www", "scan", "power", 234141cc406Sopenharmony_ci "cancel", "options", "toggle color/gray mode"}, 235141cc406Sopenharmony_ci 236141cc406Sopenharmony_ci /* flags */ 237141cc406Sopenharmony_ci RTS8891_FLAG_EMULATED_GRAY_MODE 238141cc406Sopenharmony_ci}; 239141cc406Sopenharmony_ci 240141cc406Sopenharmony_ci/* full list of supported devices: vendor, product, description structure */ 241141cc406Sopenharmony_cistatic Rts8891_USB_Device_Entry rts8891_usb_device_list[] = { 242141cc406Sopenharmony_ci {0x03f0, 0x0705, &hp4400c_model}, 243141cc406Sopenharmony_ci {0x03f0, 0x0805, &hp4470c_model}, 244141cc406Sopenharmony_ci {0x1606, 0x0070, &astra4400_model}, 245141cc406Sopenharmony_ci {0, 0, NULL} 246141cc406Sopenharmony_ci}; 247