sane-project-website/old-archive/1999-10/0072.html

127 wiersze
6.4 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Sun Oct 10 01:04:20 1999 PDT" -->
<!-- sent="Sun, 10 Oct 1999 03:14:40 -0500" -->
<!-- name="David Crooke" -->
<!-- email="dave@dcc.vu" -->
<!-- subject="[Fwd: Stalling and banding problems with Umax Astra 610S in SANE 1.0.1]" -->
<!-- id="" -->
<!-- inreplyto="" -->
<title>sane-devel: [Fwd: Stalling and banding problems with Umax Astra 610S in SANE 1.0.1]</title>
<h1>[Fwd: Stalling and banding problems with Umax Astra 610S in SANE 1.0.1]</h1>
<b>David Crooke</b> (<a href="mailto:dave@dcc.vu"><i>dave@dcc.vu</i></a>)<br>
<i>Sun, 10 Oct 1999 03:14:40 -0500</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#72">[ date ]</a><a href="index.html#72">[ thread ]</a><a href="subject.html#72">[ subject ]</a><a href="author.html#72">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0073.html">David Crooke: "[Fwd: Followup - SCSI stalls with Umax Astra 610S / Tekram DC390 / Linux"</a>
<li> <b>Previous message:</b> <a href="0071.html">Oliver Rauch: "Re: xsane-0.37"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
David Crooke wrote:<br>
<i>&gt; </i><br>
<i>&gt; Hey guys, nice toys!</i><br>
<i>&gt; </i><br>
<i>&gt; Sorry if this is a known problem, but I couldn't find a "known bugs" list, and</i><br>
<i>&gt; an archive troll didn't turn up anything quite the same....</i><br>
<i>&gt; </i><br>
<i>&gt; Configuration (more details <a href="http://www.dcc.vu/sane/">http://www.dcc.vu/sane/</a>):</i><br>
<i>&gt; </i><br>
<i>&gt; Umax Astra 610S Firmware v1.3</i><br>
<i>&gt; Linux 2.2.5-15 (generic Red Hat 6.0)</i><br>
<i>&gt; Tekram DC390 PCI SCSI-2</i><br>
<i>&gt; No other devices on SCSI bus</i><br>
<i>&gt; tmscsim.o generic driver, default config (8Mb/sec transfer)</i><br>
<i>&gt; ASUS P2B-F m/board</i><br>
<i>&gt; Single Intel Pentium-II</i><br>
<i>&gt; SANE 1.0.1, out of box build (./configure ; make ; make install)</i><br>
<i>&gt; Using dll.conf set to "umax" with the default umax.conf</i><br>
<i>&gt; </i><br>
<i>&gt; I have encountered 2 problems with this setup:</i><br>
<i>&gt; </i><br>
<i>&gt; 1. The scanner stalls in the middle of operation</i><br>
<i>&gt; ------------------------------------------------</i><br>
<i>&gt; </i><br>
<i>&gt; The scanner stalls at two points during a preview, and three during a scan. This</i><br>
<i>&gt; locks up the application (e.g. xscanimage) which fails to respond to events,</i><br>
<i>&gt; such as X exposes. In all cases, sending a SCSI reset to the stalled scanner</i><br>
<i>&gt; causes it to proceed without error, and the application recovers cleanly.</i><br>
<i>&gt; </i><br>
<i>&gt; In this context, I have been sending resets with this Linux command:</i><br>
<i>&gt; </i><br>
<i>&gt; echo "RESET" &gt;/proc/scsi/tmscsim/0</i><br>
<i>&gt; </i><br>
<i>&gt; In preview mode, it moves the head back for perhaps 200ms, pauses for 3-4</i><br>
<i>&gt; seconds, then moves it forward for about 1 sec, then the scanner stalls for the</i><br>
<i>&gt; first time. After the reset, it proceeds to do the full scan, and returns the</i><br>
<i>&gt; head home, but appears not to deliver the last data packet back to the</i><br>
<i>&gt; application, and a second reset is required.</i><br>
<i>&gt; </i><br>
<i>&gt; In scan mode, it stalls at the same initial point, then stalls again apparently</i><br>
<i>&gt; just after the first data block (xscanimage brings up the "Receiving RGB</i><br>
<i>&gt; data..." green progress bar, which stays at 0), and finally stalls right at the</i><br>
<i>&gt; end, at the same point as the preview.</i><br>
<i>&gt; </i><br>
<i>&gt; The size of a scan does not seem to affect the stall behaviour - I have tried</i><br>
<i>&gt; scans from 32Kb to over 30Mb. On full width 300dpi scans, the scanner needs to</i><br>
<i>&gt; pause, back up and resume (rather like a tape streamer) due to the data volume,</i><br>
<i>&gt; and this works perfectly.</i><br>
<i>&gt; </i><br>
<i>&gt; Does anyone have any thoughts? I'd be happy to collect debug output and send it</i><br>
<i>&gt; to a developer if they like; failing which I'm going to dive into the code and</i><br>
<i>&gt; kludge in these resets for my own use, in which case I will report on progress.</i><br>
<i>&gt; </i><br>
<i>&gt; 2. Image has colour banding</i><br>
<i>&gt; ---------------------------</i><br>
<i>&gt; </i><br>
<i>&gt; The scanned images have a noticeable colour banding across them. The banding</i><br>
<i>&gt; seems to be periodic, cycling with the number of pixels scanned, and is not</i><br>
<i>&gt; correlated to the physical image size. The banding seems to have a certain</i><br>
<i>&gt; colouration about it, e.g. the bands go CMYCMYCMYCMY.... Here is a sample,</i><br>
<i>&gt; collected with xscanimage, selecting 300 dpi but otherwise using default</i><br>
<i>&gt; options.</i><br>
<i>&gt; </i><br>
<i>&gt; <a href="http://www.dcc.vu/sane/sample.jpg">http://www.dcc.vu/sane/sample.jpg</a></i><br>
<i>&gt; </i><br>
<i>&gt; (I didn't want to attach it as it's over 70Kb)</i><br>
<i>&gt; </i><br>
<i>&gt; Is this a hardware fault with the scanner, or a software (e.g. gamma) issue? I</i><br>
<i>&gt; am not in a position to (easily) try the thing under Windows or MacOS. Any</i><br>
<i>&gt; advice welcome.</i><br>
<i>&gt; </i><br>
<i>&gt; 3. Minor thing</i><br>
<i>&gt; --------------</i><br>
<i>&gt; </i><br>
<i>&gt; Minor additional question - is there a way to configure what /dev/ devices SANE</i><br>
<i>&gt; tries? I have /dev/scanner linked to /dev/sga, and xscanimage always brings up a</i><br>
<i>&gt; pop-up asking me to choose one of the two. I'd like to just have it use one</i><br>
<i>&gt; configured.</i><br>
<i>&gt; </i><br>
<i>&gt; Best wishes</i><br>
<i>&gt; Dave</i><br>
<i>&gt; </i><br>
<i>&gt; --</i><br>
<i>&gt; David Crooke, Austin TX, USA. +1 (512) 795 0805</i><br>
<i>&gt; Bibendo ergo sum.</i><br>
<p>
<pre>
--
David Crooke, Austin TX, USA. +1 (512) 795 0805
Bibendo ergo sum.
<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="0073.html">David Crooke: "[Fwd: Followup - SCSI stalls with Umax Astra 610S / Tekram DC390 / Linux"</a>
<li> <b>Previous message:</b> <a href="0071.html">Oliver Rauch: "Re: xsane-0.37"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>