kopia lustrzana https://gitlab.com/sane-project/website
124 wiersze
5.8 KiB
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>> </i><br>
|
|
<i>> I have been using SANE (1.0.1) to run a MUSTEK MFS-6000CX</i><br>
|
|
<i>> from a Linux system with an Adaptek 1520B/1522B.</i><br>
|
|
<i>> </i><br>
|
|
<i>> xscanimage has worked nominally on kernels 2.0.33,</i><br>
|
|
<i>> 2.0.36,(W/WO bigger buffers),2.0.37(W/WO bigger buffers),</i><br>
|
|
<i>> and 2.2.10.</i><br>
|
|
<p>
|
|
Did the bigger buffers improve performance and lessen<br>
|
|
the following problems?<br>
|
|
<br>
|
|
<i>> There are some disquieting symptoms, however, which I</i><br>
|
|
<i>> don't know whether to attribute to SANE, sg, the SCSI card,</i><br>
|
|
<i>> or the scanner, and on which perhaps someone can shed some light.</i><br>
|
|
<i>> </i><br>
|
|
<i>> Symptoms:</i><br>
|
|
<i>> </i><br>
|
|
<i>> in all configurations, interrupts seem to be disabled, or the system</i><br>
|
|
<i>> seems to hang, for inordinate periods (several seconds) during a scan,</i><br>
|
|
<i>> especially when the scan is first initiated, but also during each scan</i><br>
|
|
<i>> 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>> At least some configurations of the system can be made to crash</i><br>
|
|
<i>> by trying other activity during a scan. I have been reluctant to gather</i><br>
|
|
<i>> too many statistics about just what activies cause system crashes however,</i><br>
|
|
<i>> but small scans seem typically to complete OK.</i><br>
|
|
<i>> </i><br>
|
|
<i>> Running xtops during a scan shows cpu usage 99%idle after starting</i><br>
|
|
<i>> xscanimage, but before a scan is initiated, at 75% system, 25% user</i><br>
|
|
<i>> during the scan, and continuing at 75/25 even after the scan has completed,</i><br>
|
|
<i>> 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>> Is this behavior normal for SANE, or this card or scanner, or do I just</i><br>
|
|
<i>> 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>> The scanner is the only device on the SCSI bus, which is (at least</i><br>
|
|
<i>> nominally) properly terminated, and which has worked fine for DISKS and</i><br>
|
|
<i>> CDROMS.</i><br>
|
|
<i>> </i><br>
|
|
<i>> The aha152x driver for the SCSI card is slightly ersatz on 2.2.10,</i><br>
|
|
<i>> however, since that version doesn't recognize the 1520B/1522B, I added</i><br>
|
|
<i>> the recognition entry from the 2.0.37 driver to the 2.2.10 driver, which</i><br>
|
|
<i>> 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 <<a href="mailto:fischer@et-inf.fho-emden.de">fischer@et-inf.fho-emden.de</a>>.<br>
|
|
<br>
|
|
<i>> The card is configured with aha152x=0x340,11,7,1 in LILO, with sg, etc. as</i><br>
|
|
<i>> modules. Behavior was similar with aha152x as a module.</i><br>
|
|
<i>> </i><br>
|
|
<i>> I think this card has FIFO polled data transfer, which if properly implemented</i><br>
|
|
<i>> should avoid the symptoms noted above, so I suspect the driver/card interface.</i><br>
|
|
<i>> </i><br>
|
|
<i>> The configuration file mustek.conf is:</i><br>
|
|
<i>> </i><br>
|
|
<i>> option strip-height 1</i><br>
|
|
<i>> scsi MUSTEK</i><br>
|
|
<i>> </i><br>
|
|
<i>> /proc/scsi/scsi is:</i><br>
|
|
<i>> </i><br>
|
|
<i>> Attached devices:</i><br>
|
|
<i>> Host: scsi0 Channel: 00 Id: 05 Lun: 00</i><br>
|
|
<i>> Vendor: MUSTEK Model: MFS-06000CX Rev: 2.20</i><br>
|
|
<i>> 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>
|