[sane-devel] Is a model supported or not ?

Nicolas Lécureuil mageia at nicolaslecureuil.fr
Thu Feb 18 09:15:07 UTC 2016


Hi

i have a small question because for the Canon 4400F, if i look in the 
code of the genesys backend ( backend/genesys_devices.c ) i can see:

static Genesys_Model canon_4400f_model = {
   "canon-canoscan-4400f",        /* Name */
   "Canon",                        /* Device vendor string */
   "Canoscan 4400f",                /* Device model name */
   GENESYS_GL843,
   NULL,

   { 4800, 2400, 1200, 600, 400, 300, 200, 150, 100, 0},
   { 4800, 2400, 1200, 600, 400, 300, 200, 150, 100, 0},
   {16, 8, 0},                        /* possible depths in gray mode */
   {16, 8, 0},                        /* possible depths in color mode */

   SANE_FIX (6.0),                /* Start of scan area in mm  (x) */
   SANE_FIX (13.00),                /* Start of scan area in mm (y) */
   SANE_FIX (217.9),                /* Size of scan area in mm (x) 5148 
pixels at 600 dpi*/
   SANE_FIX (315.0),                /* Size of scan area in mm (y) */

   SANE_FIX (3.0),                /* Start of white strip in mm (y) */
   SANE_FIX (0.0),                /* Start of black mark in mm (x) */

   SANE_FIX (8.0),                /* Start of scan area in TA mode in mm 
(x) */
   SANE_FIX (13.00),                /* Start of scan area in TA mode in 
mm (y) */
   SANE_FIX (217.9),                /* Size of scan area in TA mode in mm 
(x) */
   SANE_FIX (250.0),                /* Size of scan area in TA mode in mm 
(y) */

   SANE_FIX (40.0),                /* Start of white strip in TA mode in 
mm (y) */

   SANE_FIX (0.0),                /* Size of scan area after paper sensor 
stops
                                    sensing document in mm */
   SANE_FIX (0.0),                /* Amount of feeding needed to eject 
document
                                    after finishing scanning in mm */

   0, 24, 48,                        /* RGB CCD Line-distance correction 
in line number */
                                   /* 0 38 76 OK 1200/2400 */
                                   /* 0 24 48 OK [100,600] dpi */

   COLOR_ORDER_RGB,                /* Order of the CCD/CIS colors */

   SANE_FALSE,                        /* Is this a CIS scanner? */
   SANE_FALSE,                        /* Is this a sheetfed scanner? */
   CCD_CS4400F,
   DAC_G4050,
   GPO_CS4400F,
   MOTOR_G4050,
   GENESYS_FLAG_NO_CALIBRATION |
   GENESYS_FLAG_LAZY_INIT |
   GENESYS_FLAG_OFFSET_CALIBRATION |
   GENESYS_FLAG_STAGGERED_LINE |
   GENESYS_FLAG_SKIP_WARMUP |
   GENESYS_FLAG_DARK_CALIBRATION |
   GENESYS_FLAG_FULL_HWDPI_MODE |
   GENESYS_FLAG_HALF_CCD_MODE |                /* actually quarter CCD 
mode ... */
   GENESYS_FLAG_CUSTOM_GAMMA,
   GENESYS_HAS_SCAN_SW | GENESYS_HAS_FILE_SW | GENESYS_HAS_COPY_SW,
   100,
   100
};


and other that tend to show the model is supported.


but in ./descriptions/genesys.desc we have:

:model "CanoScan 4400F"
:url "/unsupported/canon-4400.html"
:interface "USB"
:usbid "0x04a9" "0x2228"
:status :unsupported
:comment "GL843 based, to be added to genesys backend"



More information about the sane-devel mailing list