sane-project-website/old-archive/1998-09/0025.html

72 wiersze
2.8 KiB
HTML

<!-- received="Wed Sep 2 14:12:32 1998 PDT" -->
<!-- sent="Wed, 02 Sep 1998 23:17:00 +0200 (CEST)" -->
<!-- name="Alessandro Russo" -->
<!-- email="axela@bigfoot.com" -->
<!-- subject="RE: Epson GT-6500 parallel" -->
<!-- id="h³" -->
<!-- inreplyto="m3n28konel.fsf@indie.fga-intern.de" -->
<title>sane-devel: RE: Epson GT-6500 parallel</title>
<h1>RE: Epson GT-6500 parallel</h1>
<b>Alessandro Russo</b> (<a href="mailto:axela@bigfoot.com"><i>axela@bigfoot.com</i></a>)<br>
<i>Wed, 02 Sep 1998 23:17:00 +0200 (CEST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#25">[ date ]</a><a href="index.html#25">[ thread ]</a><a href="subject.html#25">[ subject ]</a><a href="author.html#25">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0026.html">JaymeFrye: "Any intrest in a proposed project. Linux in Graphic Arts."</a>
<li> <b>Previous message:</b> <a href="0024.html">Henning Sauer: "/dev/scanner Link still needed ?"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
On 31-Aug-98 Oliver Graf wrote:<br>
<i>&gt; </i><br>
<i>&gt; System linux 2.0.35, XFree86 3.3.2, gtk+ 1.0.5</i><br>
<i>&gt; Adapter Epson Parallel Card supplied with GT-6500 on 0x278</i><br>
<i>&gt; Scanner Epson GT-6500 parallel</i><br>
<i>&gt; </i><br>
<i>&gt; Does only work for Gray scans. Lineart will kill xscanimage, Color</i><br>
<i>&gt; pics come</i><br>
<i>&gt; up wrong in preview and actual scan (diagonal moving image -- line to</i><br>
<i>&gt; long /</i><br>
<i>&gt; line offset).</i><br>
the epson.c has a bug (his come up only for the scsi scanners):<br>
Into scsi_write :<br>
-------<br>
static int<br>
scsi_write (int fd, const void *buf, size_t buf_size, SANE_Status *<br>
status)<br>
{<br>
unsigned char *cmd;<br>
[...]<br>
cmd = alloca (6 + buf_size);<br>
[...]<br>
if (SANE_STATUS_GOOD == (*status = sanei_scsi_cmd (fd, cmd1, <br>
sizeof(cmd) +buf_size, NULL, NULL)))<br>
--------<br>
Obviusly sizeof(cmd) is wrong, should be:<br>
if (SANE_STATUS_GOOD == (*status = sanei_scsi_cmd (fd, cmd1,<br>
6+buf_size, NULL, NULL)))<br>
<p>
btw there are some other bugs into epson.c (at least for scsi<br>
scanners), and xscanimage quit when previewing an image.<br>
<p>
bye,<br>
Alex<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="0026.html">JaymeFrye: "Any intrest in a proposed project. Linux in Graphic Arts."</a>
<li> <b>Previous message:</b> <a href="0024.html">Henning Sauer: "/dev/scanner Link still needed ?"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>