sane-project-website/old-archive/2000-05/0176.html

226 wiersze
9.0 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: Some snapscan feedback</TITLE>
<META NAME="Author" CONTENT="Steffen Kluge (kluge@fujitsu.com.au)">
<META NAME="Subject" CONTENT="Some snapscan feedback">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Some snapscan feedback</H1>
<!-- received="Fri May 26 08:05:10 2000" -->
<!-- isoreceived="20000526150510" -->
<!-- sent="Sat, 27 May 2000 01:08:45 +1000" -->
<!-- isosent="20000526150845" -->
<!-- name="Steffen Kluge" -->
<!-- email="kluge@fujitsu.com.au" -->
<!-- subject="Some snapscan feedback" -->
<!-- id="20000527010845.A6489@syd0128.fujitsu.com.au" -->
<STRONG>From:</STRONG> Steffen Kluge (<A HREF="mailto:kluge@fujitsu.com.au?Subject=Re:%20Some%20snapscan%20feedback&In-Reply-To=&lt;20000527010845.A6489@syd0128.fujitsu.com.au&gt;"><EM>kluge@fujitsu.com.au</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri May 26 2000 - 08:08:45 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0177.html">Peter Kirchgessner: "Re: Sane HP backend coredumps"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0175.html">Russ Burdick: "Re: Acer Prisa 620P"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0180.html">Douglas Gilbert: "Re: Some snapscan feedback"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0180.html">Douglas Gilbert: "Re: Some snapscan feedback"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0183.html">Steve Underwood: "Re: Some snapscan feedback"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#176">[ date ]</A>
<A HREF="index.html#176">[ thread ]</A>
<A HREF="subject.html#176">[ subject ]</A>
<A HREF="author.html#176">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
I've been playing a bit with my Acer Prisa 620ST and the new
<BR>
snapscan backend. This is what I found:
<BR>
<P>- The problems I reported earlier on this list with warped
<BR>
&nbsp;&nbsp;system timers (making screensavers and DPMS kick in and wreak
<BR>
&nbsp;&nbsp;havoc among some GUI clocks) have disappeared when I stopped
<BR>
&nbsp;&nbsp;using the AHA1542B host adapter. I believe they were to blame on
<BR>
&nbsp;&nbsp;either the adapter or the driver but not on sane, the snapscan
<BR>
&nbsp;&nbsp;backend or the sg driver. I'm using a Tekram DC315U now.
<BR>
<P>- Steve's new snapscan backend (snapscan-20000514) does a
<BR>
&nbsp;&nbsp;remarkable job, the transparency unit works well and the three
<BR>
&nbsp;&nbsp;channels are aligned perfectly without post-processing.
<BR>
<P>- I'm having problems with the preview scan when using xsane.
<BR>
&nbsp;&nbsp;The scanner stops after about 30% and proceeds very slowly
<BR>
&nbsp;&nbsp;(like one line at a time every now and then). After a minute
<BR>
&nbsp;&nbsp;or two it goes on as normal until it reaches about 90%, then
<BR>
&nbsp;&nbsp;stops again and eventually finishes. Sometimes it pauses
<BR>
&nbsp;&nbsp;longer sometimes shorter. Sometimes switching desktops (in
<BR>
&nbsp;&nbsp;enlightenment) or randomly clicking mouse buttons helps. This
<BR>
&nbsp;&nbsp;behaviour can't be changed through any of the settings in the
<BR>
&nbsp;&nbsp;xsane dialog boxes, as long as the preview mode is colour
<BR>
&nbsp;&nbsp;(doesn't happen in bi-level, line-art or gray scale). A gdb
<BR>
&nbsp;&nbsp;run of xsane shows that it sits on a select, like in this bt:
<BR>
<P>&nbsp;&nbsp;&nbsp;#0 0x4039854e in __select () from /lib/libc.so.6
<BR>
&nbsp;&nbsp;&nbsp;#1 0x404584f8 in __DTOR_END__ ()
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/local/lib/sane/libsane-snapscan.so.1
<BR>
&nbsp;&nbsp;&nbsp;#2 0x4045316a in sanei_scsi_cmd (fd=32, src=0x80eaef8, src_size=10,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dst=0x80eaff8, dst_size=0x80f2c00) at sanei_scsi.c:2065
<BR>
&nbsp;&nbsp;&nbsp;#3 0x40446d6e in scsi_read (pss=0x80eaec0, read_type=0 '\000')
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at snapscan-scsi.c:785
<BR>
&nbsp;&nbsp;&nbsp;#4 0x404475b2 in SCSISource_get (pself=0x837e248,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pbuf=0x839f10d &quot;\021&quot;, '\f' &lt;repeats 54 times&gt;, plen=0xbfffcc5c)
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at snapscan-sources.c:158
<BR>
&nbsp;&nbsp;&nbsp;#5 0x40447fbc in TxSource_get (pself=0x839eac8,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pbuf=0x839f10d &quot;\021&quot;, '\f' &lt;repeats 54 times&gt;, plen=0xbfffcc5c)
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at snapscan-sources.c:439
<BR>
&nbsp;&nbsp;&nbsp;#6 0x40448943 in RGBRouter_get (pself=0x839eac8,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pbuf=0xbfffe224 &quot;\f\021\f\f\021\f\f\021\f\f\021\f\f\021&quot;, plen=0xbfffcd24)
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at snapscan-sources.c:688
<BR>
&nbsp;&nbsp;&nbsp;#7 0x4044fac8 in sane_snapscan_read (h=0x80eaec0, buf=0xbfffcd30 &quot;&quot;,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;maxlen=8192, plen=0xbfffcd24) at snapscan.c:2508
<BR>
&nbsp;&nbsp;&nbsp;#8 0x402bad7f in sane_dll_read (handle=0x80f3078, data=0xbfffcd30 &quot;&quot;,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;max_length=8192, length=0xbfffcd24) at dll.c:837
<BR>
&nbsp;&nbsp;&nbsp;#9 0x402bb09d in sane_read (h=0x80f3078, buf=0xbfffcd30 &quot;&quot;, maxlen=8192,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lenp=0xbfffcd24) at dll-s.c:52
<BR>
&nbsp;&nbsp;&nbsp;#10 0x805bb93 in preview_read_image_data (data=0x817b528, source=-1,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cond=GDK_INPUT_READ) at xsane-preview.c:840
<BR>
<P>&nbsp;&nbsp;The funny thing is that xscanimage's preview doesn't ever show
<BR>
&nbsp;&nbsp;this behaviour. I really like xsane's preview better, though
<BR>
&nbsp;&nbsp;(zoom etc). I've been testing with xsane version 0.57 and
<BR>
&nbsp;&nbsp;0.59, both versions behave this way. I also recompiled sane
<BR>
&nbsp;&nbsp;and xsane with no optimisations (I thought that might be a
<BR>
&nbsp;&nbsp;good idea since I'm using an Athlon), but it made no
<BR>
&nbsp;&nbsp;difference.
<BR>
<P>- I can't for the heck of it scan at resolutions higher than
<BR>
&nbsp;&nbsp;600dpi, although the scanner supports up to 19200dpi. The
<BR>
&nbsp;&nbsp;program (scanimage, xscanimage or xsane) just freezes (enters
<BR>
&nbsp;&nbsp;an endless loop) in function measure_transfer_rate. I can
<BR>
&nbsp;&nbsp;follow the loop in the debugger but I don't understand the
<BR>
&nbsp;&nbsp;program logic so I can't say what's going wrong. I believe
<BR>
&nbsp;&nbsp;(but am not sure) that I could use higher resolutions with
<BR>
&nbsp;&nbsp;previous versions of the backend.
<BR>
<P>- I'm doing all this with sane-1.0.2, kernel-2.2.14, sg-3.0.15,
<BR>
&nbsp;&nbsp;and the host adapter/scanner look like this:
<BR>
<P>&nbsp;&nbsp;&nbsp;scsi0 : Tekram DC395U/UW/F DC315/U V1.10, 1999/07/19
<BR>
&nbsp;&nbsp;&nbsp;scsi : 1 host.
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Vendor: Color Model: FlatbedScanner_9 Rev: 0117
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Type: Scanner ANSI SCSI revision: 02
<BR>
&nbsp;&nbsp;&nbsp;Detected scsi generic sg0 at scsi0, channel 0, id 2, lun 0, type 6
<BR>
<P>All in all I'm quite happy with the pace of progress so far. If
<BR>
it goes on like this the scanner will be ready for prime time
<BR>
soon :-) Time to acquire some GIMP photo editing skills...
<BR>
<P>Cheers
<BR>
Steffen.
<BR>
<P><PRE>
--
Steffen Kluge &lt;<A HREF="mailto:kluge@fujitsu.com.au?Subject=Re:%20Some%20snapscan%20feedback&In-Reply-To=&lt;20000527010845.A6489@syd0128.fujitsu.com.au&gt;">kluge@fujitsu.com.au</A>&gt;
Fujitsu Australia Ltd
Keywords: photography, Mozart, UNIX, Islay Malt, dark skies
--
<P>--
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:%20Some%20snapscan%20feedback&In-Reply-To=&lt;20000527010845.A6489@syd0128.fujitsu.com.au&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0177.html">Peter Kirchgessner: "Re: Sane HP backend coredumps"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0175.html">Russ Burdick: "Re: Acer Prisa 620P"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0180.html">Douglas Gilbert: "Re: Some snapscan feedback"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0180.html">Douglas Gilbert: "Re: Some snapscan feedback"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0183.html">Steve Underwood: "Re: Some snapscan feedback"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#176">[ date ]</A>
<A HREF="index.html#176">[ thread ]</A>
<A HREF="subject.html#176">[ subject ]</A>
<A HREF="author.html#176">[ 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>Fri May 26 2000 - 08:07:20 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>