kopia lustrzana https://gitlab.com/sane-project/website
212 wiersze
8.4 KiB
HTML
212 wiersze
8.4 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 Acer ScanPrisa 640S</TITLE>
|
||
<META NAME="Author" CONTENT="Lawrence Glaister (lg@jfm.bc.ca)">
|
||
<META NAME="Subject" CONTENT="Re: Problems with Acer ScanPrisa 640S">
|
||
</HEAD>
|
||
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
||
<H1>Re: Problems with Acer ScanPrisa 640S</H1>
|
||
<!-- received="Fri Oct 20 19:58:35 2000" -->
|
||
<!-- isoreceived="20001021025835" -->
|
||
<!-- sent="Fri, 20 Oct 2000 20:08:52 -0700" -->
|
||
<!-- isosent="20001021030852" -->
|
||
<!-- name="Lawrence Glaister" -->
|
||
<!-- email="lg@jfm.bc.ca" -->
|
||
<!-- subject="Re: Problems with Acer ScanPrisa 640S" -->
|
||
<!-- id="005901c03b0c$3dbe4560$bf0aa8c0@dufusiii" -->
|
||
<!-- inreplyto="87zojznhei.fsf@gmx.net" -->
|
||
<STRONG>From:</STRONG> Lawrence Glaister (<A HREF="mailto:lg@jfm.bc.ca?Subject=Re:%20Problems%20with%20Acer%20ScanPrisa%20640S&In-Reply-To=<005901c03b0c$3dbe4560$bf0aa8c0@dufusiii>"><EM>lg@jfm.bc.ca</EM></A>)<BR>
|
||
<STRONG>Date:</STRONG> Fri Oct 20 2000 - 20:08:52 PDT
|
||
<P>
|
||
<!-- next="start" -->
|
||
<LI><STRONG>Next message:</STRONG> <A HREF="0238.html">Oliver Rauch: "Re: make dll.c robust against it being listed in its configuration file..."</A>
|
||
<UL>
|
||
<LI><STRONG>Previous message:</STRONG> <A HREF="0236.html">Chris Bagwell: "[snapscan] Small USB+misc patch for sane-1.0.3"</A>
|
||
<LI><STRONG>In reply to:</STRONG> <A HREF="0235.html">Sebastien Sable: "Re: Problems with Acer ScanPrisa 640S"</A>
|
||
<!-- nextthread="start" -->
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0241.html">Sebastien Sable: "Re: Problems with Acer ScanPrisa 640S"</A>
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0219.html">cbagwell@sprynet.com: "Re: Re: Problems with Acer ScanPrisa 640S"</A>
|
||
<LI><STRONG>Maybe reply:</STRONG> <A HREF="0219.html">cbagwell@sprynet.com: "Re: Re: Problems with Acer ScanPrisa 640S"</A>
|
||
<!-- reply="end" -->
|
||
<LI><STRONG>Messages sorted by:</STRONG>
|
||
<A HREF="date.html#237">[ date ]</A>
|
||
<A HREF="index.html#237">[ thread ]</A>
|
||
<A HREF="subject.html#237">[ subject ]</A>
|
||
<A HREF="author.html#237">[ author ]</A>
|
||
</UL>
|
||
<HR NOSHADE><P>
|
||
<!-- body="start" -->
|
||
<P>
|
||
Greetings Sebastien
|
||
<BR>
|
||
You have hit on one of the symptoms I noticed as well... due to the
|
||
<BR>
|
||
RGBRouter code, the scsi speed test gets hosed especially on higher
|
||
<BR>
|
||
resolution scans. I am wondering if the speed test can be removed.... what
|
||
<BR>
|
||
does it really get used for? Since there is probably only a 3-1 range in
|
||
<BR>
|
||
times between the slowest and fastest scanners, does the rate really need to
|
||
<BR>
|
||
be measured... it doesn't seem to get used for setting timeouts.
|
||
<BR>
|
||
Do you notice your scanner blocking during the speed test or during a real
|
||
<BR>
|
||
scan? I found a "hang condition" was occurring during the speed test because
|
||
<BR>
|
||
RGBRouter was called with a small 32k buffer to test the transfer rate with.
|
||
<BR>
|
||
The rest of the code was expecting a 23mb image to be scanned and the
|
||
<BR>
|
||
RGBRouter_remaining() function broke with -ve return values.
|
||
<BR>
|
||
The second problem I noticed was the EAGAIN problem with the USB driver.
|
||
<BR>
|
||
Somewhere in the 2.4.0 code, the USB drivers stopped blocking on a read and
|
||
<BR>
|
||
started returning EAGAIN and 0 bytes when the scanner was busy (noticeable
|
||
<BR>
|
||
during scanhead backtracking).
|
||
<BR>
|
||
=======================================================
|
||
<BR>
|
||
Lawrence Glaister VE7IT email: <A HREF="mailto:lg@jfm.bc.ca?Subject=Re:%20Problems%20with%20Acer%20ScanPrisa%20640S&In-Reply-To=<005901c03b0c$3dbe4560$bf0aa8c0@dufusiii>">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>
|
||
----- Original Message -----
|
||
<BR>
|
||
From: Sebastien Sable <<A HREF="mailto:sebastien.sable@gmx.net?Subject=Re:%20Problems%20with%20Acer%20ScanPrisa%20640S&In-Reply-To=<005901c03b0c$3dbe4560$bf0aa8c0@dufusiii>">sebastien.sable@gmx.net</A>>
|
||
<BR>
|
||
To: <<A HREF="mailto:sane-devel@mostang.com?Subject=Re:%20Problems%20with%20Acer%20ScanPrisa%20640S&In-Reply-To=<005901c03b0c$3dbe4560$bf0aa8c0@dufusiii>">sane-devel@mostang.com</A>>
|
||
<BR>
|
||
Sent: Friday, October 20, 2000 5:53 PM
|
||
<BR>
|
||
Subject: Re: Problems with Acer ScanPrisa 640S
|
||
<BR>
|
||
<P><P><EM>> Steve Underwood <<A HREF="mailto:steveu@coppice.org?Subject=Re:%20Problems%20with%20Acer%20ScanPrisa%20640S&In-Reply-To=<005901c03b0c$3dbe4560$bf0aa8c0@dufusiii>">steveu@coppice.org</A>> writes:
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> > I updated the backend to merge the colours properly in May. Since then I
|
||
</EM><BR>
|
||
have had
|
||
<BR>
|
||
<EM>> > little feedback. Lawrence is the first person to fully work through
|
||
</EM><BR>
|
||
anything from
|
||
<BR>
|
||
<EM>> > "I have a problem" to "I have a cure" since then. People need some
|
||
</EM><BR>
|
||
serious coaxing
|
||
<BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> This time I think "I have a cure" ;)
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> I found that ps->pss->expected_read_bytes calculated in SCSISource_get
|
||
</EM><BR>
|
||
<EM>> was slowly decreasing down to 0. At this point
|
||
</EM><BR>
|
||
<EM>> (ps->pss->expected_read_bytes == 0) the scanner would block.
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> To solve this, I can put it to an arbitrary high value.
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> // ps->pss->expected_read_bytes =
|
||
</EM><BR>
|
||
<EM>> // ((int)
|
||
</EM><BR>
|
||
(msecs/ps->pss->ms_per_line))*ps->pss->bytes_per_line;
|
||
<BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> ps->pss->expected_read_bytes = 50000;
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> then this line later
|
||
</EM><BR>
|
||
<EM>> ps->pss->expected_read_bytes = MIN(ps->pss->expected_read_bytes,
|
||
</EM><BR>
|
||
<EM>> (size_t) ps->absolute_max);
|
||
</EM><BR>
|
||
<EM>> put it to absolute_max.
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> In this case, my scanner works fine and does not block anymore. Of
|
||
</EM><BR>
|
||
<EM>> course, it's a dirty trick.
|
||
</EM><BR>
|
||
<EM>> May be the ms_per_line reported by the scanner is not right or
|
||
</EM><BR>
|
||
<EM>> something?
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> --
|
||
</EM><BR>
|
||
<EM>> S<>bastien Sabl<62>
|
||
</EM><BR>
|
||
<EM>> <A HREF="mailto:sebastien.sable@gmx.net?Subject=Re:%20Problems%20with%20Acer%20ScanPrisa%20640S&In-Reply-To=<005901c03b0c$3dbe4560$bf0aa8c0@dufusiii>">sebastien.sable@gmx.net</A>
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> --
|
||
</EM><BR>
|
||
<EM>> Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
||
</EM><BR>
|
||
<EM>> To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Problems%20with%20Acer%20ScanPrisa%20640S&In-Reply-To=<005901c03b0c$3dbe4560$bf0aa8c0@dufusiii>">majordomo@mostang.com</A>
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><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%20Acer%20ScanPrisa%20640S&In-Reply-To=<005901c03b0c$3dbe4560$bf0aa8c0@dufusiii>">majordomo@mostang.com</A>
|
||
</PRE>
|
||
<P><!-- body="end" -->
|
||
<HR NOSHADE>
|
||
<UL>
|
||
<!-- next="start" -->
|
||
<LI><STRONG>Next message:</STRONG> <A HREF="0238.html">Oliver Rauch: "Re: make dll.c robust against it being listed in its configuration file..."</A>
|
||
<LI><STRONG>Previous message:</STRONG> <A HREF="0236.html">Chris Bagwell: "[snapscan] Small USB+misc patch for sane-1.0.3"</A>
|
||
<LI><STRONG>In reply to:</STRONG> <A HREF="0235.html">Sebastien Sable: "Re: Problems with Acer ScanPrisa 640S"</A>
|
||
<!-- nextthread="start" -->
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0241.html">Sebastien Sable: "Re: Problems with Acer ScanPrisa 640S"</A>
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0219.html">cbagwell@sprynet.com: "Re: Re: Problems with Acer ScanPrisa 640S"</A>
|
||
<LI><STRONG>Maybe reply:</STRONG> <A HREF="0219.html">cbagwell@sprynet.com: "Re: Re: Problems with Acer ScanPrisa 640S"</A>
|
||
<!-- reply="end" -->
|
||
<LI><STRONG>Messages sorted by:</STRONG>
|
||
<A HREF="date.html#237">[ date ]</A>
|
||
<A HREF="index.html#237">[ thread ]</A>
|
||
<A HREF="subject.html#237">[ subject ]</A>
|
||
<A HREF="author.html#237">[ 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>Fri Oct 20 2000 - 20:00:46 PDT</EM>
|
||
</EM>
|
||
</SMALL>
|
||
</BODY>
|
||
</HTML>
|