sane-project-website/old-archive/2000-07/0061.html

266 wiersze
9.3 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: Re: Nikon Coolscan / LS2000 /LS30 ?</TITLE>
<META NAME="Author" CONTENT="dave-mlist@bfnet.com (dave-mlist@bfnet.com)">
<META NAME="Subject" CONTENT="Re: Nikon Coolscan / LS2000 /LS30 ?">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Nikon Coolscan / LS2000 /LS30 ?</H1>
<!-- received="Tue Jul 11 15:55:43 2000" -->
<!-- isoreceived="20000711225543" -->
<!-- sent="11 Jul 2000 16:09:56 -0700" -->
<!-- isosent="20000711230956" -->
<!-- name="dave-mlist@bfnet.com" -->
<!-- email="dave-mlist@bfnet.com" -->
<!-- subject="Re: Nikon Coolscan / LS2000 /LS30 ?" -->
<!-- id="yge7lasw9ff.fsf@bfnet.com" -->
<!-- inreplyto="Sun, 09 Jul 2000 16:16:08 +0200&quot;" -->
<STRONG>From:</STRONG> <A HREF="mailto:dave-mlist@bfnet.com?Subject=Re:%20Nikon%20Coolscan%20/%20LS2000%20/LS30%20?&In-Reply-To=&lt;yge7lasw9ff.fsf@bfnet.com&gt;"><EM>dave-mlist@bfnet.com</EM></A><BR>
<STRONG>Date:</STRONG> Tue Jul 11 2000 - 16:09:56 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0062.html">Petter Reinholdtsen: "Re: scanimage feature request (patch available)"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0060.html">Maik Holtkamp: "ScanMaker E2 probs"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#61">[ date ]</A>
<A HREF="index.html#61">[ thread ]</A>
<A HREF="subject.html#61">[ subject ]</A>
<A HREF="author.html#61">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi Andreas,
<BR>
<P>Here is some more debug information for you for my LS2000.
<BR>
This time I tried scanning the same image twice, once with Scan Mode
<BR>
set to color (see <A HREF="http://bfnet.com/misc/gimp-coolscan-debug-color.txt">http://bfnet.com/misc/gimp-coolscan-debug-color.txt</A>),
<BR>
and once with Scan Mode set to RGBI (see
<BR>
<A HREF="http://bfnet.com/misc/gimp-coolscan-debug-rgbi.txt">http://bfnet.com/misc/gimp-coolscan-debug-rgbi.txt</A>).
<BR>
<P>The Scan Mode of color seems to work allright, except for the fact
<BR>
that sometimes the scan turnes out very blue. The RGBI scan doesn't
<BR>
return a picture at all because of a frame error.
<BR>
<P>Andreas&gt; Plase send me the debug output (unless it is more than 200kB,
<BR>
Andreas&gt; in that case try scanning smaller images).
<BR>
<P>The debug output is in these two URLs:
<BR>
<A HREF="http://bfnet.com/misc/gimp-coolscan-debug-color.txt">http://bfnet.com/misc/gimp-coolscan-debug-color.txt</A>
<BR>
<A HREF="http://bfnet.com/misc/gimp-coolscan-debug-rgbi.txt">http://bfnet.com/misc/gimp-coolscan-debug-rgbi.txt</A>
<BR>
<P>Andreas&gt; Please indicate:
<BR>
Andreas&gt; You SCSI card, SCSI lowlevel driver, sane version, backend version,
<BR>
Andreas&gt; what settings you used with the backend and anything that may
<BR>
Andreas&gt; give me an idea on how to reproduce your error.
<BR>
<P>My system information is below. As for reproducing the error, I do
<BR>
the following:
<BR>
<P>1. in shell, export SANE_DEBUG_COOLSCAN=128
<BR>
2. run gimp
<BR>
3. Xtns-&gt;Acquire Image-&gt;Device Dialog...
<BR>
4. Scan
<BR>
<P>The result for Color is usually OK, but sometimes it's blue. The
<BR>
result for RGBI is an incomplete scan --- before the scan is finished,
<BR>
I see a window of mostly black with just a few colored blocks and
<BR>
dots.
<BR>
<P>Here are some notes regarding the differences between the color and
<BR>
rgbi debugging outputs:
<BR>
<P>1. Line 244 of the Scan Mode = Color:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[coolscan] 5/44/0: Command Sequence Error
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[coolscan] sanei_scsi_cmd: returning 0x00000009
<BR>
&nbsp;&nbsp;&nbsp;this error does not appear in the RGBI debug.
<BR>
<P>2. Line 388 of the Scan Mode = RGBI:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xscanimage.input_available: bad frame format 5
<BR>
&nbsp;&nbsp;&nbsp;this error does not appear in the Color debug.
<BR>
<P>Please let me know if there's any more information I can give you!
<BR>
<P>SCSI card: Adaptec 2903B (came with LS2000)
<BR>
SCSI lowlevel driver:
<BR>
<P>I have two SCSI cards, and my LS2000 is connected to scs1:
<BR>
<P>[dave@print dave]$ cat /proc/scsi/scsi
<BR>
Attached devices:
<BR>
Host: scsi0 Channel: 00 Id: 01 Lun: 00
<BR>
&nbsp;&nbsp;Vendor: IBM OEM Model: DCHS04Y Rev: 6363
<BR>
&nbsp;&nbsp;Type: Direct-Access ANSI SCSI revision: 02
<BR>
Host: scsi1 Channel: 00 Id: 02 Lun: 00
<BR>
&nbsp;&nbsp;Vendor: Nikon Model: LS-2000 Rev: 1.31
<BR>
&nbsp;&nbsp;Type: Scanner ANSI SCSI revision: 02
<BR>
<P>[dave@print dave]$ cat /proc/scsi/aic7xxx/1
<BR>
Adaptec AIC7xxx driver version: 5.1.28/3.2.4
<BR>
Compile Options:
<BR>
&nbsp;&nbsp;TCQ Enabled By Default : Disabled
<BR>
&nbsp;&nbsp;AIC7XXX_PROC_STATS : Enabled
<BR>
&nbsp;&nbsp;AIC7XXX_RESET_DELAY : 5
<BR>
<P>Adapter Configuration:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SCSI Adapter: Adaptec AIC-7850 SCSI host adapter
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Narrow Controller at PCI 0/19/0
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;PCI MMAPed I/O Base: 0xe1001000
<BR>
&nbsp;Adapter SEEPROM Config: SEEPROM not found, using defaults.
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adaptec SCSI BIOS: Disabled
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IRQ: 11
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SCBs: Active 0, Max Active 1,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allocated 15, HW 3, Page 255
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Interrupts: 5281
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BIOS Control Word: 0x0000
<BR>
&nbsp;&nbsp;&nbsp;Adapter Control Word: 0x0000
<BR>
&nbsp;&nbsp;&nbsp;Extended Translation: Disabled
<BR>
Disconnect Enable Flags: 0x00ff
<BR>
&nbsp;Tag Queue Enable Flags: 0x0000
<BR>
Ordered Queue Tag Flags: 0x0000
<BR>
Default Tag Queue Depth: 8
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Tagged Queue By Device array for aic7xxx host instance 1:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Actual queue depth per device for aic7xxx host instance 1:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
<BR>
<P>Statistics:
<BR>
<P>(scsi1:0:2:0)
<BR>
&nbsp;&nbsp;Device using Narrow/Async transfers.
<BR>
&nbsp;&nbsp;Transinfo settings: current(0/0/0/0), goal(0/0/0/0), user(25/15/0/0)
<BR>
&nbsp;&nbsp;Total transfers 2190 (2190 reads and 0 writes)
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt; 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
<BR>
&nbsp;&nbsp;&nbsp;Reads: 0 0 0 61 0 2129 0 0
<BR>
&nbsp;&nbsp;Writes: 0 0 0 0 0 0 0 0
<BR>
<P><P>Here are the revisions of my SCSI drivers from my RH6.2 kernel:
<BR>
<P>&nbsp;* $Id: aic7xxx.h,v 3.2 1996/07/23 03:37:26 deang Exp $
<BR>
&nbsp;* $Id: aic7xxx.c,v 1.119 1997/06/27 19:39:18 gibbs Exp $
<BR>
&nbsp;* $Id: aic7xxx.reg,v 1.4 1997/06/27 19:38:39 gibbs Exp $
<BR>
&nbsp;* $Id: aic7xxx.seq,v 1.77 1998/06/28 02:58:57 gibbs Exp $
<BR>
&nbsp;* $Id: sequencer.h,v 1.3 1997/09/27 19:37:31 gibbs Exp $
<BR>
<P>I am not specifying any kernel arguments at boot time.
<BR>
<P>As for my SANE version, I'm using sane-1.0.2_coolscan043.tgz patched
<BR>
with your new coolscan_read_data_block() function from your mail dated
<BR>
Sun, 09 Jul 2000.
<BR>
<P>My settings for the backend can be found at the following URL:
<BR>
<A HREF="http://bfnet.com/misc/coolscan:+-dev+-sgb.rc">http://bfnet.com/misc/coolscan:+-dev+-sgb.rc</A>
<BR>
<P>Andreas&gt; Thanks for your help.
<BR>
<P>Thanks for the code!
<BR>
Dave
<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?Subject=Re:%20Nikon%20Coolscan%20/%20LS2000%20/LS30%20?&In-Reply-To=&lt;yge7lasw9ff.fsf@bfnet.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0062.html">Petter Reinholdtsen: "Re: scanimage feature request (patch available)"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0060.html">Maik Holtkamp: "ScanMaker E2 probs"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#61">[ date ]</A>
<A HREF="index.html#61">[ thread ]</A>
<A HREF="subject.html#61">[ subject ]</A>
<A HREF="author.html#61">[ 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>Tue Jul 11 2000 - 16:00:35 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>