kopia lustrzana https://gitlab.com/sane-project/website
94 wiersze
4.1 KiB
HTML
94 wiersze
4.1 KiB
HTML
<!-- received="Thu Jun 3 09:02:10 1999 PDT" -->
|
||
<!-- sent="Thu, 03 Jun 1999 17:57:32 +0200" -->
|
||
<!-- name="Nemeth Laszlo" -->
|
||
<!-- email="nemeth@qwertynet.hu" -->
|
||
<!-- subject="Re: Mustek ScanExpress 12000SP slow" -->
|
||
<!-- id="@Õÿ" -->
|
||
<!-- inreplyto="Mustek ScanExpress 12000SP slow" -->
|
||
<title>sane-devel: Re: Mustek ScanExpress 12000SP slow</title>
|
||
<h1>Re: Mustek ScanExpress 12000SP slow</h1>
|
||
<b>Nemeth Laszlo</b> (<a href="mailto:nemeth@qwertynet.hu"><i>nemeth@qwertynet.hu</i></a>)<br>
|
||
<i>Thu, 03 Jun 1999 17:57:32 +0200</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#18">[ date ]</a><a href="index.html#18">[ thread ]</a><a href="subject.html#18">[ subject ]</a><a href="author.html#18">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0019.html">Dr. Andreas Bolsch: "Re: Mustek ScanExpress 12000SP slow"</a>
|
||
<li> <b>Previous message:</b> <a href="0017.html">Nemeth Laszlo: "Re: Mustek ScanExpress 12000SP slow"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
<i>> "Gilbert, Douglas" wrote:</i><br>
|
||
<i>> </i><br>
|
||
<i>> Nemeth,</i><br>
|
||
<i>> </i><br>
|
||
<i>> > Also modified /usr/include/scsi/sg.h to</i><br>
|
||
<i>> > #define SG_SCATTER_SZ (32 * 4096)</i><br>
|
||
<i>> > (this seems to be the new name for SG_BIG_BUFF</i><br>
|
||
<i>> > in kernel 2.2.9 I'm using)</i><br>
|
||
<i>> </i><br>
|
||
<i>> This won't help. It will only make things worse.</i><br>
|
||
<i>> You should leave SG_SCATTER_SZ at 32KB (8 * 4096)</i><br>
|
||
<i>> and try and bump SG_BIG_BUFF up:</i><br>
|
||
<i>> </i><br>
|
||
<i>> #define SG_BIG_BUFF (SG_SCATTER_SZ * 4)</i><br>
|
||
<p>
|
||
This was the first thing I tried, but SANE (after recompiling) still<br>
|
||
transerred 32k blocks only. Then I found this comment below<br>
|
||
SG_SCATTER_SZ:<br>
|
||
<p>
|
||
"If scatter-gather not supported by adapter then this value is the<br>
|
||
largest data block that can be read/written by a single scsi command."<br>
|
||
<p>
|
||
So it seems the DTC3181 doesn't support scatter-gather. After bumping<br>
|
||
the SG_SCATTER_SZ value, SANE transferred 64k blocks (the maximum for my<br>
|
||
scanner).<br>
|
||
Well, this thing doesn't appear to be a normal SCSI adapter.....<br>
|
||
<p>
|
||
<i>> Then recompile SANE. None of this will probably help</i><br>
|
||
<i>> you ... the DTC3181 is most likely causing the problem.</i><br>
|
||
<i>> Do you have any other SCSI devices (a disk, for</i><br>
|
||
<i>> example)? If so you could use some of my utilities</i><br>
|
||
<i>> to test the throughput of the DTC card.</i><br>
|
||
<p>
|
||
Unfortunately I have no spare SCSI devices I could test the throughput<br>
|
||
with. I guess it'd be very low. In the meantime I found a temporary<br>
|
||
solution for speeding things up, with disabling the USLEEP option of the<br>
|
||
DTC driver. This is OK, I think, since there are no other devices<br>
|
||
attached to the card, so the fact that the scanner doesn't properly<br>
|
||
disconnect itself from the bus won't cause any problems.<br>
|
||
Now it's still not at the speed that it can do in windoze, but already<br>
|
||
acceptable, and doesn't freeze the system while scanning, like in that<br>
|
||
other os.<br>
|
||
<p>
|
||
I think I'll pick up a cheap NCR53c810 card for the scanner, and dump<br>
|
||
the DTC soon.<br>
|
||
<p>
|
||
<i>> P.S. I would like to email this back to the SANE</i><br>
|
||
<i>> newsgroup but can find no way looking at the archive.</i><br>
|
||
<i>> Do you know the newsgroup (or reflector) address.</i><br>
|
||
<i>> {I don't want to subscribe, my email box is already</i><br>
|
||
<i>> overflowing).</i><br>
|
||
<p>
|
||
Cc'd to the list, hope you don't mind. I don't know anything about the<br>
|
||
news mirror of the list.<br>
|
||
<p>
|
||
Thank you,<br>
|
||
Laszlo<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="0019.html">Dr. Andreas Bolsch: "Re: Mustek ScanExpress 12000SP slow"</a>
|
||
<li> <b>Previous message:</b> <a href="0017.html">Nemeth Laszlo: "Re: Mustek ScanExpress 12000SP slow"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|