sane-project-website/old-archive/2001-02/0002.html

140 wiersze
5.4 KiB
HTML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!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 KYE ColorPage-HR5+DTC3181LE+Kerne</TITLE>
<META NAME="Author" CONTENT="Patricio Díaz G. (padiaz@rieder.net.py)">
<META NAME="Subject" CONTENT="RE: Problems with KYE ColorPage-HR5+DTC3181LE+Kernel 2.4.0">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>RE: Problems with KYE ColorPage-HR5+DTC3181LE+Kernel 2.4.0</H1>
<!-- received="Thu Feb 1 09:41:41 2001" -->
<!-- isoreceived="20010201174141" -->
<!-- sent="Thu, 1 Feb 2001 14:53:01 -0400" -->
<!-- isosent="20010201185301" -->
<!-- name="Patricio Díaz G." -->
<!-- email="padiaz@rieder.net.py" -->
<!-- subject="RE: Problems with KYE ColorPage-HR5+DTC3181LE+Kernel 2.4.0" -->
<!-- id="000101c08c80$a1f58aa0$31888e18@oficina" -->
<!-- inreplyto="3A786051.43FA4D43@satzbau-gmbh.de" -->
<STRONG>From:</STRONG> Patricio Díaz G. (<A HREF="mailto:padiaz@rieder.net.py?Subject=RE:%20Problems%20with%20KYE%20ColorPage-HR5%2BDTC3181LE%2BKernel%202.4.0&In-Reply-To=&lt;000101c08c80$a1f58aa0$31888e18@oficina&gt;"><EM>padiaz@rieder.net.py</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Feb 01 2001 - 10:53:01 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0003.html">abel deuring: "Re: Problems with KYE ColorPage-HR5+DTC3181LE+Kernel 2.4.0"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0001.html">Ewald R. de Wit: "Re: HP C5100A (SCSI PhotoSmart) - image solid black"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0003.html">abel deuring: "Re: Problems with KYE ColorPage-HR5+DTC3181LE+Kernel 2.4.0"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0003.html">abel deuring: "Re: Problems with KYE ColorPage-HR5+DTC3181LE+Kernel 2.4.0"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#2">[ date ]</A>
<A HREF="index.html#2">[ thread ]</A>
<A HREF="subject.html#2">[ subject ]</A>
<A HREF="author.html#2">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
<EM>&gt; If you compiled Sane using the SG header files from the 2.4.0 kernel,
</EM><BR>
<EM>&gt; you problem may be related to a bug in sanei/sanei_scsi.c:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Near line 1900 in this file you'll find:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; req-&gt;sgdata.sg3.hdr.timeout = 10000;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; This should be changed to:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; req-&gt;sgdata.sg3.hdr.timeout = 1000 * 60 * 10;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Without this patch, a SCSI command must be finished within 10 seconds;
</EM><BR>
<EM>&gt; the patch increases the time to 10 minutes, the same value as used by
</EM><BR>
<EM>&gt; Sane for older versions of the Linux kernel.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Abel
</EM><BR>
<EM>&gt;
</EM><BR>
<P>Abel,
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;Please forgive me for not mentioning that I don´t have the source code
<BR>
of SANE, I try to download it since a week ago but the server is allways
<BR>
busy, (whell, at least that is what my Getright sais). I just installed the
<BR>
SANE RPMs that comes with the standart distribution of RedHat Linux 7,
<BR>
later I downloaded the Kernel, compiled and installed it separatelly.
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;After several try outs, I discovered that when I press CTRL+C a few
<BR>
seconds after scanimage runs I get this message:
<BR>
<P>[root@patricio /]# scanimage -d umax:/dev/scanner &gt;pat.pnm
<BR>
scanimage: stopping scanner...
<BR>
scanimage: sanei_scsi.c:1928: sanei_scsi_req_wait: La declaraci?n `req ==
<BR>
((fdparms*)fd_info[req-&gt;fd].pdata)-&gt;sane_qhead' no se cumple.
<BR>
Abortado (core dumped)
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;Do you think that when I could download the source code of SANE, and
<BR>
appling the patch you mentioned, can I make my scanner work?
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;Thanks
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Patricio
<BR>
<P><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?Subject=RE:%20Problems%20with%20KYE%20ColorPage-HR5%2BDTC3181LE%2BKernel%202.4.0&In-Reply-To=&lt;000101c08c80$a1f58aa0$31888e18@oficina&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0003.html">abel deuring: "Re: Problems with KYE ColorPage-HR5+DTC3181LE+Kernel 2.4.0"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0001.html">Ewald R. de Wit: "Re: HP C5100A (SCSI PhotoSmart) - image solid black"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0003.html">abel deuring: "Re: Problems with KYE ColorPage-HR5+DTC3181LE+Kernel 2.4.0"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0003.html">abel deuring: "Re: Problems with KYE ColorPage-HR5+DTC3181LE+Kernel 2.4.0"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#2">[ date ]</A>
<A HREF="index.html#2">[ thread ]</A>
<A HREF="subject.html#2">[ subject ]</A>
<A HREF="author.html#2">[ 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 Feb 01 2001 - 09:44:17 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>