kopia lustrzana https://gitlab.com/sane-project/website
164 wiersze
6.1 KiB
HTML
164 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: Re: Epson 1200S: "[epson] ident failed"</TITLE>
|
|
<META NAME="Author" CONTENT="John Vickers (jvickers@dial.pipex.com)">
|
|
<META NAME="Subject" CONTENT="Re: Epson 1200S: "[epson] ident failed"">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: Epson 1200S: "[epson] ident failed"</H1>
|
|
<!-- received="Wed Jan 26 01:43:24 2000" -->
|
|
<!-- isoreceived="20000126094324" -->
|
|
<!-- sent="Wed, 26 Jan 2000 09:47:44 +0000" -->
|
|
<!-- isosent="20000126094744" -->
|
|
<!-- name="John Vickers" -->
|
|
<!-- email="jvickers@dial.pipex.com" -->
|
|
<!-- subject="Re: Epson 1200S: "[epson] ident failed"" -->
|
|
<!-- id="388EC2C0.E10BF594@dial.pipex.com" -->
|
|
<!-- inreplyto="388DEB26.17569F02@minnie.demon.co.uk" -->
|
|
<STRONG>From:</STRONG> John Vickers (<A HREF="mailto:jvickers@dial.pipex.com?Subject=Re:%20Epson%201200S:%20"[epson]%20ident%20failed"&In-Reply-To=<388EC2C0.E10BF594@dial.pipex.com>"><EM>jvickers@dial.pipex.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Wed Jan 26 2000 - 01:47:44 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0246.html">Heno Ivanov: "Canon FS2710 ?"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0244.html">John Vickers: "Re: Epson 1200S: "[epson] ident failed""</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0230.html">Dave Hill: "Re: Epson 1200S: "[epson] ident failed""</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0248.html">Karl Heinz Kremer: "Re: Epson 1200S: "[epson] ident failed""</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0244.html">John Vickers: "Re: Epson 1200S: "[epson] ident failed""</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#245">[ date ]</A>
|
|
<A HREF="index.html#245">[ thread ]</A>
|
|
<A HREF="subject.html#245">[ subject ]</A>
|
|
<A HREF="author.html#245">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Dave Hill wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Karl Heinz Kremer wrote:
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > On Mon, Jan 24, 2000 at 09:43:39AM +0000, John Vickers wrote:
|
|
</EM><BR>
|
|
<EM>> > > If I then do:
|
|
</EM><BR>
|
|
<EM>> > > /usr/local/bin/scanimage -v --device epson:/dev/scanner -T
|
|
</EM><BR>
|
|
<EM>> > > that also PASSes (scanner whirrs, etc), but only the first time I try it.
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > ... that's a known problem. You can only do this once and then you have to
|
|
</EM><BR>
|
|
<EM>> > reset the scanner. I don't have an idea yet why, but this is on my list
|
|
</EM><BR>
|
|
<EM>> > of things to work out. It's no real problem, because it only happens
|
|
</EM><BR>
|
|
<EM>> > when you use the -T switch, the "normal" scanning works just fine (at
|
|
</EM><BR>
|
|
<EM>> > least for me).
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> There are two problems here.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> One is that scanimage -T somehow leaves the scanner in a state
|
|
</EM><BR>
|
|
<EM>> that it will not respond to the "inquiry" command. I noticed
|
|
</EM><BR>
|
|
<EM>> this with my GT7000 but everything else worked OK.
|
|
</EM><BR>
|
|
<P><P>I found that the "initialise" command, issued just before the "inquiry"
|
|
<BR>
|
|
command also fails, but the status of the "initialise" command isn't
|
|
<BR>
|
|
tested
|
|
<BR>
|
|
in the snapshot or in 0.1.7
|
|
<BR>
|
|
<P>Are we leaving the scanner in a strange state, or the sg SCSI driver ?
|
|
<BR>
|
|
(I don't know).
|
|
<BR>
|
|
<P><P>
|
|
<BR>
|
|
<EM>> The second problem is the "segmentation fault". You will find
|
|
</EM><BR>
|
|
<EM>> that this will also happen if your scanner fails to identify
|
|
</EM><BR>
|
|
<EM>> itself for any reason (including being powered off 8-)).
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> The fix for this is as follows. Sorry I haven't downloaded the
|
|
</EM><BR>
|
|
<EM>> latest snapshot yet, but the attached diff is how I fixed
|
|
</EM><BR>
|
|
<EM>> Christian's 0.1.3 version.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> The reason for moving the lines is that if the dev_name is
|
|
</EM><BR>
|
|
<EM>> filled in, the sane main code assumes that the driver init'ed
|
|
</EM><BR>
|
|
<EM>> OK and all fields are valid. By deferring filling in the name
|
|
</EM><BR>
|
|
<EM>> until the end, that is the case!!
|
|
</EM><BR>
|
|
<P>I don't have the source in front of me, but it looks like the right idea.
|
|
<BR>
|
|
<P>A SEGV is always a bug. Anyone going to patch the snapshot ?
|
|
<BR>
|
|
<P>Maybe there should be an error message saying "Is your scanner powered on
|
|
<BR>
|
|
?"
|
|
<BR>
|
|
<P>John.
|
|
<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:%20Epson%201200S:%20"[epson]%20ident%20failed"&In-Reply-To=<388EC2C0.E10BF594@dial.pipex.com>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0246.html">Heno Ivanov: "Canon FS2710 ?"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0244.html">John Vickers: "Re: Epson 1200S: "[epson] ident failed""</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0230.html">Dave Hill: "Re: Epson 1200S: "[epson] ident failed""</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0248.html">Karl Heinz Kremer: "Re: Epson 1200S: "[epson] ident failed""</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0244.html">John Vickers: "Re: Epson 1200S: "[epson] ident failed""</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#245">[ date ]</A>
|
|
<A HREF="index.html#245">[ thread ]</A>
|
|
<A HREF="subject.html#245">[ subject ]</A>
|
|
<A HREF="author.html#245">[ 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>Wed Jan 26 2000 - 01:44:56 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|