kopia lustrzana https://gitlab.com/sane-project/website
119 wiersze
5.7 KiB
HTML
119 wiersze
5.7 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="Sebastien Sable (sebastien.sable@gmx.net)">
|
|||
|
<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 17:44:00 2000" -->
|
|||
|
<!-- isoreceived="20001021004400" -->
|
|||
|
<!-- sent="21 Oct 2000 02:53:57 +0200" -->
|
|||
|
<!-- isosent="20001021005357" -->
|
|||
|
<!-- name="Sebastien Sable" -->
|
|||
|
<!-- email="sebastien.sable@gmx.net" -->
|
|||
|
<!-- subject="Re: Problems with Acer ScanPrisa 640S" -->
|
|||
|
<!-- id="87zojznhei.fsf@gmx.net" -->
|
|||
|
<!-- inreplyto="Fri, 20 Oct 2000 11:10:45 +0800"" -->
|
|||
|
<STRONG>From:</STRONG> Sebastien Sable (<A HREF="mailto:sebastien.sable@gmx.net?Subject=Re:%20Problems%20with%20Acer%20ScanPrisa%20640S&In-Reply-To=<87zojznhei.fsf@gmx.net>"><EM>sebastien.sable@gmx.net</EM></A>)<BR>
|
|||
|
<STRONG>Date:</STRONG> Fri Oct 20 2000 - 17:53:57 PDT
|
|||
|
<P>
|
|||
|
<!-- next="start" -->
|
|||
|
<LI><STRONG>Next message:</STRONG> <A HREF="0236.html">Chris Bagwell: "[snapscan] Small USB+misc patch for sane-1.0.3"</A>
|
|||
|
<UL>
|
|||
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0234.html">Jochen Eisinger: "Re: make dll.c robust against it being listed in its configuration file..."</A>
|
|||
|
<!-- nextthread="start" -->
|
|||
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0237.html">Lawrence Glaister: "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>
|
|||
|
<LI><STRONG>Reply:</STRONG> <A HREF="0237.html">Lawrence Glaister: "Re: Problems with Acer ScanPrisa 640S"</A>
|
|||
|
<!-- reply="end" -->
|
|||
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|||
|
<A HREF="date.html#235">[ date ]</A>
|
|||
|
<A HREF="index.html#235">[ thread ]</A>
|
|||
|
<A HREF="subject.html#235">[ subject ]</A>
|
|||
|
<A HREF="author.html#235">[ author ]</A>
|
|||
|
</UL>
|
|||
|
<HR NOSHADE><P>
|
|||
|
<!-- body="start" -->
|
|||
|
<P>
|
|||
|
Steve Underwood <<A HREF="mailto:steveu@coppice.org?Subject=Re:%20Problems%20with%20Acer%20ScanPrisa%20640S&In-Reply-To=<87zojznhei.fsf@gmx.net>">steveu@coppice.org</A>> writes:
|
|||
|
<BR>
|
|||
|
<P><EM>> I updated the backend to merge the colours properly in May. Since then I have had
|
|||
|
</EM><BR>
|
|||
|
<EM>> little feedback. Lawrence is the first person to fully work through anything from
|
|||
|
</EM><BR>
|
|||
|
<EM>> "I have a problem" to "I have a cure" since then. People need some serious coaxing
|
|||
|
</EM><BR>
|
|||
|
<P>This time I think "I have a cure" ;)
|
|||
|
<BR>
|
|||
|
<P>I found that ps->pss->expected_read_bytes calculated in SCSISource_get
|
|||
|
<BR>
|
|||
|
was slowly decreasing down to 0. At this point
|
|||
|
<BR>
|
|||
|
(ps->pss->expected_read_bytes == 0) the scanner would block.
|
|||
|
<BR>
|
|||
|
<P>To solve this, I can put it to an arbitrary high value.
|
|||
|
<BR>
|
|||
|
<P>// ps->pss->expected_read_bytes =
|
|||
|
<BR>
|
|||
|
// ((int) (msecs/ps->pss->ms_per_line))*ps->pss->bytes_per_line;
|
|||
|
<BR>
|
|||
|
<P> ps->pss->expected_read_bytes = 50000;
|
|||
|
<BR>
|
|||
|
<P>then this line later
|
|||
|
<BR>
|
|||
|
ps->pss->expected_read_bytes = MIN(ps->pss->expected_read_bytes,
|
|||
|
<BR>
|
|||
|
(size_t) ps->absolute_max);
|
|||
|
<BR>
|
|||
|
put it to absolute_max.
|
|||
|
<BR>
|
|||
|
<P>In this case, my scanner works fine and does not block anymore. Of
|
|||
|
<BR>
|
|||
|
course, it's a dirty trick.
|
|||
|
<BR>
|
|||
|
May be the ms_per_line reported by the scanner is not right or
|
|||
|
<BR>
|
|||
|
something?
|
|||
|
<BR>
|
|||
|
<P><PRE>
|
|||
|
--
|
|||
|
S<EFBFBD>bastien Sabl<62>
|
|||
|
<A HREF="mailto:sebastien.sable@gmx.net?Subject=Re:%20Problems%20with%20Acer%20ScanPrisa%20640S&In-Reply-To=<87zojznhei.fsf@gmx.net>">sebastien.sable@gmx.net</A>
|
|||
|
<P>--
|
|||
|
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=<87zojznhei.fsf@gmx.net>">majordomo@mostang.com</A>
|
|||
|
</PRE>
|
|||
|
<P><!-- body="end" -->
|
|||
|
<HR NOSHADE>
|
|||
|
<UL>
|
|||
|
<!-- next="start" -->
|
|||
|
<LI><STRONG>Next message:</STRONG> <A HREF="0236.html">Chris Bagwell: "[snapscan] Small USB+misc patch for sane-1.0.3"</A>
|
|||
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0234.html">Jochen Eisinger: "Re: make dll.c robust against it being listed in its configuration file..."</A>
|
|||
|
<!-- nextthread="start" -->
|
|||
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0237.html">Lawrence Glaister: "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>
|
|||
|
<LI><STRONG>Reply:</STRONG> <A HREF="0237.html">Lawrence Glaister: "Re: Problems with Acer ScanPrisa 640S"</A>
|
|||
|
<!-- reply="end" -->
|
|||
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|||
|
<A HREF="date.html#235">[ date ]</A>
|
|||
|
<A HREF="index.html#235">[ thread ]</A>
|
|||
|
<A HREF="subject.html#235">[ subject ]</A>
|
|||
|
<A HREF="author.html#235">[ 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 - 17:45:21 PDT</EM>
|
|||
|
</EM>
|
|||
|
</SMALL>
|
|||
|
</BODY>
|
|||
|
</HTML>
|