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

155 wiersze
6.1 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: CanoScan 300 and sane-1.0.{1,2}</TITLE>
<META NAME="Author" CONTENT="Robin Kirkham (robin.kirkham@cmst.csiro.au)">
<META NAME="Subject" CONTENT="CanoScan 300 and sane-1.0.{1,2}">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>CanoScan 300 and sane-1.0.{1,2}</H1>
<!-- received="Thu Apr 13 20:57:47 2000" -->
<!-- isoreceived="20000414035747" -->
<!-- sent="Fri, 14 Apr 2000 13:57:04 +1000" -->
<!-- isosent="20000414035704" -->
<!-- name="Robin Kirkham" -->
<!-- email="robin.kirkham@cmst.csiro.au" -->
<!-- subject="CanoScan 300 and sane-1.0.{1,2}" -->
<!-- id="200004140357.UAA05444@panda.mostang.com" -->
<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;200004140357.UAA05444@panda.mostang.com&gt;"><EM>robin.kirkham@cmst.csiro.au</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Apr 13 2000 - 20:57:04 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0141.html">Aaron Krowne: "epson 1200U woes"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0139.html">Wandered Inn: "Re: xscanimage on Gimp"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0248.html">Robin Kirkham: "Re: CanoScan 300 and sane-1.0.{1,2}"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0248.html">Robin Kirkham: "Re: CanoScan 300 and sane-1.0.{1,2}"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#140">[ date ]</A>
<A HREF="index.html#140">[ thread ]</A>
<A HREF="subject.html#140">[ subject ]</A>
<A HREF="author.html#140">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>I'm having trouble with this unit and both 1.0.1 and 1.0.2 (compiled
<BR>
from the standard distribution sources). It used to work fine with 1.00
<BR>
(or maybe it was earlier version) on an older system. I'm now running
<BR>
Mandrake (i.e., RHL) 6.1.
<BR>
<P>1. The canon.conf file does not get installed for either 1.0.1 or 1.0.2
<BR>
&nbsp;&nbsp;&nbsp;(but easily inserted by hand &quot;scsi CANON&quot;). tool/find-scanner finds
<BR>
&nbsp;&nbsp;&nbsp;the scanner OK. dll.conf contains just &quot;canon&quot;.
<BR>
<P>2. With 1.0.1, xscanimage works fine, unless you save the scanner options.
<BR>
&nbsp;&nbsp;&nbsp;The next time you run it, it segfaults. The problem seems to be related
<BR>
&nbsp;&nbsp;&nbsp;to reading back the ~/.sane/xscanimage/canon+....rc file. If I delete
<BR>
&nbsp;&nbsp;&nbsp;this file, it works again (obviously the saved scanner options are lost).
<BR>
&nbsp;&nbsp;&nbsp;If you save them again, then the next time it segfaults ...
<BR>
<P>3. With 1.0.2, I don't get as far as that. scanimage hangs forever.
<BR>
&nbsp;&nbsp;&nbsp;I tried getting some debug output for scanimage -L (the debug level 7
<BR>
&nbsp;&nbsp;&nbsp;is a guess):
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;% export SANE_DEBUG_CANON=7
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;% scanimage -L
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[sanei_init_debug]: Setting debug level of canon to 7.
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[canon] &gt;&gt; sane_init
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[canon] sane_init: sane 1.0.2
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[canon] &gt;&gt; attach_one
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[canon] &gt;&gt; attach
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[canon] attach: opening /dev/sgb
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[canon] attach: sending (standard) INQUIRY
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[canon] attach: sending TEST_UNIT_READY
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[canon] attach: sending RESERVE UNIT
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[canon] attach: sending GET SCAN MODE for scan control conditions
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[canon] attach: GET SCAN MODE for scan control conditions failed
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[canon] &lt;&lt; attach_one
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[canon] &lt;&lt; sane_init
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[canon] &gt;&gt; sane_get_devices
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[canon] &lt;&lt; sane_get_devices
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<BR>
&nbsp;&nbsp;&nbsp;The scanner does not appear to do anything.
<BR>
&nbsp;&nbsp;&nbsp;Obviously something was the matter with GET SCAN MODE but I don't know
<BR>
&nbsp;&nbsp;&nbsp;what that is. In any case, I don't think scanimage should hang...
<BR>
<P>Can someone please offer some pointers for either or both of these problems?
<BR>
<P>Thanks
<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;200004140357.UAA05444@panda.mostang.com&gt;">robin.kirkham@cmst.csiro.au</A> Phone: +61 3 9662-7756 Fax: +61 3 9662-7853
<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;200004140357.UAA05444@panda.mostang.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0141.html">Aaron Krowne: "epson 1200U woes"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0139.html">Wandered Inn: "Re: xscanimage on Gimp"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0248.html">Robin Kirkham: "Re: CanoScan 300 and sane-1.0.{1,2}"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0248.html">Robin Kirkham: "Re: CanoScan 300 and sane-1.0.{1,2}"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#140">[ date ]</A>
<A HREF="index.html#140">[ thread ]</A>
<A HREF="subject.html#140">[ subject ]</A>
<A HREF="author.html#140">[ 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>Thu Apr 13 2000 - 20:58:39 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>