sane-project-website/old-archive/2001-05/0355.html

509 wiersze
14 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: Canon 620 S Flatbed scanner</TITLE>
<META NAME="Author" CONTENT="Mick Barry (mick@objects.com.au)">
<META NAME="Subject" CONTENT="Canon 620 S Flatbed scanner">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Canon 620 S Flatbed scanner</H1>
<!-- received="Fri May 25 18:40:24 2001" -->
<!-- isoreceived="20010526014024" -->
<!-- sent="Sat, 26 May 2001 11:44:28 +1000" -->
<!-- isosent="20010526014428" -->
<!-- name="Mick Barry" -->
<!-- email="mick@objects.com.au" -->
<!-- subject="Canon 620 S Flatbed scanner" -->
<!-- id="3B0F0A7C.7000309@objects.com.au" -->
<STRONG>From:</STRONG> Mick Barry (<A HREF="mailto:mick@objects.com.au?Subject=Re:%20Canon%20620%20S%20Flatbed%20scanner&In-Reply-To=&lt;3B0F0A7C.7000309@objects.com.au&gt;"><EM>mick@objects.com.au</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri May 25 2001 - 18:44:28 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0356.html">Jean-Luc Coulon: "Re: [BUG] Epson 1640SU, xsane preview problem]"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0354.html">Mick Barry: "Re: Twain32 issues"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0363.html">Henning Meier-Geinitz: "Re: Canon 620 S Flatbed scanner"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0363.html">Henning Meier-Geinitz: "Re: Canon 620 S Flatbed scanner"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#355">[ date ]</A>
<A HREF="index.html#355">[ thread ]</A>
<A HREF="subject.html#355">[ subject ]</A>
<A HREF="author.html#355">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Could comeone please have a look at the following debug output and give
<BR>
me some clues to what the problem could be. It appears to find the canon
<BR>
ok, but then down the bottom it appears to be trying to open another
<BR>
&lt;blank&gt; device. Is this correct, and if so what could the causes be?
<BR>
<P><P>-------- Original Message --------
<BR>
Subject: Re: [sane-os2] Canon 620 S Flatbed scanner
<BR>
Date: Fri, 25 May 2001 22:32:04 +1000
<BR>
From: Ed Durrant &lt;<A HREF="mailto:edurrant@bigpond.net.au?Subject=Re:%20Canon%20620%20S%20Flatbed%20scanner&In-Reply-To=&lt;3B0F0A7C.7000309@objects.com.au&gt;">edurrant@bigpond.net.au</A>&gt;
<BR>
Reply-To: <A HREF="mailto:sane-os2@yahoogroups.com?Subject=Re:%20Canon%20620%20S%20Flatbed%20scanner&In-Reply-To=&lt;3B0F0A7C.7000309@objects.com.au&gt;">sane-os2@yahoogroups.com</A>
<BR>
To: <A HREF="mailto:sane-os2@yahoogroups.com?Subject=Re:%20Canon%20620%20S%20Flatbed%20scanner&In-Reply-To=&lt;3B0F0A7C.7000309@objects.com.au&gt;">sane-os2@yahoogroups.com</A>
<BR>
References:
<BR>
&lt;<A HREF="mailto:Pine.BSF.4.10.10105251054280.96858-100000@studenti.ing.unipi.it?Subject=Re:%20Canon%20620%20S%20Flatbed%20scanner&In-Reply-To=&lt;3B0F0A7C.7000309@objects.com.au&gt;">Pine.BSF.4.10.10105251054280.96858-100000@studenti.ing.unipi.it</A>&gt;
<BR>
<P>Mentore - You're right !!
<BR>
<P>Mike, I think we're getting closer !
<BR>
<P>I re-created my canon.conf using epm rather than e and running help
<BR>
(or -L) scanimage can see the canon scanner ! The output is as follows:
<BR>
<P>[D:\temp]epm canon.conf
<BR>
<P>[D:\temp]scanimage.exe -d CANON --help
<BR>
Usage: scanimage.exe [OPTION]...
<BR>
<P>Start image acquisition on a scanner device and write PNM image data to
<BR>
standard output.
<BR>
<P>-b, --batch=FORMAT working in batch mode
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--format=pnm|tiff file format of output file
<BR>
-d, --device-name=DEVICE use a given scanner device (e.g.
<BR>
hp:/dev/scanner)
<BR>
-h, --help display this help message and exit
<BR>
-L, --list-devices show available scanner devices
<BR>
-T, --test test backend thoroughly
<BR>
-v, --verbose give even more status messages
<BR>
-V, --version print version information
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--accept-md5-only only accept authorization requests using md5
<BR>
scanimage.exe: open of device CANON failed: Operation not supported
<BR>
Type ``scanimage.exe --help -d DEVICE'' to get list of all options for
<BR>
DEVICE.
<BR>
<P>List of available devices:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pnm:0 pnm:1 canon:b2t2l0
<BR>
<P><P>Attempting a run of scanimage with debug enabled now gets further with
<BR>
the
<BR>
following output:
<BR>
<P>[D:\temp]scantest
<BR>
<P>[D:\temp]set SANE_DEBUG_CANON=16
<BR>
<P>[D:\temp]set SANE_DEBUG_SANEI_SCSI=255
<BR>
<P>[D:\temp]scanimage -d canon
<BR>
[sanei_debug] Setting debug level of canon to 16.
<BR>
[canon] &gt;&gt; sane_init
<BR>
[canon] sane_init: sane-backends 1.0.4
<BR>
[canon] &gt;&gt; attach_one
<BR>
[canon] &gt;&gt; attach
<BR>
[canon] attach: opening b2t2l0
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 255.
<BR>
[sanei_scsi] OS/2: installed adapters 3
<BR>
[sanei_scsi] OS/2: ASPI manager is 'OS2ASPI Dev Mgr ATA_ATAPI '
<BR>
[sanei_scsi] OS/2: host adapter is 'ATA_ATAPI '
<BR>
[sanei_scsi] OS/2: unique id is ''
<BR>
[sanei_scsi] open_aspi: open temporary file 'asa00102'
<BR>
[sanei_scsi] OS/2: adapter#00 'ATA_ATAPI '
<BR>
[sanei_scsi] OS/2: id#00 status=82h
<BR>
[sanei_scsi] OS/2: id#01 status=82h
<BR>
[sanei_scsi] OS/2: id#02 status=82h
<BR>
[sanei_scsi] OS/2: id#03 status=82h
<BR>
[sanei_scsi] OS/2: id#04 status=82h
<BR>
[sanei_scsi] OS/2: id#05 status=82h
<BR>
[sanei_scsi] OS/2: id#06 status=82h
<BR>
[sanei_scsi] OS/2: adapter#02 'ADPT AHA-2910 <20>'
<BR>
[sanei_scsi] OS/2: id#00 status=82h
<BR>
[sanei_scsi] OS/2: id#01 status=82h
<BR>
[sanei_scsi] OS/2: id#02 status=01h
<BR>
[sanei_scsi] OS/2: type is 'scanner'
<BR>
[sanei_scsi] OS/2 'CANON IX-06035E 1.02'
<BR>
[sanei_scsi] OS/2: id#03 status=82h
<BR>
[sanei_scsi] OS/2: id#04 status=82h
<BR>
[sanei_scsi] OS/2: id#05 status=82h
<BR>
[sanei_scsi] OS/2: id#06 status=82h
<BR>
[sanei_scsi] open_aspi: close temporary file 'asa00102'
<BR>
[canon] attach: sending (standard) INQUIRY
<BR>
[canon] attach: sending TEST_UNIT_READY
<BR>
[canon] attach: sending RESERVE UNIT
<BR>
[canon] attach: sending GET SCAN MODE for scan control conditions
<BR>
[canon] scan mode byte[0] = 19
<BR>
[canon] scan mode byte[1] = 0
<BR>
[canon] scan mode byte[2] = 0
<BR>
[canon] scan mode byte[3] = 0
<BR>
[canon] scan mode byte[4] = 32
<BR>
[canon] scan mode byte[5] = 14
<BR>
[canon] scan mode byte[6] = 0
<BR>
[canon] scan mode byte[7] = 0
<BR>
[canon] scan mode byte[8] = 1
<BR>
[canon] scan mode byte[9] = 244
<BR>
[canon] scan mode byte[10] = 0
<BR>
[canon] scan mode byte[11] = 1
<BR>
[canon] scan mode byte[12] = 1
<BR>
[canon] scan mode byte[13] = 1
<BR>
[canon] scan mode byte[14] = 0
<BR>
[canon] scan mode byte[15] = 0
<BR>
[canon] scan mode byte[16] = 0
<BR>
[canon] scan mode byte[17] = 0
<BR>
[canon] scan mode byte[18] = 2
<BR>
[canon] scan mode byte[19] = 0
<BR>
[canon] scan mode byte[20] = 0
<BR>
[canon] scan mode byte[21] = 32
<BR>
[canon] scan mode byte[22] = 115
<BR>
[canon] scan mode byte[23] = 0
<BR>
[canon] scan mode byte[24] = 69
<BR>
[canon] scan mode byte[25] = 32
<BR>
[canon] scan mode byte[26] = 32
<BR>
[canon] scan mode byte[27] = 32
<BR>
[canon] scan mode byte[28] = 32
<BR>
[canon] scan mode byte[29] = 32
<BR>
[canon] scan mode byte[30] = 32
<BR>
[canon] scan mode byte[31] = 32
<BR>
[canon] scan mode byte[32] = 49
<BR>
[canon] scan mode byte[33] = 46
<BR>
[canon] scan mode byte[34] = 48
<BR>
[canon] scan mode byte[35] = 50
<BR>
[canon] scan mode byte[36] = 0
<BR>
[canon] scan mode byte[37] = 0
<BR>
[canon] scan mode byte[38] = 0
<BR>
[canon] scan mode byte[39] = 0
<BR>
[canon] scan mode byte[40] = 0
<BR>
[canon] scan mode byte[41] = 0
<BR>
[canon] scan mode byte[42] = 0
<BR>
[canon] scan mode byte[43] = 0
<BR>
[canon] scan mode byte[44] = 0
<BR>
[canon] scan mode byte[45] = 0
<BR>
[canon] scan mode byte[46] = 0
<BR>
[canon] scan mode byte[47] = 0
<BR>
[canon] scan mode byte[48] = 0
<BR>
[canon] scan mode byte[49] = 0
<BR>
[canon] scan mode byte[50] = 0
<BR>
[canon] scan mode byte[51] = 0
<BR>
[canon] scan mode byte[52] = 0
<BR>
[canon] scan mode byte[53] = 0
<BR>
[canon] scan mode byte[54] = 0
<BR>
[canon] scan mode byte[55] = 0
<BR>
[canon] scan mode byte[56] = 0
<BR>
[canon] scan mode byte[57] = 0
<BR>
[canon] scan mode byte[58] = 0
<BR>
[canon] scan mode byte[59] = 0
<BR>
[canon] scan mode byte[60] = 0
<BR>
[canon] scan mode byte[61] = 0
<BR>
[canon] scan mode byte[62] = 0
<BR>
[canon] scan mode byte[63] = 0
<BR>
[canon] scan mode byte[64] = 0
<BR>
[canon] scan mode byte[65] = 0
<BR>
[canon] scan mode byte[66] = 0
<BR>
[canon] scan mode byte[67] = 0
<BR>
[canon] scan mode byte[68] = 0
<BR>
[canon] scan mode byte[69] = 0
<BR>
[canon] scan mode byte[70] = 0
<BR>
[canon] scan mode byte[71] = 0
<BR>
[canon] scan mode byte[72] = 0
<BR>
[canon] scan mode byte[73] = 0
<BR>
[canon] attach: sending (extended) INQUIRY
<BR>
[canon] attach: sending MODE SENSE
<BR>
[canon] dev-&gt;sane.name = 'b2t2l0'
<BR>
[canon] dev-&gt;sane.vendor = 'CANON'
<BR>
[canon] dev-&gt;sane.model = 'IX-06035E '
<BR>
[canon] dev-&gt;sane.type = 'flatbed scanner'
<BR>
[canon] &gt;&gt; get tpu stat
<BR>
[canon] &gt;&gt; get adf stat
<BR>
[canon] bmu=0
<BR>
[canon] mud=600
<BR>
[canon] xres_default=600
<BR>
[canon] xres_range.max=600
<BR>
[canon] xres_range.min=75
<BR>
[canon] xres_range.quant=1
<BR>
[canon] yres_default=600
<BR>
[canon] yres_range.max=600
<BR>
[canon] yres_range.min=75
<BR>
[canon] xres_range.quant=1
<BR>
[canon] x_range.max=14157545
<BR>
[canon] y_range.max=19462116
<BR>
[canon] x_adf_range.max=-1
<BR>
[canon] y_adf_range.max=-1
<BR>
[sanei_scsi] OS/2: ASPI closed
<BR>
[canon] &lt;&lt; attach
<BR>
[canon] &lt;&lt; attach_one
<BR>
[canon] &lt;&lt; sane_init
<BR>
[canon] &gt;&gt; sane_open
<BR>
[canon] &gt;&gt; attach
<BR>
[canon] attach: opening
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 255.
<BR>
[sanei_scsi] sanei_scsi_open: device name is not valid
<BR>
[canon] attach: open failed: Invalid argument
<BR>
scanimage: open of device canon failed: Invalid argument
<BR>
[canon] &gt;&gt; sane_exit
<BR>
[canon] &lt;&lt; sane_exit
<BR>
<P>[D:\temp]
<BR>
<P><P>But I still get &quot;invalid argument&quot; as you can see.
<BR>
<P>Any ideas ??
<BR>
<P>Ed Durrant.
<BR>
<P><P><P>Mentore Siesto wrote:
<BR>
<EM> &gt;
</EM><BR>
<EM> &gt; On Thu, 24 May 2001, Yuri Dario wrote:
</EM><BR>
<EM> &gt;
</EM><BR>
<EM> &gt; YD &gt;Hi,
</EM><BR>
<EM> &gt; YD &gt;
</EM><BR>
<EM> &gt; YD &gt;&gt;But since I have aspi support loaded, doesn't this make the IDE
</EM><BR>
<EM> &gt; YD &gt;&gt;channels look like SCSI ? I also run CD/Record and I'm pretty
</EM><BR>
<EM> &gt; YD &gt;&gt;sure it sees my IDE attached burner as if it were a SCSI one.
</EM><BR>
<EM> &gt; YD &gt;
</EM><BR>
<EM> &gt; YD &gt;all people using SANE have ASPI support loaded. But I didn't verify
</EM><BR>
<EM> &gt; YD &gt;latest builds of aspirout.sys by Paul.
</EM><BR>
<EM> &gt;
</EM><BR>
<EM> &gt; IIRC seeing IDE as SCSI devices is a feature of DANIATAPI.FLT filter,
</EM><BR>
<EM> &gt; valid only for IDE drives. ASPI is another thing.
</EM><BR>
<EM> &gt;
</EM><BR>
<EM> &gt; BTW, what editor did you use to build the canon.conf file? I use EPM, not
</EM><BR>
<EM> &gt; E nor TEDIT (they leave a Ctrl-Z character at the end of the file, and
</EM><BR>
<EM> &gt; AFAIK SANE doesn't like it).
</EM><BR>
<EM> &gt;
</EM><BR>
<EM> &gt; --
</EM><BR>
<EM> &gt; Mentore Siesto
</EM><BR>
<EM> &gt; Team OS/2 Italia
</EM><BR>
<EM> &gt; Home page:
</EM><BR>
<EM> &gt; <A HREF="http://www.geocities.com/Tokyo/Temple/8529/index.html">http://www.geocities.com/Tokyo/Temple/8529/index.html</A>
</EM><BR>
<P>Unsubscribe: <A HREF="mailto:sane-os2-unsubscribe@egroups.com?Subject=Re:%20Canon%20620%20S%20Flatbed%20scanner&In-Reply-To=&lt;3B0F0A7C.7000309@objects.com.au&gt;">sane-os2-unsubscribe@egroups.com</A>
<BR>
<P>List owner: <A HREF="mailto:sane-os2-owner@egroups.com?Subject=Re:%20Canon%20620%20S%20Flatbed%20scanner&In-Reply-To=&lt;3B0F0A7C.7000309@objects.com.au&gt;">sane-os2-owner@egroups.com</A>
<BR>
<P><P>Your use of Yahoo! Groups is subject to <A HREF="http://docs.yahoo.com/info/terms/">http://docs.yahoo.com/info/terms/</A>
<BR>
<P><P><P><P><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:%20Canon%20620%20S%20Flatbed%20scanner&In-Reply-To=&lt;3B0F0A7C.7000309@objects.com.au&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0356.html">Jean-Luc Coulon: "Re: [BUG] Epson 1640SU, xsane preview problem]"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0354.html">Mick Barry: "Re: Twain32 issues"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0363.html">Henning Meier-Geinitz: "Re: Canon 620 S Flatbed scanner"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0363.html">Henning Meier-Geinitz: "Re: Canon 620 S Flatbed scanner"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#355">[ date ]</A>
<A HREF="index.html#355">[ thread ]</A>
<A HREF="subject.html#355">[ subject ]</A>
<A HREF="author.html#355">[ 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 25 2001 - 18:41:40 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>