sane-project-website/old-archive/2000-09/0214.html

150 wiersze
6.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: problems with 1.0.3 and color scanning</TITLE>
<META NAME="Author" CONTENT="Steve Underwood (steveu@coppice.org)">
<META NAME="Subject" CONTENT="Re: problems with 1.0.3 and color scanning">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: problems with 1.0.3 and color scanning</H1>
<!-- received="Thu Sep 21 07:29:10 2000" -->
<!-- isoreceived="20000921142910" -->
<!-- sent="Thu, 21 Sep 2000 22:48:15 +0800" -->
<!-- isosent="20000921144815" -->
<!-- name="Steve Underwood" -->
<!-- email="steveu@coppice.org" -->
<!-- subject="Re: problems with 1.0.3 and color scanning" -->
<!-- id="39CA1FAF.D5557DB4@coppice.org" -->
<!-- inreplyto="002801c0238e$d90fe680$bf0aa8c0@dufusiii" -->
<STRONG>From:</STRONG> Steve Underwood (<A HREF="mailto:steveu@coppice.org?Subject=Re:%20problems%20with%201.0.3%20and%20color%20scanning&In-Reply-To=&lt;39CA1FAF.D5557DB4@coppice.org&gt;"><EM>steveu@coppice.org</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Sep 21 2000 - 07:48:15 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0215.html">Lawrence Glaister: "Re: problems with 1.0.3 and color scanning"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0213.html">Oliver Rauch: "Re: scanimage always connects to /dev/video"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0202.html">Lawrence Glaister: "problems with 1.0.3 and color scanning"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0215.html">Lawrence Glaister: "Re: problems with 1.0.3 and color scanning"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0215.html">Lawrence Glaister: "Re: problems with 1.0.3 and color scanning"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#214">[ date ]</A>
<A HREF="index.html#214">[ thread ]</A>
<A HREF="subject.html#214">[ subject ]</A>
<A HREF="author.html#214">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Lawrence Glaister wrote:
<BR>
<P><EM>&gt; I am trying to get sane 1.0.3 working with my snapscan 1212u usb scanner.
</EM><BR>
<EM>&gt; The scanner works properly under 1.0.1 but fails in various ways under 1.0.2
</EM><BR>
<EM>&gt; and 1.0.3 and the cvs code as of sept 19. I have narrowed the problem down
</EM><BR>
<EM>&gt; to the snapscan-sources.c RGBRouter_remaining() function.
</EM><BR>
<EM>&gt; - grayscale scanning works fine
</EM><BR>
<EM>&gt; - color scanning a small image at 50dpi works
</EM><BR>
<EM>&gt; - color scanning same image at 75dpi breaks xscanimage
</EM><BR>
<EM>&gt; by broken, I mean that xscanimage enters into an infinite loop using 100%
</EM><BR>
<EM>&gt; cpu time.
</EM><BR>
<EM>&gt; the cause for this appears to be a negative result returned by
</EM><BR>
<EM>&gt; RGBRouter_remaining(). There are two possible return values calulated in
</EM><BR>
<EM>&gt; RGBRouter_remaining() and one of them always looks like the correct
</EM><BR>
<EM>&gt; answer... the problem comes in that the conditional used doesn't seem to
</EM><BR>
<EM>&gt; work in all cases (sometimes the wrong value is returned and when this
</EM><BR>
<EM>&gt; is -ve, all hell breaks loose.). I have been getting a headache trying to
</EM><BR>
<EM>&gt; decipher how the new RGBRouter code is supposed to work... could the author
</EM><BR>
<EM>&gt; (pere) or someone have a look at the function and see if they see any
</EM><BR>
<EM>&gt; obvious errors. I have not seen a lot of postings about 1.0.3, so the
</EM><BR>
<EM>&gt; problem may be related only to the snapscan backend with a usb patch applied
</EM><BR>
<EM>&gt; to it.
</EM><BR>
<EM>&gt; I can supply some rather detailed dumps of the good scans and bad scans as I
</EM><BR>
<EM>&gt; have added a lot of dbg calls into the snapscan code.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Are there any snapscan scanners usb or scsi out there working with sane
</EM><BR>
<EM>&gt; 1.0.3???
</EM><BR>
<P>Excellent. This look likes a really solid lead for what goes wrong. I will try
<BR>
to look at the RGBRouter code in the next couple of days, and see if I can spot
<BR>
what goes amiss. Actually, I thought the current RGBRouter code was fairly
<BR>
straightforward, but maybe that's only to my own twisted mind! The existing
<BR>
code certainly does work for some scanners. It works just fine for my Acer
<BR>
610+, and a few other people have reported success with some scanners.
<BR>
<P>Lets hope this is the root cause of several not quite identical problems people
<BR>
have reported.
<BR>
<P>If you have any debug logs, or other useful info please mail it to me. my code
<BR>
hasn't given me any trouble so far, so a log of an actual failure would be
<BR>
helpful.
<BR>
<P>Steve
<BR>
<P><P><P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20problems%20with%201.0.3%20and%20color%20scanning&In-Reply-To=&lt;39CA1FAF.D5557DB4@coppice.org&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0215.html">Lawrence Glaister: "Re: problems with 1.0.3 and color scanning"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0213.html">Oliver Rauch: "Re: scanimage always connects to /dev/video"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0202.html">Lawrence Glaister: "problems with 1.0.3 and color scanning"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0215.html">Lawrence Glaister: "Re: problems with 1.0.3 and color scanning"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0215.html">Lawrence Glaister: "Re: problems with 1.0.3 and color scanning"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#214">[ date ]</A>
<A HREF="index.html#214">[ thread ]</A>
<A HREF="subject.html#214">[ subject ]</A>
<A HREF="author.html#214">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Thu Sep 21 2000 - 07:29:37 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>