sane-project-website/old-archive/1998-07/0151.html

64 wiersze
2.7 KiB
HTML
Czysty Wina Historia

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Fri Jul 24 12:21:48 1998 PDT" -->
<!-- sent="Fri, 24 Jul 1998 20:28:24 +0200" -->
<!-- name="Oliver Rauch" -->
<!-- email="oliver.rauch@Wolfsburg.DE" -->
<!-- subject="Re: problems with sgi/umax" -->
<!-- id="" -->
<!-- inreplyto="problems with sgi/umax" -->
<title>sane-devel: Re: problems with sgi/umax</title>
<h1>Re: problems with sgi/umax</h1>
<b>Oliver Rauch</b> (<a href="mailto:oliver.rauch@Wolfsburg.DE"><i>oliver.rauch@Wolfsburg.DE</i></a>)<br>
<i>Fri, 24 Jul 1998 20:28:24 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#151">[ date ]</a><a href="index.html#151">[ thread ]</a><a href="subject.html#151">[ subject ]</a><a href="author.html#151">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0152.html">Oliver Rauch: "Re: Does CANCEL_PREVIEW work?"</a>
<li> <b>Previous message:</b> <a href="0150.html">Matto Marjanovic: "Re: Does CANCEL_PREVIEW work?"</a>
<li> <b>Maybe in reply to:</b> <a href="0120.html">vp00955@hp2.vpn.at: "problems with sgi/umax"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0157.html">Oliver Rauch: "Re: problems with sgi/umax"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Didier Carlier wrote:<br>
<p>
<i>&gt; The coolscan backend suffered from a very similar problem on SGI. The</i><br>
<i>&gt; workaround has been to limit the size of the data chunks read from the scanner</i><br>
<i>&gt; to 64K instead of 'sanei_scsi_max_request_size'.</i><br>
<i>&gt;</i><br>
<i>&gt; Probably more a workaround than a fix but since there was no perceivable</i><br>
<i>&gt; performance penalty I kept it that way.</i><br>
<p>
Hi Didier,<br>
<p>
it looks like the modulo(%) function:<br>
<p>
s-&gt;row_bufsize - (s-&gt;row_bufsize % row_len)<br>
<p>
makes problems with such big arguments (8*1024*1024)<br>
and returns 0 in the described case.<br>
<p>
I replaced it by a (long)-integer division in the umax-backend.<br>
<p>
Bye<br>
Oliver<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0152.html">Oliver Rauch: "Re: Does CANCEL_PREVIEW work?"</a>
<li> <b>Previous message:</b> <a href="0150.html">Matto Marjanovic: "Re: Does CANCEL_PREVIEW work?"</a>
<li> <b>Maybe in reply to:</b> <a href="0120.html">vp00955@hp2.vpn.at: "problems with sgi/umax"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0157.html">Oliver Rauch: "Re: problems with sgi/umax"</a>
<!-- reply="end" -->
</ul>