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

140 wiersze
5.3 KiB
HTML
Czysty Zwykły widok Historia

<!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="abel deuring (a.deuring@satzbau-gmbh.de)">
<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="Wed Jan 31 09:45:58 2001" -->
<!-- isoreceived="20010131174558" -->
<!-- sent="Wed, 31 Jan 2001 19:58:25 +0100" -->
<!-- isosent="20010131185825" -->
<!-- name="abel deuring" -->
<!-- email="a.deuring@satzbau-gmbh.de" -->
<!-- subject="Re: Problems with KYE ColorPage-HR5+DTC3181LE+Kernel 2.4.0" -->
<!-- id="3A786051.43FA4D43@satzbau-gmbh.de" -->
<!-- inreplyto="013801c08b51$ea1db080$2a888e18@oficina" -->
<STRONG>From:</STRONG> abel deuring (<A HREF="mailto:a.deuring@satzbau-gmbh.de?Subject=Re:%20Problems%20with%20KYE%20ColorPage-HR5%2BDTC3181LE%2BKernel%202.4.0&In-Reply-To=&lt;3A786051.43FA4D43@satzbau-gmbh.de&gt;"><EM>a.deuring@satzbau-gmbh.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed Jan 31 2001 - 10:58:25 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0326.html">SCC: "can't get resolution as a slider in xsane-0.70"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0324.html">John Craig: "Re: Snapscan driver and acer scanner"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0319.html">Patricio D<>az G.: "Problems with KYE ColorPage-HR5+DTC3181LE+Kernel 2.4.0"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0333.html">Peck Dickens: "Re: Problems with KYE ColorPage-HR5+DTC3181LE+Kernel 2.4.0"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#325">[ date ]</A>
<A HREF="index.html#325">[ thread ]</A>
<A HREF="subject.html#325">[ subject ]</A>
<A HREF="author.html#325">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
&quot;Patricio D<>az G.&quot; wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I am using RedHat Linux 7 and the g_NCR5380 driver as a module,
</EM><BR>
<EM>&gt; the kernel recognices the SCSI card and my scanner, but when I try to
</EM><BR>
<EM>&gt; scan something (Ej.: scannimage -d umax:/dev/scanner &gt;pat.pnm) the
</EM><BR>
<EM>&gt; indicator light that is in front of the scanner turns off, like if it
</EM><BR>
<EM>&gt; will start scanning, but the head with the lamp doesn<73>t moves, and the
</EM><BR>
<EM>&gt; program hangs the system.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I have readed about problems and solutions about the SCSI card
</EM><BR>
<EM>&gt; DTC3181x, but of owners of UMAX or PLUSTEK scanners, and they doesn<73>t
</EM><BR>
<EM>&gt; seems to have problems to scan, I think that is something betwen my
</EM><BR>
<EM>&gt; scanner and the backend.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Can anybody with the most close combination of scanner and
</EM><BR>
<EM>&gt; software tell me how the h... to get working them.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; If it helps, my motherboard is an Asus P5A-B with Chipset ALI
</EM><BR>
<EM>&gt; Aladyn (ALI-154x), 128 Mb RAM.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Thanks,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Patricio
</EM><BR>
<P>Patricio,
<BR>
<P>If you compiled Sane using the SG header files from the 2.4.0 kernel,
<BR>
you problem may be related to a bug in sanei/sanei_scsi.c:
<BR>
<P>Near line 1900 in this file you'll find:
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;req-&gt;sgdata.sg3.hdr.timeout = 10000;
<BR>
<P>This should be changed to:
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;req-&gt;sgdata.sg3.hdr.timeout = 1000 * 60 * 10;
<BR>
<P>Without this patch, a SCSI command must be finished within 10 seconds;
<BR>
the patch increases the time to 10 minutes, the same value as used by
<BR>
Sane for older versions of the Linux kernel.
<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:%20Problems%20with%20KYE%20ColorPage-HR5%2BDTC3181LE%2BKernel%202.4.0&In-Reply-To=&lt;3A786051.43FA4D43@satzbau-gmbh.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0326.html">SCC: "can't get resolution as a slider in xsane-0.70"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0324.html">John Craig: "Re: Snapscan driver and acer scanner"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0319.html">Patricio D<>az G.: "Problems with KYE ColorPage-HR5+DTC3181LE+Kernel 2.4.0"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0333.html">Peck Dickens: "Re: Problems with KYE ColorPage-HR5+DTC3181LE+Kernel 2.4.0"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#325">[ date ]</A>
<A HREF="index.html#325">[ thread ]</A>
<A HREF="subject.html#325">[ subject ]</A>
<A HREF="author.html#325">[ 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 31 2001 - 09:48:06 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>