sane-project-website/old-archive/2000-01/0102.html

186 wiersze
6.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: More info on my HP Scanjet IIp prob.</TITLE>
<META NAME="Author" CONTENT="Peter Kirchgessner (peter@kirchgessner.net)">
<META NAME="Subject" CONTENT="Re: More info on my HP Scanjet IIp prob.">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: More info on my HP Scanjet IIp prob.</H1>
<!-- received="Sun Jan 16 10:51:41 2000" -->
<!-- isoreceived="20000116185141" -->
<!-- sent="Sun, 16 Jan 2000 13:58:29 +0100" -->
<!-- isosent="20000116125829" -->
<!-- name="Peter Kirchgessner" -->
<!-- email="peter@kirchgessner.net" -->
<!-- subject="Re: More info on my HP Scanjet IIp prob." -->
<!-- id="3881C075.9727853E@kirchgessner.net" -->
<!-- inreplyto="38807EC9.2F4A5D8C@algroup.co.uk" -->
<STRONG>From:</STRONG> Peter Kirchgessner (<A HREF="mailto:peter@kirchgessner.net?Subject=Re:%20More%20info%20on%20my%20HP%20Scanjet%20IIp%20prob.&In-Reply-To=&lt;3881C075.9727853E@kirchgessner.net&gt;"><EM>peter@kirchgessner.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Jan 16 2000 - 04:58:29 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0103.html">Oliver Rauch: "Re: 8-bit vs 12-bit"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0101.html">Oliver Rauch: "Re: xsane-0.50"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0077.html">Ben Laurie: "Re: More info on my HP Scanjet IIp prob."</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#102">[ date ]</A>
<A HREF="index.html#102">[ thread ]</A>
<A HREF="subject.html#102">[ subject ]</A>
<A HREF="author.html#102">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Ben Laurie wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Peter Kirchgessner wrote:
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Hello Nicholas,
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; it seems that the scanner does not respond to some of the very first
</EM><BR>
<EM>&gt; &gt; inquire commands. It recognized as an HP scanner because otherwise it
</EM><BR>
<EM>&gt; &gt; would have failed earlier.
</EM><BR>
<EM>&gt; &gt; Maybe it is a timing problem.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; This doesn't seem quite right coz...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt; &gt; [hp] scsi_inquire: sending INQUIRE
</EM><BR>
<EM>&gt; &gt; &gt; [hp] scsi_new: sending TEST_UNIT_READY
</EM><BR>
<EM>&gt; &gt; &gt; [hp] scsi_flush: writing 2 bytes:
</EM><BR>
<EM>&gt; &gt; &gt; 0x0000 1B 45 .E
</EM><BR>
<EM>&gt; &gt; &gt; [hp] scsi_flush: writing 7 bytes:
</EM><BR>
<EM>&gt; &gt; &gt; 0x0000 1B 2A 73 32 35 37 45 .*s257E
</EM><BR>
<EM>&gt; &gt; &gt; [hp] scsi_read: 0 bytes:
</EM><BR>
<EM>&gt; &gt; &gt; [hp] scl_inq: malformed response: expected 's257d', got ''
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Here it appears to test for the version, and gets s257E instead of
</EM><BR>
<EM>&gt; s257d, and then...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt; &gt; [hp] scl_errcheck: Can't read SCL error stack: Error during device I/O
</EM><BR>
<EM>&gt; &gt; &gt; [hp] sanei_hp_device_new: SCL reset failed
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; erroneously goes on to treat it as a SCSI error.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Cheers,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Ben.
</EM><BR>
<EM>&gt;
</EM><BR>
<P>Hello,
<BR>
<P>it is a little bit more complicated. The .E is the &lt;ESC&gt;E reset-command
<BR>
which is send to the scanner. The next command sent is &lt;ESC&gt;*s257E
<BR>
(inquire current error stack). The writing routines do not report an
<BR>
error. The scanner then should respond with &lt;ESC&gt;*s257d&lt;value&gt;V with
<BR>
&lt;value&gt; as 0 or 1. But the read routine returned with 0 bytes read. That
<BR>
is unusual and is treated as an I/O-error. Therefore I thought it would
<BR>
be a timing problem.
<BR>
<P>--Peter
<BR>
<P><EM>&gt; --
</EM><BR>
<EM>&gt; SECURE HOSTING AT THE BUNKER! <A HREF="http://www.thebunker.net/hosting.htm">http://www.thebunker.net/hosting.htm</A>
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; <A HREF="http://www.apache-ssl.org/ben.html">http://www.apache-ssl.org/ben.html</A>
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &quot;My grandfather once told me that there are two kinds of people: those
</EM><BR>
<EM>&gt; who work and those who take the credit. He told me to try to be in the
</EM><BR>
<EM>&gt; first group; there was less competition there.&quot;
</EM><BR>
<EM>&gt; - Indira Gandhi
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20More%20info%20on%20my%20HP%20Scanjet%20IIp%20prob.&In-Reply-To=&lt;3881C075.9727853E@kirchgessner.net&gt;">majordomo@mostang.com</A>
</EM><BR>
<P><PRE>
--
Peter Kirchgessner
WWW: <A HREF="http://www.kirchgessner.net">http://www.kirchgessner.net</A>
e-mail: <A HREF="mailto:peter@kirchgessner.net?Subject=Re:%20More%20info%20on%20my%20HP%20Scanjet%20IIp%20prob.&In-Reply-To=&lt;3881C075.9727853E@kirchgessner.net&gt;">peter@kirchgessner.net</A>
<P><P><P>--
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:%20More%20info%20on%20my%20HP%20Scanjet%20IIp%20prob.&In-Reply-To=&lt;3881C075.9727853E@kirchgessner.net&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0103.html">Oliver Rauch: "Re: 8-bit vs 12-bit"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0101.html">Oliver Rauch: "Re: xsane-0.50"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0077.html">Ben Laurie: "Re: More info on my HP Scanjet IIp prob."</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#102">[ date ]</A>
<A HREF="index.html#102">[ thread ]</A>
<A HREF="subject.html#102">[ subject ]</A>
<A HREF="author.html#102">[ 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>Sun Jan 16 2000 - 10:53:05 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>