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

166 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: HP 5100C and SANE</TITLE>
<META NAME="Author" CONTENT="Adam Warner (mailing_lists@consulting.net.nz)">
<META NAME="Subject" CONTENT="Re: HP 5100C and SANE">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: HP 5100C and SANE</H1>
<!-- received="Mon Feb 26 00:39:08 2001" -->
<!-- isoreceived="20010226083908" -->
<!-- sent="26 Feb 2001 21:47:55 NZDT" -->
<!-- isosent="20010226084755" -->
<!-- name="Adam Warner" -->
<!-- email="mailing_lists@consulting.net.nz" -->
<!-- subject="Re: HP 5100C and SANE" -->
<!-- id="200102260839.f1Q8d6S15722@panda.mostang.com" -->
<!-- inreplyto="HP 5100C and SANE" -->
<STRONG>From:</STRONG> Adam Warner (<A HREF="mailto:mailing_lists@consulting.net.nz?Subject=Re:%20HP%205100C%20and%20SANE&In-Reply-To=&lt;200102260839.f1Q8d6S15722@panda.mostang.com&gt;"><EM>mailing_lists@consulting.net.nz</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon Feb 26 2001 - 00:47:55 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0223.html">Christoph Knauer: "xsane 0.72 and big color scans"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0221.html">Christoph H.: "Re: always Segmentation Fault"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#222">[ date ]</A>
<A HREF="index.html#222">[ thread ]</A>
<A HREF="subject.html#222">[ subject ]</A>
<A HREF="author.html#222">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi Peter Kirchgessner,
<BR>
<P>Thank you for your reply. It helped motivate me to keep persisting. I tried all
<BR>
your advice and unfortunately it did not help. You may be still right about
<BR>
buffer overruns. My guess is that the scanner wouldn't pause for some reason
<BR>
when the buffer filled up, leading to the I/O errors.
<BR>
<P>But the remarkable fact is that the scanner is now working. I tried different
<BR>
kernel combinations until one worked.
<BR>
<P>And the even more mind-boggling fact is that a newly compiled SMP kernel works
<BR>
as well without CPU lockups appearing in the message log!!!
<BR>
<P>The success must be the result of some combination of these factors:
<BR>
(a) Experimental FIFO and DMA kernel support enabled for the parallel port
<BR>
connected to the scanner.
<BR>
(b) chmod 666 /dev/sg0 (had done this earlier as well).
<BR>
(c) judicious use of make mrproper in kernel recompiling instead of just make
<BR>
clean (kernel compiling bombed once with just make clean).
<BR>
[(d) pixie dust.
<BR>
(e) gamma radiation changing a few bits on my hard disk.]
<BR>
<P>BTW here's the new kernel messages:
<BR>
<P>kernel: SCSI subsystem driver Revision: 1.00
<BR>
kernel: Winbond Super-IO detection, now testing ports 3F0,370,250,4E,2E ...
<BR>
kernel: Winbond chip at EFER=0x3f0 key=0x87 devid=52 devrev=f4 oldid=ff
<BR>
kernel: Winbond chip type 83977EF / SMSC 97w35x
<BR>
kernel: Winbond LPT Config: cr_30=01 60,61=0378 70=07 74=03, f0=03
<BR>
kernel: Winbond LPT Config: active=yes, io=0x0378 irq=7, dma=3
<BR>
kernel: Winbond LPT Config: irqtype=pulsed low, high-Z, ECP fifo threshold=0
<BR>
kernel: Winbond LPT Config: Port mode=ECP and EPP-1.9
<BR>
kernel: SMSC Super-IO detection, now testing Ports 2F0, 370 ...
<BR>
kernel: 0x378: FIFO is 16 bytes
<BR>
kernel: 0x378: writeIntrThreshold is 16
<BR>
kernel: 0x378: readIntrThreshold is 16
<BR>
kernel: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,COMPAT,EPP,ECP]
<BR>
kernel: parport0: irq 7 detected
<BR>
kernel: parport1: PC-style at 0x278 [PCSPP,TRISTATE,EPP]
<BR>
kernel: ppSCSI 0.92 (0.92) installed
<BR>
kernel: parport0: epst.1 already owner
<BR>
kernel: parport0: epst.1 tried to release parport when not owner
<BR>
kernel: epst.1: epst 0.92 (0.92), Shuttle EPST at 0x378 mode 2 (PS/2) dly 1
<BR>
nice 0 sg 16
<BR>
kernel: scsi0 : epst
<BR>
kernel: Vendor: HP Model: C5190A Rev: 3740
<BR>
kernel: Type: Processor ANSI SCSI revision: 02
<BR>
kernel: Detected scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 3
<BR>
<P>Linux seems a quite a bit slower in transferring the data compared to a test I
<BR>
did in Windows 2000. In Win2k I scanned a colour document at 150DPI in 12
<BR>
seconds. It worked out the be a transfer rate or 600kB/s (not bad for a
<BR>
parallel port).
<BR>
<P>I might be able to play around with the buffer size to improve the results.
<BR>
<P>Regards,
<BR>
Adam
<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:%20HP%205100C%20and%20SANE&In-Reply-To=&lt;200102260839.f1Q8d6S15722@panda.mostang.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0223.html">Christoph Knauer: "xsane 0.72 and big color scans"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0221.html">Christoph H.: "Re: always Segmentation Fault"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#222">[ date ]</A>
<A HREF="index.html#222">[ thread ]</A>
<A HREF="subject.html#222">[ subject ]</A>
<A HREF="author.html#222">[ 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>Mon Feb 26 2001 - 00:41:55 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>