[sane-devel] hp3670

Mickael Profeta mike@alezan.org
Sun, 04 Jul 2004 17:02:50 +0200


This is a multi-part message in MIME format.
--------------010804010308040904040002
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi

I did not give news since a long time, sorry but I had others things to
do... (find a job...)

I try the genesys backend for this scanner, I attach the modifications
to make it recognise and the output of scanimage with debug, if it can
help...

And YES! the motor moves, ok just 1 cm, but it is the first step ;)

I put some logs of sane-find-scanner and scanimage here:

http://www.alezan.org/hp3670/

  scanimage.3670.gz  and sane-find-scanner.3670.gz

Cheers
Mike


--------------010804010308040904040002
Content-Type: text/plain;
 name="diff.genesys.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="diff.genesys.conf"

--- experimental/genesys/genesys.conf	2004-04-18 20:04:23.000000000 +0200
+++ sane-backends/backend/genesys.conf	2004-07-02 20:50:55.000000000 +0200
@@ -11,3 +11,6 @@
 
 # Hewlett Packard ScanJet 2400
 usb 0x03f0 0x0a01
+
+# hp3670c
+usb 0x03f0 0x1405


--------------010804010308040904040002
Content-Type: text/x-csrc;
 name="diff.genesys_low.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="diff.genesys_low.c"

--- experimental/genesys/genesys_low.c	2004-04-18 20:04:23.000000000 +0200
+++ sane-backends/backend/genesys_low.c	2004-07-02 21:23:01.000000000 +0200
@@ -3991,11 +3991,50 @@
   /* untested, values set by julien t. according to vendor's datasheet. */
 };
 
+static Genesys_Model hp3670c_model = {
+  "hewlett-packard-scanjet-3670c",		/* Name */
+  "Hewlett Packard",			    /* Device vendor string */
+  "ScanJet 3670c",			/* Device model name */
+
+  1200,                         /* maximum optical sensor resolution */
+  1200,                         /* motor base steps */
+  2400,                         /* maximum motor resolution */
+
+  {1200, 600, 300, 150, 75, 0}, /* possible x-resolutions */
+  {2400, 1200, 600, 300, 150, 75, 0},   /* possible y-resolutions */
+  {48, 40, 32, 24, 16, 8, 0},   /* possible depths in gray mode */
+  {48, 40, 32, 24, 16, 8, 0},   /* possible depths in color mode */
+
+  SANE_FIX (3.5),               /* Start of scan area in mm  (x) */
+  SANE_FIX (7.5),               /* Start of scan area in mm (y) */
+  SANE_FIX (215.9),             /* Size of scan area in mm (x) */
+  SANE_FIX (297.2),             /* Size of scan area in mm (y) */
+
+  SANE_FIX (0.0),               /* Start of white strip in mm (y) */
+  SANE_FIX (1.0),               /* Start of black mark in mm (x) */
+
+  SANE_FIX (0.0),               /* Start of scan area in TA mode in mm (x) */
+  SANE_FIX (0.0),               /* Start of scan area in TA mode in mm (y) */
+  SANE_FIX (100.0),             /* Size of scan area in TA mode in mm (x) */
+  SANE_FIX (100.0),             /* Size of scan area in TA mode in mm (y) */
+
+  SANE_FIX (0.0),               /* Start of white strip in TA mode in mm (y) */
+
+  0, 8, 16,                      /* RGB CCD Line-distance correction in pixel */
+
+  COLOR_ORDER_BGR,              /* Order of the CCD/CIS colors */
+
+  SANE_FALSE,                    /* Is this a CIS scanner? */
+  GENESYS_FLAG_UNTESTED         /* Which flags are needed for this scanner? */
+  /* untested, values set by mike p. according to vendor's datasheet. */
+};
+
 static Genesys_USB_Device_Entry genesys_usb_device_list[] = {
   {0x0638, 0x0a10, &umax_astra_4500_model},
   {0x04a9, 0x2213, &canon_lide_50_model},
   {0x03f0, 0x0901, &hp2300c_model},
   {0x03f0, 0x0a01, &hp2400c_model},
+  {0x03f0, 0x1405, &hp3670c_model},
   {0, 0, NULL}
 };
 


--------------010804010308040904040002--