sane-project-website/old-archive/2000-06/0063.html

130 wiersze
4.8 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 sane-scsi</TITLE>
<META NAME="Author" CONTENT="abel deuring (a.deuring@satzbau-gmbh.de)">
<META NAME="Subject" CONTENT="Re: Problems with sane-scsi">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Problems with sane-scsi</H1>
<!-- received="Thu Jun 8 05:09:19 2000" -->
<!-- isoreceived="20000608120919" -->
<!-- sent="Thu, 08 Jun 2000 14:09:47 +0200" -->
<!-- isosent="20000608120947" -->
<!-- name="abel deuring" -->
<!-- email="a.deuring@satzbau-gmbh.de" -->
<!-- subject="Re: Problems with sane-scsi" -->
<!-- id="393F8D0B.381CE640@satzbau-gmbh.de" -->
<!-- inreplyto="20000608132519.G20837@spectrum.uni-bielefeld.de" -->
<STRONG>From:</STRONG> abel deuring (<A HREF="mailto:a.deuring@satzbau-gmbh.de?Subject=Re:%20Problems%20with%20sane-scsi&In-Reply-To=&lt;393F8D0B.381CE640@satzbau-gmbh.de&gt;"><EM>a.deuring@satzbau-gmbh.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Jun 08 2000 - 05:09:47 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0064.html">Michael Franz: "Re: Parallel Scanners (UMAX Astra 1220P)"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0062.html">Benjamin Hell: "Problems with sane-scsi"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0062.html">Benjamin Hell: "Problems with sane-scsi"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0067.html">Benjamin Hell: "Re: Problems with sane-scsi"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0067.html">Benjamin Hell: "Re: Problems with sane-scsi"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#63">[ date ]</A>
<A HREF="index.html#63">[ thread ]</A>
<A HREF="subject.html#63">[ subject ]</A>
<A HREF="author.html#63">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Benjamin Hell wrote:
<BR>
<P><EM>&gt; Today I tried to use a Canon CanoScan 2700F with
</EM><BR>
<EM>&gt; sane 1.0.2 on a Ultra Sparc 5 with Solaris 7.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I got the newest sg-driver from J&quot;org Schily and
</EM><BR>
<EM>&gt; the most recent driver for the 2700F. I compiled
</EM><BR>
<EM>&gt; sane and find-scanner correctly reports:
</EM><BR>
[...]
<BR>
<EM>&gt; [canon] attach: sending GET SCAN MODE for scan control conditions
</EM><BR>
<EM>&gt; sanei_scsi.c:3456: failed assertion 'Cdb_size == src_size'
</EM><BR>
<EM>&gt; zsh: IOT instruction (core dumped) scanimage -L
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Does anybody know what's going on here and perhaps
</EM><BR>
<EM>&gt; even knows a cure??
</EM><BR>
<P>Benjamin,
<BR>
<P>The problem is, that the (vendor specific) GET SCAN MODE command uses an
<BR>
&quot;unusual&quot; command length, which cannot be handled properly in the recent
<BR>
Sane distributions. Please try this patch (mainly to sanei_scsi.c and to
<BR>
the Canon backend):
<BR>
<A HREF="http://www.mostang.com/mail-archive/sane-devel/2000-05/0057.html">http://www.mostang.com/mail-archive/sane-devel/2000-05/0057.html</A> .
<BR>
Please note, that I have only been able to test the patch with Linux; it
<BR>
could therefore of course be that I introduced another bug in the parts
<BR>
of sanei_scsi.c for other Unixes. But at least you should get a
<BR>
different error :)
<BR>
<P>BTW, has anyone tested this patch for other Unixes? Up to now I got only
<BR>
a report from Stefan Scherer that it works for his Canon scanner under
<BR>
Linux.
<BR>
<P>Abel
<BR>
<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%20sane-scsi&In-Reply-To=&lt;393F8D0B.381CE640@satzbau-gmbh.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0064.html">Michael Franz: "Re: Parallel Scanners (UMAX Astra 1220P)"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0062.html">Benjamin Hell: "Problems with sane-scsi"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0062.html">Benjamin Hell: "Problems with sane-scsi"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0067.html">Benjamin Hell: "Re: Problems with sane-scsi"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0067.html">Benjamin Hell: "Re: Problems with sane-scsi"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#63">[ date ]</A>
<A HREF="index.html#63">[ thread ]</A>
<A HREF="subject.html#63">[ subject ]</A>
<A HREF="author.html#63">[ 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>Thu Jun 08 2000 - 05:10:51 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>