sane-project-website/old-archive/2000-04/0248.html

220 wiersze
8.4 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: CanoScan 300 and sane-1.0.{1,2}</TITLE>
<META NAME="Author" CONTENT="Robin Kirkham (robin.kirkham@cmst.csiro.au)">
<META NAME="Subject" CONTENT="Re: CanoScan 300 and sane-1.0.{1,2}">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: CanoScan 300 and sane-1.0.{1,2}</H1>
<!-- received="Tue Apr 25 21:06:10 2000" -->
<!-- isoreceived="20000426040610" -->
<!-- sent="Wed, 26 Apr 2000 14:05:39 +1000" -->
<!-- isosent="20000426040539" -->
<!-- name="Robin Kirkham" -->
<!-- email="robin.kirkham@cmst.csiro.au" -->
<!-- subject="Re: CanoScan 300 and sane-1.0.{1,2}" -->
<!-- id="20000426040539.20699.qmail@msa.cmst.csiro.au" -->
<!-- inreplyto="CanoScan 300 and sane-1.0.{1,2}" -->
<STRONG>From:</STRONG> Robin Kirkham (<A HREF="mailto:robin.kirkham@cmst.csiro.au?Subject=Re:%20CanoScan%20300%20and%20sane-1.0.{1,2}&In-Reply-To=&lt;20000426040539.20699.qmail@msa.cmst.csiro.au&gt;"><EM>robin.kirkham@cmst.csiro.au</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Apr 25 2000 - 21:05:39 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0249.html">Peter Kirchgessner: "Re: scanner with transparency-unit"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0247.html">Oliver Neukum: "question on detecting end of scan"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0140.html">Robin Kirkham: "CanoScan 300 and sane-1.0.{1,2}"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0251.html">Douglas Gilbert: "Re: CanoScan 300 and sane-1.0.{1,2}"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0251.html">Douglas Gilbert: "Re: CanoScan 300 and sane-1.0.{1,2}"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#248">[ date ]</A>
<A HREF="index.html#248">[ thread ]</A>
<A HREF="subject.html#248">[ subject ]</A>
<A HREF="author.html#248">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>I was having difficulty with a CanoScan 300 and sane-1.0.{1,2} (original
<BR>
message appended). Someone in Germany (I think) mailed me wanting to know
<BR>
the solution (if I found one) since they seemed to have the same problem
<BR>
with a CanoScan 600, but I didn't keep the message and the mailing list
<BR>
archive doesn't have a link for April yet.
<BR>
<P>Anyway, it's working now with 1.0.2 ...
<BR>
<P>I had to apply a patch to the sg.c device driver in the Linux kernel and
<BR>
rebuild it. The patch is on the web site for the SANE Canon driver, and
<BR>
relates to the size of SCSI command structures. [Has this patch been
<BR>
submitted for more recent Linux kernels?]
<BR>
<P>I also cleared out all the drivers from dll.conf *except* canon. It was
<BR>
taking scanimage/xscanimage about 30 seconds to try out all the drivers
<BR>
(including the serial digital cameras) before it did anything, so it looked
<BR>
like it was hung when it wasn't.
<BR>
<P>My CanoScan 300 is now working well -- thanks everyone!
<BR>
<P>Robin Kirkham CSIRO Manufacturing Science and Technology
<BR>
Project Engineer Locked Bag 9, Preston 3072, Australia
<BR>
<A HREF="mailto:robin.kirkham@cmst.csiro.au?Subject=Re:%20CanoScan%20300%20and%20sane-1.0.{1,2}&In-Reply-To=&lt;20000426040539.20699.qmail@msa.cmst.csiro.au&gt;">robin.kirkham@cmst.csiro.au</A> Phone: +61 3 9662-7756 Fax: +61 3 9662-7853
<BR>
<P><P><P><EM>&gt; From: Robin Kirkham &lt;<A HREF="mailto:robin.kirkham@cmst.csiro.au?Subject=Re:%20CanoScan%20300%20and%20sane-1.0.{1,2}&In-Reply-To=&lt;20000426040539.20699.qmail@msa.cmst.csiro.au&gt;">robin.kirkham@cmst.csiro.au</A>&gt;
</EM><BR>
<EM>&gt; Subject: CanoScan 300 and sane-1.0.{1,2}
</EM><BR>
<EM>&gt; Date: Fri, 14 Apr 2000 13:57:04 +1000
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Hi,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I'm having trouble with this unit and both 1.0.1 and 1.0.2 (compiled
</EM><BR>
<EM>&gt; from the standard distribution sources). It used to work fine with 1.00
</EM><BR>
<EM>&gt; (or maybe it was earlier version) on an older system. I'm now running
</EM><BR>
<EM>&gt; Mandrake (i.e., RHL) 6.1.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; 1. The canon.conf file does not get installed for either 1.0.1 or 1.0.2
</EM><BR>
<EM>&gt; (but easily inserted by hand &quot;scsi CANON&quot;). tool/find-scanner finds
</EM><BR>
<EM>&gt; the scanner OK. dll.conf contains just &quot;canon&quot;.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; 2. With 1.0.1, xscanimage works fine, unless you save the scanner options.
</EM><BR>
<EM>&gt; The next time you run it, it segfaults. The problem seems to be related
</EM><BR>
<EM>&gt; to reading back the ~/.sane/xscanimage/canon+....rc file. If I delete
</EM><BR>
<EM>&gt; this file, it works again (obviously the saved scanner options are lost).
</EM><BR>
<EM>&gt; If you save them again, then the next time it segfaults ...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; 3. With 1.0.2, I don't get as far as that. scanimage hangs forever.
</EM><BR>
<EM>&gt; I tried getting some debug output for scanimage -L (the debug level 7
</EM><BR>
<EM>&gt; is a guess):
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; % export SANE_DEBUG_CANON=7
</EM><BR>
<EM>&gt; % scanimage -L
</EM><BR>
<EM>&gt; [sanei_init_debug]: Setting debug level of canon to 7.
</EM><BR>
<EM>&gt; [canon] &gt;&gt; sane_init
</EM><BR>
<EM>&gt; [canon] sane_init: sane 1.0.2
</EM><BR>
<EM>&gt; [canon] &gt;&gt; attach_one
</EM><BR>
<EM>&gt; [canon] &gt;&gt; attach
</EM><BR>
<EM>&gt; [canon] attach: opening /dev/sgb
</EM><BR>
<EM>&gt; [canon] attach: sending (standard) INQUIRY
</EM><BR>
<EM>&gt; [canon] attach: sending TEST_UNIT_READY
</EM><BR>
<EM>&gt; [canon] attach: sending RESERVE UNIT
</EM><BR>
<EM>&gt; [canon] attach: sending GET SCAN MODE for scan control conditions
</EM><BR>
<EM>&gt; [canon] attach: GET SCAN MODE for scan control conditions failed
</EM><BR>
<EM>&gt; [canon] &lt;&lt; attach_one
</EM><BR>
<EM>&gt; [canon] &lt;&lt; sane_init
</EM><BR>
<EM>&gt; [canon] &gt;&gt; sane_get_devices
</EM><BR>
<EM>&gt; [canon] &lt;&lt; sane_get_devices
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; The scanner does not appear to do anything.
</EM><BR>
<EM>&gt; Obviously something was the matter with GET SCAN MODE but I don't know
</EM><BR>
<EM>&gt; what that is. In any case, I don't think scanimage should hang...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Can someone please offer some pointers for either or both of these problems?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Thanks
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Robin Kirkham CSIRO Manufacturing Science and Technology
</EM><BR>
<EM>&gt; Project Engineer Locked Bag 9, Preston 3072, Australia
</EM><BR>
<EM>&gt; <A HREF="mailto:robin.kirkham@cmst.csiro.au?Subject=Re:%20CanoScan%20300%20and%20sane-1.0.{1,2}&In-Reply-To=&lt;20000426040539.20699.qmail@msa.cmst.csiro.au&gt;">robin.kirkham@cmst.csiro.au</A> Phone: +61 3 9662-7756 Fax: +61 3 9662-7853
</EM><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:%20CanoScan%20300%20and%20sane-1.0.{1,2}&In-Reply-To=&lt;20000426040539.20699.qmail@msa.cmst.csiro.au&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0249.html">Peter Kirchgessner: "Re: scanner with transparency-unit"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0247.html">Oliver Neukum: "question on detecting end of scan"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0140.html">Robin Kirkham: "CanoScan 300 and sane-1.0.{1,2}"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0251.html">Douglas Gilbert: "Re: CanoScan 300 and sane-1.0.{1,2}"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0251.html">Douglas Gilbert: "Re: CanoScan 300 and sane-1.0.{1,2}"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#248">[ date ]</A>
<A HREF="index.html#248">[ thread ]</A>
<A HREF="subject.html#248">[ subject ]</A>
<A HREF="author.html#248">[ 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 Apr 25 2000 - 21:07:43 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>