[sane-devel] Iriscan 2 (vendor=0x07b3 product=0x045f)

Conrad Chmara conrad at chmara.net
Fri Feb 1 22:14:31 UTC 2008


To whoever would like this information:

I have added basic support for an Iriscan 2.  By me saying I added support I 
mean that I copied and pasted all the information from the Plustek OpticSlim 
M12 section.  It workd well with everything that I tried which includes scan 
preview and scan 600dpi.  I was not exactly sure how to name it because the 
package was listed as an "Iriscan Express 2".  The website calls it 
an "Iriscan 2", and the bottom of the scanner says:

Product Name: Iriscan
Model: HCRSPA4PK301
Package Express2

Sorry if this is not the format for posting this information.  The chipset is 
a GT-6816-HQ011 MVL 1385.1 0736. Below is the rest of the outputs that I 
think you guys would need.

sane-find-scanner output:
found USB scanner (vendor=0x07b3, product=0x045f [600dpi USB Scanner], 
chip=GT-6816) at libusb:002:004

scanimage -L (after Override)
device `gt68xx:libusb:002:004' is a Plustek OpticSlim M12 flatbed scanner

firmware:
cism216.fw

Just copied and pasted Plustek info in devices.c

scanimage -L (after Override, and recompile)
device `gt68xx:libusb:002:004' is a Iris scan express 2 flatbed scanner

cvs diff output:
? patch
Index: backend/gt68xx.conf.in
===================================================================
RCS file: /cvsroot/sane/sane-backends/backend/gt68xx.conf.in,v
retrieving revision 1.2
diff -r1.2 gt68xx.conf.in
241a242,243
> # Iriscan Express2
> usb 0x07b3 0x045f
Index: backend/gt68xx_devices.c
===================================================================
RCS file: /cvsroot/sane/sane-backends/backend/gt68xx_devices.c,v
retrieving revision 1.48
diff -r1.48 gt68xx_devices.c
401c401
<     /* Based on data from Jakub Dvo?�k <xdvorak at chello.cz>. */
---
>     /* Based on data from Jakub Dvo?�k <xdvorak at chello.cz>. */
1848a1849,1873
> static GT68xx_Model iriscan_express_2_model = {
>   "iriscan_express_2",		/* Name */
>   "Iris",				/* Device vendor string */
>   "scan express 2",			/* Device model name */
>   "cism216.fw",				/* Name of the firmware file */
>   SANE_FALSE,				/* Dynamic allocation flag */
> 
>   &mustek_gt6816_sheetfed_command_set,	/* Command set used by this scanner 
*/
> 
>   600,					/* maximum optical sensor resolution */
>   1200,					/* maximum motor resolution */
>   600,					/* base x-res used to calculate geometry */
>   600,					/* base y-res used to calculate geometry */
>   1200,   				/* if ydpi is equal or higher, disable backtracking */
>   SANE_FALSE,			/* Use base_ydpi for all resolutions */
> 
>   {600, 300, 200, 150, 100, 0},	/* possible x-resolutions */
>   {600, 300, 200, 150, 100, 0},	/* possible y-resolutions */
>   {16, 8, 0},			/* possible depths in gray mode */
>   {16, 8, 0},			/* possible depths in color mode */
> 
>   SANE_FIX (1.0),		/* Start of scan area in mm  (x) */
>   SANE_FIX (9.5),		/* Start of scan area in mm (y) */
>   SANE_FIX (218.0),		/* Size of scan area in mm (x) */
>   SANE_FIX (299.0),		/* Size of scan area in mm (y) */
1849a1875,1895
>   SANE_FIX (10.0),		/* Start of white strip in mm (y) */
>   SANE_FIX (140.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, 0, 0,				/* RGB CCD Line-distance correction in pixel */
>   0,					/* CCD distcance for CCD with 6 lines) */
> 
>   COLOR_ORDER_BGR,		/* Order of the CCD/CIS colors */
>   {0x24, 0x0a, 0x23, 0x0f, 0x23, 0x0b},	/* Default offset/gain */
>   {0x157, 0x157, 0x157},	/* Default exposure parameters */
>   SANE_FIX (2.0),			/* Default gamma value */
> 
>   SANE_TRUE,				/* Is this a CIS scanner? */
>   GT68XX_FLAG_NO_POWER_STATUS | GT68XX_FLAG_SHEET_FED
> };
1886a1933
>   {0x07b3, 0x045f, &iriscan_express_2_model},

If there is anything else needed just let me know.

-Conrad




More information about the sane-devel mailing list