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

131 wiersze
5.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: problems with 1.0.3 and color scanning</TITLE>
<META NAME="Author" CONTENT="Lawrence Glaister (lg@jfm.bc.ca)">
<META NAME="Subject" CONTENT="problems with 1.0.3 and color scanning">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>problems with 1.0.3 and color scanning</H1>
<!-- received="Wed Sep 20 22:38:02 2000" -->
<!-- isoreceived="20000921053802" -->
<!-- sent="Wed, 20 Sep 2000 22:43:19 -0700" -->
<!-- isosent="20000921054319" -->
<!-- name="Lawrence Glaister" -->
<!-- email="lg@jfm.bc.ca" -->
<!-- subject="problems with 1.0.3 and color scanning" -->
<!-- id="002801c0238e$d90fe680$bf0aa8c0@dufusiii" -->
<STRONG>From:</STRONG> Lawrence Glaister (<A HREF="mailto:lg@jfm.bc.ca?Subject=Re:%20problems%20with%201.0.3%20and%20color%20scanning&In-Reply-To=&lt;002801c0238e$d90fe680$bf0aa8c0@dufusiii&gt;"><EM>lg@jfm.bc.ca</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed Sep 20 2000 - 22:43:19 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0203.html">Paul Aschenborn: "Re: Problems with Mustek 1200 SP, mode color. WITH debug.log"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0201.html">kwlee: "A backend develope problem"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0214.html">Steve Underwood: "Re: problems with 1.0.3 and color scanning"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0214.html">Steve Underwood: "Re: problems with 1.0.3 and color scanning"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#202">[ date ]</A>
<A HREF="index.html#202">[ thread ]</A>
<A HREF="subject.html#202">[ subject ]</A>
<A HREF="author.html#202">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
I am trying to get sane 1.0.3 working with my snapscan 1212u usb scanner.
<BR>
The scanner works properly under 1.0.1 but fails in various ways under 1.0.2
<BR>
and 1.0.3 and the cvs code as of sept 19. I have narrowed the problem down
<BR>
to the snapscan-sources.c RGBRouter_remaining() function.
<BR>
- grayscale scanning works fine
<BR>
- color scanning a small image at 50dpi works
<BR>
- color scanning same image at 75dpi breaks xscanimage
<BR>
by broken, I mean that xscanimage enters into an infinite loop using 100%
<BR>
cpu time.
<BR>
the cause for this appears to be a negative result returned by
<BR>
RGBRouter_remaining(). There are two possible return values calulated in
<BR>
RGBRouter_remaining() and one of them always looks like the correct
<BR>
answer... the problem comes in that the conditional used doesn't seem to
<BR>
work in all cases (sometimes the wrong value is returned and when this
<BR>
is -ve, all hell breaks loose.). I have been getting a headache trying to
<BR>
decipher how the new RGBRouter code is supposed to work... could the author
<BR>
(pere) or someone have a look at the function and see if they see any
<BR>
obvious errors. I have not seen a lot of postings about 1.0.3, so the
<BR>
problem may be related only to the snapscan backend with a usb patch applied
<BR>
to it.
<BR>
I can supply some rather detailed dumps of the good scans and bad scans as I
<BR>
have added a lot of dbg calls into the snapscan code.
<BR>
<P>Are there any snapscan scanners usb or scsi out there working with sane
<BR>
1.0.3???
<BR>
<P>=======================================================
<BR>
Lawrence Glaister VE7IT email: <A HREF="mailto:lg@jfm.bc.ca?Subject=Re:%20problems%20with%201.0.3%20and%20color%20scanning&In-Reply-To=&lt;002801c0238e$d90fe680$bf0aa8c0@dufusiii&gt;">lg@jfm.bc.ca</A>
<BR>
1462 Madrona Drive <A HREF="http://jfm.bc.ca">http://jfm.bc.ca</A>
<BR>
Nanoose Bay BC Canada
<BR>
V9P 9C9
<BR>
=======================================================
<BR>
<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;002801c0238e$d90fe680$bf0aa8c0@dufusiii&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0203.html">Paul Aschenborn: "Re: Problems with Mustek 1200 SP, mode color. WITH debug.log"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0201.html">kwlee: "A backend develope problem"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0214.html">Steve Underwood: "Re: problems with 1.0.3 and color scanning"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0214.html">Steve Underwood: "Re: problems with 1.0.3 and color scanning"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#202">[ date ]</A>
<A HREF="index.html#202">[ thread ]</A>
<A HREF="subject.html#202">[ subject ]</A>
<A HREF="author.html#202">[ 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>Wed Sep 20 2000 - 22:40:02 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>