sane-project-website/old-archive/1999-07/0009.html

124 wiersze
5.8 KiB
HTML

<!-- received="Fri Jul 2 18:14:13 1999 PDT" -->
<!-- sent="Fri, 02 Jul 1999 21:17:46 -0400" -->
<!-- name="Douglas Gilbert" -->
<!-- email="dgilbert@interlog.com" -->
<!-- subject="Re: mustek aha1520B problems" -->
<!-- id="" -->
<!-- inreplyto="mustek aha1520B problems" -->
<title>sane-devel: Re: mustek aha1520B problems</title>
<h1>Re: mustek aha1520B problems</h1>
<b>Douglas Gilbert</b> (<a href="mailto:dgilbert@interlog.com"><i>dgilbert@interlog.com</i></a>)<br>
<i>Fri, 02 Jul 1999 21:17:46 -0400</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#9">[ date ]</a><a href="index.html#9">[ thread ]</a><a href="subject.html#9">[ subject ]</a><a href="author.html#9">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0010.html">aanderson =: "Re: mustek aha1520B problems"</a>
<li> <b>Previous message:</b> <a href="0008.html">Wolfgang Goeller: "Re: Artec AT6 yet again"</a>
<li> <b>Maybe in reply to:</b> <a href="0006.html">aanderson =: "mustek aha1520B problems"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0010.html">aanderson =: "Re: mustek aha1520B problems"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
"aanderson = (A.N. Anderson - Idaho Research Software)" wrote:<br>
<i>&gt; </i><br>
<i>&gt; I have been using SANE (1.0.1) to run a MUSTEK MFS-6000CX</i><br>
<i>&gt; from a Linux system with an Adaptek 1520B/1522B.</i><br>
<i>&gt; </i><br>
<i>&gt; xscanimage has worked nominally on kernels 2.0.33,</i><br>
<i>&gt; 2.0.36,(W/WO bigger buffers),2.0.37(W/WO bigger buffers),</i><br>
<i>&gt; and 2.2.10.</i><br>
<p>
Did the bigger buffers improve performance and lessen<br>
the following problems?<br>
<br>
<i>&gt; There are some disquieting symptoms, however, which I</i><br>
<i>&gt; don't know whether to attribute to SANE, sg, the SCSI card,</i><br>
<i>&gt; or the scanner, and on which perhaps someone can shed some light.</i><br>
<i>&gt; </i><br>
<i>&gt; Symptoms:</i><br>
<i>&gt; </i><br>
<i>&gt; in all configurations, interrupts seem to be disabled, or the system</i><br>
<i>&gt; seems to hang, for inordinate periods (several seconds) during a scan,</i><br>
<i>&gt; especially when the scan is first initiated, but also during each scan</i><br>
<i>&gt; segment.</i><br>
<p>
My advansys 5140 (ISA aha1540 clone) slows anything else on the<br>
same SCSI bus cause my UMAX 1220S doesn't support 'disconnects',<br>
but the rest of my system goes ok (eg my advansys 940UW with my<br>
root file system on it).<br>
<br>
<i>&gt; At least some configurations of the system can be made to crash</i><br>
<i>&gt; by trying other activity during a scan. I have been reluctant to gather</i><br>
<i>&gt; too many statistics about just what activies cause system crashes however,</i><br>
<i>&gt; but small scans seem typically to complete OK.</i><br>
<i>&gt; </i><br>
<i>&gt; Running xtops during a scan shows cpu usage 99%idle after starting</i><br>
<i>&gt; xscanimage, but before a scan is initiated, at 75% system, 25% user</i><br>
<i>&gt; during the scan, and continuing at 75/25 even after the scan has completed,</i><br>
<i>&gt; only returning to 99% idle when xscanimage is exited.</i><br>
<p>
Time taken to DMA/block_move data to and from the SCSI device<br>
and any polling that the aha152x driver does will _not_<br>
show on a command prefixed with "time ".<br>
<p>
<i>&gt; Is this behavior normal for SANE, or this card or scanner, or do I just</i><br>
<i>&gt; have something configured wrong.</i><br>
<p>
Does 'cat /proc/interrupts' show a reasonable count<br>
of interrupts on the aha152x driver?<br>
<p>
<i>&gt; The scanner is the only device on the SCSI bus, which is (at least</i><br>
<i>&gt; nominally) properly terminated, and which has worked fine for DISKS and</i><br>
<i>&gt; CDROMS.</i><br>
<i>&gt; </i><br>
<i>&gt; The aha152x driver for the SCSI card is slightly ersatz on 2.2.10,</i><br>
<i>&gt; however, since that version doesn't recognize the 1520B/1522B, I added</i><br>
<i>&gt; the recognition entry from the 2.0.37 driver to the 2.2.10 driver, which</i><br>
<i>&gt; seems to make it work fine otherwise.</i><br>
<p>
Perhaps you could post that info/patch through to<br>
the aha152x maintainer who is<br>
Juergen Fischer &lt;<a href="mailto:fischer@et-inf.fho-emden.de">fischer@et-inf.fho-emden.de</a>&gt;.<br>
<br>
<i>&gt; The card is configured with aha152x=0x340,11,7,1 in LILO, with sg, etc. as</i><br>
<i>&gt; modules. Behavior was similar with aha152x as a module.</i><br>
<i>&gt; </i><br>
<i>&gt; I think this card has FIFO polled data transfer, which if properly implemented</i><br>
<i>&gt; should avoid the symptoms noted above, so I suspect the driver/card interface.</i><br>
<i>&gt; </i><br>
<i>&gt; The configuration file mustek.conf is:</i><br>
<i>&gt; </i><br>
<i>&gt; option strip-height 1</i><br>
<i>&gt; scsi MUSTEK</i><br>
<i>&gt; </i><br>
<i>&gt; /proc/scsi/scsi is:</i><br>
<i>&gt; </i><br>
<i>&gt; Attached devices:</i><br>
<i>&gt; Host: scsi0 Channel: 00 Id: 05 Lun: 00</i><br>
<i>&gt; Vendor: MUSTEK Model: MFS-06000CX Rev: 2.20</i><br>
<i>&gt; Type: Scanner ANSI SCSI revision: ffffffff</i><br>
<br>
Interesting SCSI version ...<br>
<p>
<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0010.html">aanderson =: "Re: mustek aha1520B problems"</a>
<li> <b>Previous message:</b> <a href="0008.html">Wolfgang Goeller: "Re: Artec AT6 yet again"</a>
<li> <b>Maybe in reply to:</b> <a href="0006.html">aanderson =: "mustek aha1520B problems"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0010.html">aanderson =: "Re: mustek aha1520B problems"</a>
<!-- reply="end" -->
</ul>