[sane-devel] teco1: RELISYS 9630 with sane 1.0.9

Pierre Souchay bad.sheep at free.fr
Wed Dec 18 16:27:24 GMT 2002


Hi everybody,

Finally,the Relisys 9630 works !
But, I have some minor problems.
First, I don't have any informations about the capabilities of that 
scanner, exept it is a 30 bits scanner.
I tried 600, 300 and 400 dpi. Only 300 and 400 seems to work.
Another problem : It works well (see the result in 100dpi : 
http://dess-gla.infop6.jussieu.fr/~pierre/test.png ) but I cannot scan the 
entire area (I cannot scan a a4 sheet).


I wrote these lines into teco1.c to make it work :
-------------------------------------------------------------------
   {6, "TECO VM6540",
    TECO_VM6540,
    "Relisys", "RELI 9630",
    {1, 400, 1},                 /* resolution */
    400, 400,                    /* max x and Y resolution */
    1,                           /* color 1 pass */
    1024,                        /* number of bytes per gamma color */
    99                           /* number of bytes in a window */
    }
-------------------------------------------------------------------


and these two lines into teco1.conf :
-------------------------------------------------------------------
# Relisys 9640
scsi "RELISYS" "VM6540" Scanner * * * 0
-------------------------------------------------------------------

The scanimage --help gives these values :
-------------------------------------------------------------------
Options specific to device `teco1:/dev/scanner':
   Scan mode:
     --mode Black & White|Grayscale|Color [Black & White]
         Selects the scan mode (e.g., lineart,monochrome, or color).
     --resolution 1..400dpi (in steps of 1) [100]
         Sets the resolution of the scanned image.
   Geometry:
     -l 0..215.9mm [0]
         Top-left x position of scan area.
     -t 0..355.6mm [0]
         Top-left y position of scan area.
     -x 0..215.9mm [215.9]
         Width of scan-area.
     -y 0..355.6mm [355.6]
         Height of scan-area.
   Enhancement:
     --custom-gamma[=(yes|no)] [inactive]
         Determines whether a builtin or a custom gamma-table should be 
used.
     --red-gamma-table 0..255,...
         Gamma-correction table for the red band.
     --green-gamma-table 0..255,...
         Gamma-correction table for the green band.
     --blue-gamma-table 0..255,...
         Gamma-correction table for the blue band.
     --gamma-table 0..255,...
         Gamma-correction table.  In color mode this option equally 
affects the
         red, green, and blue channels simultaneously (i.e., it is an 
intensity
         gamma table).
     --dither Line art|2x2|3x3|4x4 bayer|4x4 smooth|8x8 bayer|8x8 
smooth|8x8 horizontal|8x8 vertical [Line art]
         Dither
     --threshold 0..255 [128]
         Select minimum-brightness to get a white point
     --preview[=(yes|no)] [no]
         Request a preview-quality scan.
-------------------------------------------------------------------

And with the following command line, I have the result given in the URL 
above (which seems correct :)
The log is joined as attachment as gzipped file.

export SANE_DEBUG_TECO1=128 ; scanimage -l 0 -t 0 -x 215.9 -y 355.6 
--resolution 100 --mode Color > test.pnm 2>log.teco1.relisys9630.log

Another problem, the scan is very long, including at low resolutions, in 
preview mode. For the previous command, the command time gives the following 
result :
real    1m52.630s
user    0m0.160s
sys     0m0.060s


If you have any idea to solve at least one of these problems ...

Regards.

Pierre SOUCHAY

-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.teco1.relisys9630.log.gz
Type: application/x-gzip
Size: 7358 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20021218/f18a1d01/attachment.bin>


More information about the sane-devel mailing list