---------------------diff teco2.c from sane 1.0.9------------------------
46c46
<    TECO scanner VM3575, VM6565, VM6575, VM6586
---
>    TECO scanner VM3575, VM6565, VM6575, VM6586, VM356A
187a188,191
> static const struct dpi_color_adjust vm356A_dpi_color_adjust[1] = {
>   {0, 1, 0, 2, 1, 1}
> };
> 
262c266,277
<    vm6586_dpi_color_adjust}
---
>    vm6586_dpi_color_adjust},
>  
>    { 6, "TECO VM356A",
>    TECO_VM356A,
>    "Relisys", "Primax Jewel 4800",
>    {1, 600, 1},				/* resolution */
>    300, 600,					/* max x and Y resolution */
>    2550, 8,					/* calibration */
>    { SANE_FIX (0), SANE_FIX (8.5 * MM_PER_INCH), 0 },
>    { SANE_FIX (0), SANE_FIX (11.7 * MM_PER_INCH), 0 },
>    vm356A_dpi_color_adjust}
>  
462a478
> 
534a551,563
> #if 0
>      /* vm356A */
>      unsigned char table[] = {
>        0x06, 0x00, 0x02, 0x02, 0x43, 0x00, 0x00, 0x10, 0x50, 0x72,
>        0x69, 0x6d, 0x61, 0x78, 0x20, 0x20, 0x4a, 0x65, 0x77, 0x65,
>        0x6c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
>        0x20, 0x20, 0x31, 0x2e, 0x30, 0x30, 0x31, 0x2e, 0x30, 0x30,
>        0x00, 0x01, 0x54, 0x45, 0x43, 0x4f, 0x20, 0x56, 0x4d, 0x33,
>        0x35, 0x36, 0x41, 0x20, 0x00, 0x01, 0x01, 0x2c, 0x00, 0x01,
>        0x02, 0x58, 0x09, 0xf6, 0x0d, 0xaf, 0x01, 0x2c, 0x00, 0x08,
>        0x10, 0x00
>      };
> #endif
612a642
>     case TECO_VM356A:
670c700
<   if (dev->def->tecoref == TECO_VM656A ||
---
>   if (dev->def->tecoref == TECO_VM656A || dev->def->tecoref == TECO_VM356A ||
881c911
<       if (dev->buffer[11] == 0x80)
---
>       if (dev->buffer[11] > 0x02)
1062a1093
>   
1065c1096
< 
---
>   
1098a1130
>   
1100c1132
< 
---
>   DBG (DBG_proc, "einde loop gamma:=%d\n", i); 
1102,1104c1134,1136
<   status = sanei_scsi_cmd2 (dev->sfd, cdb.data, cdb.len,
< 			    &param, size, NULL, NULL);
< 
---
>   /* status = sanei_scsi_cmd2 (dev->sfd, cdb.data, cdb.len, */
> /*			    &param, size, NULL, NULL);     */
> status = 0;

---
1888,18..      Manual inserted in diff file should solve the problem of reading copy of lines.

> MKSCSI_GET_DATA_BUFFER_STATUS (cdb, 1, size);
> DBG (DBG_info, "teco buffer jewel: = %d\n", size);
MKSCSI_READ_10 (cdb, 0, 0, size);
cdb.data[5] = size / dev->parmas.byte_per_line;

26..,26..      Manual inserted in diff file, disable the calibration routine by removing .
< #if 1*
< status = teco_do_calibration (dev);
<
<
< #endif
---------------------diff teco2.h from sane 1.0.9------------------------
328c328,329
<     TECO_VM6586
---
>     TECO_VM6586,
>     TECO_VM356A

---------------------diff teco2.conf from sane 1.0.9------------------------
10a11,14
> scsi "" "Flat-bed scanner" Scanner
> # VM3564 Primax Jewel 4800 scanner
> scsi "Primax  Jewel" "VM356A" Scanner
>  
