[sane-devel] Fwd: Scanner DocketPORT 468
stef
stef.dev at free.fr
Sat Jun 4 07:16:28 UTC 2011
Le vendredi 3 juin 2011 14:02:48 Enma Ai, vous avez écrit :
> Hi,
> I tried to callibrate with xsane but I got the same error message:
> 'Fallo al definir valor de opción callibrate: Operación no soportada' -->
> Error when trying to define the callibrate option: operation not supported.
>
> I modified syscan_docketport_467_model and changed the motor to
> roadwarrior, but I got the same results. The image proportions are not
> correct, it is streched (longer and narrower).
>
> I have uploaded some sample images:
> http://wtrns.fr/stfoMEspqqmIlU
>
> See sample images generated with:
> scanimage --mode Gray --format=jpeg >image_streched.jpeg
> scanimage --mode Gray --format=tiff >image_streched.tiff
>
> I've been doing some modifications in the model parameters and finally
> modifying the CCD_DSMOBILE600 the image looks correct.
>
> //Modified CCD_DSMOBILE600
> * Pentax DS Mobile 600 */
> {CCD_DSMOBILE600, 300,
> ....
>
>
> What I haven't been able to get to work is the document end of file
> detection, so I modified the predefined x and y size.
>
> //Modificacion
> static Genesys_Model syscan_docketport_467_model = {
> ...
> SANE_FIX (210.0), /* Size of scan area in mm (x) */
> SANE_FIX (297.0), /* Size of scan area in mm (y) */
> ...
> MOTOR_ROADWARRIOR
> ...
> }
>
> static Genesys_USB_Device_Entry genesys_usb_device_list[] = {
> ...
> {0x1dcc, 0x4817, &syscan_docketport_467_model},
> }
>
> I have uploaded several sample images generated with this commands:
>
> See sample images generated with:
> scanimage --mode Lineart --format=jpeg >image_CCD_ROADWARRIOR300.jpeg
> scanimage --mode Lineart --format=tiff >image_CCD_ROADWARRIOR300.tiff
> scanimage --mode Lineart --format=tiff >image_CCD_665.tiff
>
>
> thanks
>
Hello,
you are doing the right thing. From the stretched pictures we can see it
is a sensor issue, not a motor one. You might try to evaluate these other
sensors: CCD_ROADWARRIOR, CCD_XP300, CCD_DP685.
For calibration and size issues, a scanimage logfile would be great,
something like:
export SANE_DEBUG_GENESYS=255
export SANE_DEBUG_GENESYS_LOW=255
export SANE_DEBUG_GENESYS_GL841=255
scanimage -d genesys --calibrate 2>calibrate.log >out.pnm
and for length issue:
export SANE_DEBUG_GENESYS=255
export SANE_DEBUG_GENESYS_LOW=255
export SANE_DEBUG_GENESYS_GL841=255
scanimage -d genesys --mode Color 2>rl.log >rl.pnm
For debugging purpose I have this script which runs from compiled
binaries without needing to install. i.e I run 'make' then this script in the
backend subdirectory, which saves me time (I change backend option depending
on what I'm testing):
#!/bin/bash
export SANE_DEBUG_GENESYS=255
export SANE_DEBUG_GENESYS_LOW=255
export SANE_DEBUG_GENESYS_GL646=255
export SANE_DEBUG_GENESYS_GL841=255
export SANE_DEBUG_GENESYS_GL843=255
export SANE_DEBUG_GENESYS_GL847=255
export SANE_DEBUG_GENESYS_GL124=255
export LD_PRELOAD=.libs/libsane-genesys.so
../frontend/scanimage -d genesys --resolution 150 --height 30 --mode Color
2>rl.log >rl.pnm
Regards,
Stef
More information about the sane-devel
mailing list