sane-project-website/old-archive/1998-02/0148.html

78 wiersze
3.6 KiB
HTML

<!-- received="Mon Feb 23 21:04:45 1998 PST" -->
<!-- sent="Mon, 23 Feb 1998 21:04:42 -0800" -->
<!-- name="David Mosberger-Tang" -->
<!-- email="David.Mosberger@acm.org" -->
<!-- subject="Re: Mustek Paragon 1200 SP problem" -->
<!-- id="199802240504.VAA01534@panda.mostang.com" -->
<!-- inreplyto="Pine.LNX.3.95.980223002656.1431A-100000@twenzke.nacamar.de" -->
<title>sane-devel: Re: Mustek Paragon 1200 SP problem</title>
<h1>Re: Mustek Paragon 1200 SP problem</h1>
<b>David Mosberger-Tang</b> (<a href="mailto:David.Mosberger@acm.org"><i>David.Mosberger@acm.org</i></a>)<br>
<i>Mon, 23 Feb 1998 21:04:42 -0800</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#148">[ date ]</a><a href="index.html#148">[ thread ]</a><a href="subject.html#148">[ subject ]</a><a href="author.html#148">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0149.html">David Mosberger-Tang: "Re: Re[1]: someone working on hp-backend ?"</a>
<li> <b>Previous message:</b> <a href="0147.html">David Mosberger-Tang: "Re: Mustek Paragon 1200 A3 PRO"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
<i>&gt;&gt;&gt;&gt;&gt; On Mon, 23 Feb 1998 00:37:46 +0100 (MET), Thomas Wenzke &lt;<a href="mailto:thomas@twenzke.nacamar.de">thomas@twenzke.nacamar.de</a>&gt; said:</i><br>
<p>
Thomas&gt; Hello I have a Mustek Paragon 1200 SP since last week and<br>
Thomas&gt; try it on my Linux-i386. It's an old Pentium-133 with<br>
Thomas&gt; EIDE-Disk, SCSI-CDROM and SCSI-Tandberg-Tape. There is a<br>
Thomas&gt; NCR-810 Symbios-Controller and a NE-2000 in the Box. This<br>
Thomas&gt; works well all the days.<br>
<p>
Thomas&gt; Scanning with the default-resolution works fine - i think.<br>
Thomas&gt; But altering the resolution to more than 35 dpi results in<br>
Thomas&gt; horizontal stripes and color-shift away from red in<br>
Thomas&gt; direction green and blue and grayish colors.<br>
<p>
There is a bug in sane-0.68 till 0.70 that may cause this. If you can<br>
wait, 0.71 should be out soon (hopefully tonight) which will fix this.<br>
If you can't wait, the fix is below (courtesy of Stefano Garavaglia<br>
&lt;<a href="mailto:alter.ego@iol.it">alter.ego@iol.it</a>&gt;).<br>
<p>
--david<br>
<p>
--- sane-0.70/backend/mustek.c Tue Jan 27 00:15:35 1998<br>
+++ sane-0.71/backend/mustek.c Fri Feb 13 20:56:05 1998<br>
@@ -1349,7 +1349,7 @@<br>
for (y = 0; y &lt; 2*dy; ++y)<br>
{<br>
if (num_lines - 2*dy + y &gt;= 0)<br>
- src = raw + (num_lines - 2*dy + y);<br>
+ src = raw + (num_lines - 2*dy + y)*bpl;<br>
else<br>
src = s-&gt;ld.buf[RED] + (y + num_lines)*bpc;<br>
memcpy (s-&gt;ld.buf[RED] + y*bpc, src, bpc);<br>
@@ -1357,7 +1357,7 @@<br>
for (y = 0; y &lt; 1*dy; ++y)<br>
{<br>
if (num_lines - 1*dy + y &gt;= 0)<br>
- src = raw + (num_lines - 1*dy + y) * bpl + bpc;<br>
+ src = raw + (num_lines - 1*dy + y)*bpl + bpc;<br>
else<br>
src = s-&gt;ld.buf[GRN] + (y + num_lines)*bpc;<br>
memcpy (s-&gt;ld.buf[GRN] + y*bpc, src, bpc);<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="0149.html">David Mosberger-Tang: "Re: Re[1]: someone working on hp-backend ?"</a>
<li> <b>Previous message:</b> <a href="0147.html">David Mosberger-Tang: "Re: Mustek Paragon 1200 A3 PRO"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>