kopia lustrzana https://gitlab.com/sane-project/website
154 wiersze
5.5 KiB
HTML
154 wiersze
5.5 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: Kernel 2.4.X and HP Scanjet 6300C</TITLE>
|
||
|
<META NAME="Author" CONTENT="Douglas Gilbert (dgilbert@interlog.com)">
|
||
|
<META NAME="Subject" CONTENT="Re: Kernel 2.4.X and HP Scanjet 6300C">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
||
|
<H1>Re: Kernel 2.4.X and HP Scanjet 6300C</H1>
|
||
|
<!-- received="Sat Jun 23 21:28:59 2001" -->
|
||
|
<!-- isoreceived="20010624042859" -->
|
||
|
<!-- sent="Sun, 24 Jun 2001 00:28:19 -0400" -->
|
||
|
<!-- isosent="20010624042819" -->
|
||
|
<!-- name="Douglas Gilbert" -->
|
||
|
<!-- email="dgilbert@interlog.com" -->
|
||
|
<!-- subject="Re: Kernel 2.4.X and HP Scanjet 6300C" -->
|
||
|
<!-- id="3B356C63.CE181699@interlog.com" -->
|
||
|
<!-- inreplyto="01062116054400.04398@msp" -->
|
||
|
<STRONG>From:</STRONG> Douglas Gilbert (<A HREF="mailto:dgilbert@interlog.com?Subject=Re:%20Kernel%202.4.X%20and%20HP%20Scanjet%206300C&In-Reply-To=<3B356C63.CE181699@interlog.com>"><EM>dgilbert@interlog.com</EM></A>)<BR>
|
||
|
<STRONG>Date:</STRONG> Sat Jun 23 2001 - 21:28:19 PDT
|
||
|
<P>
|
||
|
<!-- next="start" -->
|
||
|
<LI><STRONG>Next message:</STRONG> <A HREF="0253.html">DStevenson: "Re: Sane-Mandrake scsi timeout"</A>
|
||
|
<UL>
|
||
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0251.html">Henning Meier-Geinitz: "Re: Is my Artec AT12 broken?"</A>
|
||
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0247.html">Mark Parrish: "Re: Kernel 2.4.X and HP Scanjet 6300C"</A>
|
||
|
<!-- nextthread="start" -->
|
||
|
<!-- reply="end" -->
|
||
|
<LI><STRONG>Messages sorted by:</STRONG>
|
||
|
<A HREF="date.html#252">[ date ]</A>
|
||
|
<A HREF="index.html#252">[ thread ]</A>
|
||
|
<A HREF="subject.html#252">[ subject ]</A>
|
||
|
<A HREF="author.html#252">[ author ]</A>
|
||
|
</UL>
|
||
|
<HR NOSHADE><P>
|
||
|
<!-- body="start" -->
|
||
|
<P>
|
||
|
Mark Parrish wrote:
|
||
|
<BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> Hi Tim,
|
||
|
</EM><BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> I applied the patch as directed in the mail message to:
|
||
|
</EM><BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> sane-backends-1.0.4/sanei/sanei_scsi.c
|
||
|
</EM><BR>
|
||
|
<EM>> - req->sgdata.sg3.hdr.timeout = 10000;
|
||
|
</EM><BR>
|
||
|
<EM>> + req->sgdata.sg3.hdr.timeout = 10 * 60 * 1000;
|
||
|
</EM><BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> I did a make and make install. I shut off my scanner and turned it back on
|
||
|
</EM><BR>
|
||
|
<EM>> again. I rebooted linux and tried it but the same problem happened.
|
||
|
</EM><BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> The scanner starts to make a pass, the light moves about quarter inch and
|
||
|
</EM><BR>
|
||
|
<EM>> then chokes with the message "Error during read. Error during device I/O".
|
||
|
</EM><BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> Is there something I am missing in my procedure?
|
||
|
</EM><BR>
|
||
|
<P>Mark,
|
||
|
<BR>
|
||
|
Perhaps you could check that you are running the version
|
||
|
<BR>
|
||
|
that was recently rebuild. You can use "which" to find
|
||
|
<BR>
|
||
|
the location of an executable like scanimage then use
|
||
|
<BR>
|
||
|
"ls -l" to check it's timestamp.
|
||
|
<BR>
|
||
|
<P>There is also this patch fragment on the same file
|
||
|
<BR>
|
||
|
that should be applied:
|
||
|
<BR>
|
||
|
<P>@@ -2022,7 +2022,7 @@
|
||
|
<BR>
|
||
|
else
|
||
|
<BR>
|
||
|
{
|
||
|
<BR>
|
||
|
/* check for errors, but let the sense_handler decide.... */
|
||
|
<BR>
|
||
|
- if ( (req->sgdata.sg3.hdr.info && SG_INFO_CHECK != 0)
|
||
|
<BR>
|
||
|
+ if ( (req->sgdata.sg3.hdr.info & SG_INFO_CHECK != 0)
|
||
|
<BR>
|
||
|
|| (req->sgdata.sg3.hdr.sb_len_wr > 0 &&
|
||
|
<BR>
|
||
|
((req->sgdata.sg3.sense_buffer[0] & 0x7f) != 0)))
|
||
|
<BR>
|
||
|
<P>If the problem persists, you could turn on SANE's debug
|
||
|
<BR>
|
||
|
by setting the environment variables:
|
||
|
<BR>
|
||
|
export SANE_DEBUG_SANEI_SCSI=127
|
||
|
<BR>
|
||
|
export SANE_DEBUG_<BACKEND_NAME>=127
|
||
|
<BR>
|
||
|
<P>and you could send the output to me. Also if you know
|
||
|
<BR>
|
||
|
how to build a linux kernel module then you could try
|
||
|
<BR>
|
||
|
a new sg driver (version 3.1.19) found at:
|
||
|
<BR>
|
||
|
<A HREF="http://www.torque.net/sg">http://www.torque.net/sg</A>
|
||
|
<BR>
|
||
|
and tell me if that makes any difference.
|
||
|
<BR>
|
||
|
<P>Doug Gilbert
|
||
|
<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:%20Kernel%202.4.X%20and%20HP%20Scanjet%206300C&In-Reply-To=<3B356C63.CE181699@interlog.com>">majordomo@mostang.com</A>
|
||
|
</PRE>
|
||
|
<P><!-- body="end" -->
|
||
|
<HR NOSHADE>
|
||
|
<UL>
|
||
|
<!-- next="start" -->
|
||
|
<LI><STRONG>Next message:</STRONG> <A HREF="0253.html">DStevenson: "Re: Sane-Mandrake scsi timeout"</A>
|
||
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0251.html">Henning Meier-Geinitz: "Re: Is my Artec AT12 broken?"</A>
|
||
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0247.html">Mark Parrish: "Re: Kernel 2.4.X and HP Scanjet 6300C"</A>
|
||
|
<!-- nextthread="start" -->
|
||
|
<!-- reply="end" -->
|
||
|
<LI><STRONG>Messages sorted by:</STRONG>
|
||
|
<A HREF="date.html#252">[ date ]</A>
|
||
|
<A HREF="index.html#252">[ thread ]</A>
|
||
|
<A HREF="subject.html#252">[ subject ]</A>
|
||
|
<A HREF="author.html#252">[ 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>Sat Jun 23 2001 - 21:30:35 PDT</EM>
|
||
|
</EM>
|
||
|
</SMALL>
|
||
|
</BODY>
|
||
|
</HTML>
|