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

154 wiersze
5.4 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="Brooklyn Linux Solutions CEO (ruben@mrbrklyn.com)">
<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:27:36 2001" -->
<!-- isoreceived="20010424192736" -->
<!-- sent="Tue, 24 Apr 2001 10:39:04 -0400" -->
<!-- isosent="20010424143904" -->
<!-- name="Brooklyn Linux Solutions CEO" -->
<!-- email="ruben@mrbrklyn.com" -->
<!-- subject="Re: Sane Compile on 2.4" -->
<!-- id="20010424103904.A17264@www2" -->
<!-- inreplyto="3AE5D5F0.5CB0215F@gmx.net" -->
<STRONG>From:</STRONG> Brooklyn Linux Solutions CEO (<A HREF="mailto:ruben@mrbrklyn.com?Subject=Re:%20Sane%20Compile%20on%202.4&In-Reply-To=&lt;20010424103904.A17264@www2&gt;"><EM>ruben@mrbrklyn.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Apr 24 2001 - 07:39:04 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0260.html">Henning Meier-Geinitz: "Re: Sane Compile on 2.4"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0258.html">abel deuring: "Re: Sane Compile on 2.4"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0258.html">abel deuring: "Re: Sane Compile on 2.4"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0260.html">Henning Meier-Geinitz: "Re: Sane Compile on 2.4"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0260.html">Henning Meier-Geinitz: "Re: Sane Compile on 2.4"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#259">[ date ]</A>
<A HREF="index.html#259">[ thread ]</A>
<A HREF="subject.html#259">[ subject ]</A>
<A HREF="author.html#259">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Thanks
<BR>
<P>How about the compile problem?
<BR>
<P>Ruben
<BR>
<P><P>On 2001.04.24 15:37:20 -0400 abel deuring wrote:
<BR>
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
</EM><BR>
by
<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
</EM><BR>
`sg_iovec_t'
<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;20010424103904.A17264@www2&gt;">majordomo@mostang.com</A>
<P><P>--
Brooklyn Linux Solutions
<A HREF="http://www.mrbrklyn.com">http://www.mrbrklyn.com</A>
<A HREF="http://www.brooklynonline.com">http://www.brooklynonline.com</A>
<P>1-718-382-5752
<P>--
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;20010424103904.A17264@www2&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0260.html">Henning Meier-Geinitz: "Re: Sane Compile on 2.4"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0258.html">abel deuring: "Re: Sane Compile on 2.4"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0258.html">abel deuring: "Re: Sane Compile on 2.4"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0260.html">Henning Meier-Geinitz: "Re: Sane Compile on 2.4"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0260.html">Henning Meier-Geinitz: "Re: Sane Compile on 2.4"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#259">[ date ]</A>
<A HREF="index.html#259">[ thread ]</A>
<A HREF="subject.html#259">[ subject ]</A>
<A HREF="author.html#259">[ 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:29:02 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>