sane-project-website/old-archive/2001-04/0258.html

134 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: Sane Compile on 2.4</TITLE>
<META NAME="Author" CONTENT="abel deuring (adeuring@gmx.net)">
<META NAME="Subject" CONTENT="Re: Sane Compile on 2.4">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Sane Compile on 2.4</H1>
<!-- received="Tue Apr 24 12:21:52 2001" -->
<!-- isoreceived="20010424192152" -->
<!-- sent="Tue, 24 Apr 2001 21:37:20 +0200" -->
<!-- isosent="20010424193720" -->
<!-- name="abel deuring" -->
<!-- email="adeuring@gmx.net" -->
<!-- subject="Re: Sane Compile on 2.4" -->
<!-- id="3AE5D5F0.5CB0215F@gmx.net" -->
<!-- inreplyto="20010424081527.G11759@www2" -->
<STRONG>From:</STRONG> abel deuring (<A HREF="mailto:adeuring@gmx.net?Subject=Re:%20Sane%20Compile%20on%202.4&In-Reply-To=&lt;3AE5D5F0.5CB0215F@gmx.net&gt;"><EM>adeuring@gmx.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Apr 24 2001 - 12:37:20 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0259.html">Brooklyn Linux Solutions CEO: "Re: Sane Compile on 2.4"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0257.html">MaD dUCK: "scanjet 2100c"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0256.html">Brooklyn Linux Solutions CEO: "Sane Compile on 2.4"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0259.html">Brooklyn Linux Solutions CEO: "Re: Sane Compile on 2.4"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0259.html">Brooklyn Linux Solutions CEO: "Re: Sane Compile on 2.4"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#258">[ date ]</A>
<A HREF="index.html#258">[ thread ]</A>
<A HREF="subject.html#258">[ subject ]</A>
<A HREF="author.html#258">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Brooklyn Linux Solutions CEO wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Hello
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I had a working HP 5P scanner on SUse 7.0 which I compiled Sane-Backend by
</EM><BR>
<EM>&gt; hand
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I upgraded to 2.4 and SuSe 7.1 and now I get this error message with
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; scanimage -d hp:/dev/sga --format tiff --mode color &gt; /tmp/image.tif
</EM><BR>
<EM>&gt; scanimage: sane_read: Error during device I/O
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; It works with lineart or default mode - whatever that is.
</EM><BR>
<P>If the scanner needs a longer start time for color scans (calibration or
<BR>
whatever), this might be caused by a too short time out of SCSI commands
<BR>
for the new kernel.
<BR>
<P>Please change line 1693 in sanei/sanei_scsi.c (Sane 1.0.4) from
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;req-&gt;sgdata.sg3.hdr.timeout = 10000;
<BR>
<P>to
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;req-&gt;sgdata.sg3.hdr.timeout = 10000 * 60;
<BR>
<P>Then you have the same timeout setting as for the 2.4 kernels.
<BR>
<P><EM>&gt; In file included from linux_sg3_err.h:4,
</EM><BR>
<EM>&gt; from sanei_scsi.c:230:
</EM><BR>
<EM>&gt; /usr/include/linux/../scsi/sg.h:127: redefinition of `struct sg_iovec'
</EM><BR>
<EM>&gt; /usr/include/linux/../scsi/sg.h:130: warning: redefinition of `sg_iovec_t'
</EM><BR>
<P>Please remove the lines
<BR>
<P>#include &lt;linux/../scsi/scsi.h&gt; /* cope with silly includes */
<BR>
#include &lt;linux/../scsi/sg.h&gt;
<BR>
<P>from sanei/linux_sg3_err.h.
<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:%20Sane%20Compile%20on%202.4&In-Reply-To=&lt;3AE5D5F0.5CB0215F@gmx.net&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0259.html">Brooklyn Linux Solutions CEO: "Re: Sane Compile on 2.4"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0257.html">MaD dUCK: "scanjet 2100c"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0256.html">Brooklyn Linux Solutions CEO: "Sane Compile on 2.4"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0259.html">Brooklyn Linux Solutions CEO: "Re: Sane Compile on 2.4"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0259.html">Brooklyn Linux Solutions CEO: "Re: Sane Compile on 2.4"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#258">[ date ]</A>
<A HREF="index.html#258">[ thread ]</A>
<A HREF="subject.html#258">[ subject ]</A>
<A HREF="author.html#258">[ 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>Tue Apr 24 2001 - 12:23:30 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>