kopia lustrzana https://gitlab.com/sane-project/website
186 wiersze
7.4 KiB
HTML
186 wiersze
7.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: Problem with SCSI Scanner on Irix 6.2</TITLE>
|
|
<META NAME="Author" CONTENT="Peter Kirchgessner (peter@kirchgessner.net)">
|
|
<META NAME="Subject" CONTENT="Re: Problem with SCSI Scanner on Irix 6.2">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: Problem with SCSI Scanner on Irix 6.2</H1>
|
|
<!-- received="Mon Jan 17 12:01:33 2000" -->
|
|
<!-- isoreceived="20000117200133" -->
|
|
<!-- sent="Mon, 17 Jan 2000 21:02:43 +0100" -->
|
|
<!-- isosent="20000117200243" -->
|
|
<!-- name="Peter Kirchgessner" -->
|
|
<!-- email="peter@kirchgessner.net" -->
|
|
<!-- subject="Re: Problem with SCSI Scanner on Irix 6.2" -->
|
|
<!-- id="38837563.2070AEFD@kirchgessner.net" -->
|
|
<!-- inreplyto="200001170928.BAA01937@axel.local" -->
|
|
<STRONG>From:</STRONG> Peter Kirchgessner (<A HREF="mailto:peter@kirchgessner.net?Subject=Re:%20Problem%20with%20SCSI%20Scanner%20on%20Irix%206.2&In-Reply-To=<38837563.2070AEFD@kirchgessner.net>"><EM>peter@kirchgessner.net</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Mon Jan 17 2000 - 12:02:43 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0123.html">Peter Kirchgessner: "Re: re-aligning? re-calibrating? an hp scanjet IIc"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0121.html">Oliver Rauch: "Re: language versions"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0119.html">David Paschal: "Re: Problem with SCSI Scanner on Irix 6.2"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0136.html">David Paschal: "Re: HP OfficeJet support (was: Problem with SCSI Scanner on Irix 6.2)"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0136.html">David Paschal: "Re: HP OfficeJet support (was: Problem with SCSI Scanner on Irix 6.2)"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#122">[ date ]</A>
|
|
<A HREF="index.html#122">[ thread ]</A>
|
|
<A HREF="subject.html#122">[ subject ]</A>
|
|
<A HREF="author.html#122">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Hello David,
|
|
<BR>
|
|
<P><P>David Paschal wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> > has someone running a HP Scanjet IIp (or another HP scanner) on Irix 6.2
|
|
</EM><BR>
|
|
<EM>> > ?
|
|
</EM><BR>
|
|
<EM>> > There is a problem with such a combination that the scanner is
|
|
</EM><BR>
|
|
<EM>> > recognized
|
|
</EM><BR>
|
|
<EM>> > during the SCSI INQUIRE command (vendor, model and firmware is read
|
|
</EM><BR>
|
|
<EM>> > back),
|
|
</EM><BR>
|
|
<EM>> > but the scanner does not give any response to other commands.
|
|
</EM><BR>
|
|
<EM>> > The TEST UNIT READY seems also to work.
|
|
</EM><BR>
|
|
<EM>> > Has someone encountered a similar problem on Irix and how was it solved
|
|
</EM><BR>
|
|
<EM>> > ?
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Hi, Peter. I don't know if this is related, but I had trouble with partial
|
|
</EM><BR>
|
|
<EM>> SCL responses when I was developing my experimental support for HP OfficeJets
|
|
</EM><BR>
|
|
<EM>> connected to HP JetDirect print servers (see <A HREF="http://www.ns.net/~paschal/sane">http://www.ns.net/~paschal/sane</A>).
|
|
</EM><BR>
|
|
<P><P>oops, seems that I have missed a lot on the mailing list. Did not know
|
|
<BR>
|
|
that these type of scanners even support SCL. I am currently thinking
|
|
<BR>
|
|
about enhancing the backend for 16bit support (there have been some
|
|
<BR>
|
|
patches before). Should I include your sources this time ?
|
|
<BR>
|
|
<P><P><EM>> There were situations where the device apparently split up the SCL response
|
|
</EM><BR>
|
|
<EM>> into different packets, which caused read() on the client to return only the
|
|
</EM><BR>
|
|
<EM>> first part.
|
|
</EM><BR>
|
|
<P>I would be glad if it would return anything.
|
|
<BR>
|
|
<P><EM>> This caused a great deal of confusion with the upper levels of
|
|
</EM><BR>
|
|
<EM>> the HP SCL backend, due to both the short initial response, and the remainder
|
|
</EM><BR>
|
|
<EM>> of the response, which was interpreted as a malformed response to a subsequent
|
|
</EM><BR>
|
|
<EM>> request. I solved these problems by adding a select-and-read loop to my I/O
|
|
</EM><BR>
|
|
<EM>> code, with support for different timeouts for the first and subsequent
|
|
</EM><BR>
|
|
<EM>> select()s. See hp_jdex_read() and hp_jdex_select() in hp-jdex.c.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Perhaps the ScanJetIIp/Irix6.2 problem is caused by a similar sensitivity
|
|
</EM><BR>
|
|
<EM>> in the HP backend to unusual timeout behaviour in the underlying OS, although
|
|
</EM><BR>
|
|
<EM>> it's strange that read() would return immediately with no data.
|
|
</EM><BR>
|
|
<P>We tried to wait 1 second after each write. But it was no success.
|
|
<BR>
|
|
<P><EM>> I wonder if
|
|
</EM><BR>
|
|
<EM>> the fd is somehow defaulting to non-blocking mode?
|
|
</EM><BR>
|
|
<P>Sounds that this is located in the sanei-part. I should have a look at
|
|
<BR>
|
|
it.
|
|
<BR>
|
|
The funny thing is, that the SCSI-INQUIRY command seems to work, because
|
|
<BR>
|
|
the vendor, model and firmware code is recognized. TEST UNIT READY also
|
|
<BR>
|
|
works (gives no error back). But the scanner does not answer any other
|
|
<BR>
|
|
command.
|
|
<BR>
|
|
<P><P><EM>> Just speculating aloud
|
|
</EM><BR>
|
|
<EM>> here...
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<P>Just listening and thinking about it.
|
|
<BR>
|
|
<P>Peter
|
|
<BR>
|
|
<P><EM>> David
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> --
|
|
</EM><BR>
|
|
<EM>> Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
|
</EM><BR>
|
|
<EM>> To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Problem%20with%20SCSI%20Scanner%20on%20Irix%206.2&In-Reply-To=<38837563.2070AEFD@kirchgessner.net>">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:%20Problem%20with%20SCSI%20Scanner%20on%20Irix%206.2&In-Reply-To=<38837563.2070AEFD@kirchgessner.net>">peter@kirchgessner.net</A>
|
|
<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:%20Problem%20with%20SCSI%20Scanner%20on%20Irix%206.2&In-Reply-To=<38837563.2070AEFD@kirchgessner.net>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0123.html">Peter Kirchgessner: "Re: re-aligning? re-calibrating? an hp scanjet IIc"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0121.html">Oliver Rauch: "Re: language versions"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0119.html">David Paschal: "Re: Problem with SCSI Scanner on Irix 6.2"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0136.html">David Paschal: "Re: HP OfficeJet support (was: Problem with SCSI Scanner on Irix 6.2)"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0136.html">David Paschal: "Re: HP OfficeJet support (was: Problem with SCSI Scanner on Irix 6.2)"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#122">[ date ]</A>
|
|
<A HREF="index.html#122">[ thread ]</A>
|
|
<A HREF="subject.html#122">[ subject ]</A>
|
|
<A HREF="author.html#122">[ 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>Mon Jan 17 2000 - 12:07:00 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|