[sane-devel] Quick Patch: sane-umax 1.0.7 backend.

Oliver Rauch oliver.rauch@rauch-domain.de
Mon, 13 May 2002 00:07:49 +0200


Hi.

this should alread be solved in the sane cvs and also in the latest sane cvs
snapshot on http://www.mostang.com/sane

Bye
Oliver

Duane Penzien wrote:
> 
> First, thanks for a great product!  After a bit of debugging, works just
> fine ;)
> 
> I don't know if this has been reported before, but I found a bug in
> backends/umax.c which prevented my ancient UMAX UC1260 R1.6 from working
> in color.  The symptom was: after completing the first color (red, I
> think) pass, the software would give up with a "device busy" message.
> The following patch fixes that:
> 
> --- umax.c.orig Sat Jan  5 12:17:00 2002
> +++ umax.c      Sun May  5 18:09:03 2002
> @@ -7273,6 +7273,7 @@
>    if ( scanner->device->three_pass_color > WD_wid_red) /* three pass
> scan, not first pass */
>    {
>      umax_reposition_scanner(scanner->device);
> +    umax_wait_scanner(scanner->device);
>    }
> 
>    umax_set_window_param(scanner->device);
> 
> As you can see, adding a call to umax_wait_scanner so that the second
> and subsequent scans wait until the scanner is ready fixed the problem.
> 
> I am using a Tekram DC-315U scsi card and a Umax UC1260 Rev 1.6
> (Envisions ENV24PRO) scanner.
> 
> --
> "Remember, nothing is truly broken. It just lacks duct tape."
> 
> ^^  Checkout my website at http://www.dpenz.com/ !          ^^
> ^^  Duane Penzien, D.Penzien@computer.org                   ^^
> 
> _______________________________________________
> Sane-devel mailing list
> Sane-devel@www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel

-- 
Homepage:	http://www.rauch-domain.de
sane-umax:	http://www.rauch-domain.de/sane-umax
xsane:		http://www.xsane.org
E-Mail:		mailto:Oliver.Rauch@rauch-domain.de