sane-project-website/old-archive/2001-01/0117.html

140 wiersze
5.1 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 and Linux kernel 2.4.0</TITLE>
<META NAME="Author" CONTENT="abel deuring (a.deuring@satzbau-gmbh.de)">
<META NAME="Subject" CONTENT="Re: SANE and Linux kernel 2.4.0">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: SANE and Linux kernel 2.4.0</H1>
<!-- received="Wed Jan 10 12:37:16 2001" -->
<!-- isoreceived="20010110203716" -->
<!-- sent="Wed, 10 Jan 2001 23:11:26 +0100" -->
<!-- isosent="20010110221126" -->
<!-- name="abel deuring" -->
<!-- email="a.deuring@satzbau-gmbh.de" -->
<!-- subject="Re: SANE and Linux kernel 2.4.0" -->
<!-- id="3A5CDE0E.F922FDC7@satzbau-gmbh.de" -->
<!-- inreplyto="3A5B7CA8.A01A21E8@interlog.com" -->
<STRONG>From:</STRONG> abel deuring (<A HREF="mailto:a.deuring@satzbau-gmbh.de?Subject=Re:%20SANE%20and%20Linux%20kernel%202.4.0&In-Reply-To=&lt;3A5CDE0E.F922FDC7@satzbau-gmbh.de&gt;"><EM>a.deuring@satzbau-gmbh.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed Jan 10 2001 - 14:11:26 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0118.html">abel deuring: "Re: MICROTEK2 failure : out of memory with kernel 2.4"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0116.html">Henning Meier-Geinitz: "Re: snapscan"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0103.html">Douglas Gilbert: "SANE and Linux kernel 2.4.0"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#117">[ date ]</A>
<A HREF="index.html#117">[ thread ]</A>
<A HREF="subject.html#117">[ subject ]</A>
<A HREF="author.html#117">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Douglas Gilbert wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Tim Waugh wrote on the linux kernel list:
</EM><BR>
<EM>&gt; &gt; I'm having problems with using xsane to acquire a preview from an HP
</EM><BR>
<EM>&gt; &gt; ScanJet 5P connected to an AHA-2940. 2.3.42 is the last kernel that
</EM><BR>
<EM>&gt; &gt; works right for me.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; The symptom is that the scanner starts to make scanning sounds, then
</EM><BR>
<EM>&gt; &gt; stops, and xsane says 'Error during read: Error during device I/O'.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Tim and I have been looking at this offline. The significance
</EM><BR>
<EM>&gt; of lk 2.3.43 was the addition of a new sg driver that has an
</EM><BR>
<EM>&gt; additional interface. Recent versions of SANE use that newer
</EM><BR>
<EM>&gt; sg interface. The problem that Tim reported seemed to be caused
</EM><BR>
<EM>&gt; by timeouts ** resulting in scsi bus resets. Anyway the problem
</EM><BR>
<EM>&gt; seems to disappear with the recently released SANE 1.0.4 .
</EM><BR>
<EM>&gt; [The original report was based on SANE 1.0.3 and earlier.]
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; There is also a problem report with the SnapScan 1236 &lt;--&gt; aha152x
</EM><BR>
<EM>&gt; combination also based on SANE 1.0.3 . This one is looking
</EM><BR>
<EM>&gt; like an &quot;uninitialized errno&quot; bug fixed in SANE 1.0.4 .
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; ** SANE's newer sg interface shortens the per command timeout
</EM><BR>
<EM>&gt; &gt;from 10 minutes to 10 seconds. Most other OSes have a timeout
</EM><BR>
<EM>&gt; value of 1 minute or more. I suspect 10 seconds may be too short.
</EM><BR>
<P>I've fixed this in the CVS system.
<BR>
<P>I made some additional modifications to sanei_scsi.c:
<BR>
<P>- better determination of sanei_scsi_max_request_size. For a low level
<BR>
driver without scatter/gather support, it should no longer be necessary
<BR>
to set the configure option SCSIBUFFERSIZE or the environment var
<BR>
SANE_SG_BUFFERSIZE.
<BR>
<P>- find_devices cannow also handle the device file names from devfs
<BR>
<P>- additional debug output: sense buffer, device status, host status and
<BR>
driver status
<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%20and%20Linux%20kernel%202.4.0&In-Reply-To=&lt;3A5CDE0E.F922FDC7@satzbau-gmbh.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0118.html">abel deuring: "Re: MICROTEK2 failure : out of memory with kernel 2.4"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0116.html">Henning Meier-Geinitz: "Re: snapscan"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0103.html">Douglas Gilbert: "SANE and Linux kernel 2.4.0"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#117">[ date ]</A>
<A HREF="index.html#117">[ thread ]</A>
<A HREF="subject.html#117">[ subject ]</A>
<A HREF="author.html#117">[ 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>Wed Jan 10 2001 - 12:39:10 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>