kopia lustrzana https://gitlab.com/sane-project/website
174 wiersze
6.7 KiB
HTML
174 wiersze
6.7 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: HP backend problem...</TITLE>
|
|
<META NAME="Author" CONTENT="Douglas Gilbert (dgilbert@interlog.com)">
|
|
<META NAME="Subject" CONTENT="Re: HP backend problem...">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: HP backend problem...</H1>
|
|
<!-- received="Wed Aug 23 19:54:46 2000" -->
|
|
<!-- isoreceived="20000824025446" -->
|
|
<!-- sent="Wed, 23 Aug 2000 23:08:42 -0400" -->
|
|
<!-- isosent="20000824030842" -->
|
|
<!-- name="Douglas Gilbert" -->
|
|
<!-- email="dgilbert@interlog.com" -->
|
|
<!-- subject="Re: HP backend problem..." -->
|
|
<!-- id="39A491BA.4D4E21AD@interlog.com" -->
|
|
<!-- inreplyto="200008231905.OAA09061@scotty.petersohn.net" -->
|
|
<STRONG>From:</STRONG> Douglas Gilbert (<A HREF="mailto:dgilbert@interlog.com?Subject=Re:%20HP%20backend%20problem...&In-Reply-To=<39A491BA.4D4E21AD@interlog.com>"><EM>dgilbert@interlog.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Wed Aug 23 2000 - 20:08:42 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0213.html">Johan Bengtsson: "Re: lamp control for umax scanners"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0211.html">dicknskp: "Microtek2 and Sane"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0209.html">Jens Petersohn: "Re: HP backend problem..."</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0217.html">Jens Petersohn: "Re: HP backend problem..."</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0217.html">Jens Petersohn: "Re: HP backend problem..."</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#212">[ date ]</A>
|
|
<A HREF="index.html#212">[ thread ]</A>
|
|
<A HREF="subject.html#212">[ subject ]</A>
|
|
<A HREF="author.html#212">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Jens Petersohn wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Hi all,
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> problem found (and a tale of woe)!
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> For several years I've shared the SCSI scanner between two computers,
|
|
</EM><BR>
|
|
<EM>> my wife's and mine. My wife has an Adaptec 152x card set to SCSI ID 7
|
|
</EM><BR>
|
|
<EM>> and my computer has an Adaptec 2940 (1.23) set to ID 6. The scanner
|
|
</EM><BR>
|
|
<EM>> is set to ID 2 (there is also a tape drive on ID 5).
|
|
</EM><BR>
|
|
<EM>> This worked fine, running Win95 on my wife's system and Linux 2.0.36
|
|
</EM><BR>
|
|
<EM>> on mine (and a really early version of SANE, 0.71 I think).
|
|
</EM><BR>
|
|
<EM>> Then, sometime last year, I upgraded my system to the 2.2.14 kernel
|
|
</EM><BR>
|
|
<EM>> plus all the user mode stuff, but didn't get around to installing
|
|
</EM><BR>
|
|
<EM>> a new version of SANE. When I finally did install SANE, I started to
|
|
</EM><BR>
|
|
<EM>> have the corrupted image problem that I had documented in an earlier
|
|
</EM><BR>
|
|
<EM>> email, thinking the problem had to be SANE or the SCSI subsystem in
|
|
</EM><BR>
|
|
<EM>> the 2.2.14 kernel. Based on this assumption I build kernels with
|
|
</EM><BR>
|
|
<EM>> all sorts of versions of the sg driver (including the new V3) and
|
|
</EM><BR>
|
|
<EM>> lots of versions of the AIC driver. Nothing worked. I never suspected
|
|
</EM><BR>
|
|
<EM>> that the problem might be caused by my wife's computer (which had
|
|
</EM><BR>
|
|
<EM>> been upgraded to Win98 somewhere along the way).
|
|
</EM><BR>
|
|
<EM>> Finally, in desperation, I shut off my wife's computer, and voila,
|
|
</EM><BR>
|
|
<EM>> the problem disappeared. Armed with that information, I quickly
|
|
</EM><BR>
|
|
<EM>> tracked down the culprit, STIMON.EXE. STIMON.EXE (the WDM StillImage-
|
|
</EM><BR>
|
|
<EM>> Monitor) queries the scanner every so often (about every 100 ms as
|
|
</EM><BR>
|
|
<EM>> far as I am able to determine). The scanner firmware however
|
|
</EM><BR>
|
|
<EM>> seems to be a strickly sequence/task oriented piece of software
|
|
</EM><BR>
|
|
<EM>> that could not deal with the fact that a query would be arriving
|
|
</EM><BR>
|
|
<EM>> from a different SCSI ID while a scan was initated and in progress
|
|
</EM><BR>
|
|
<EM>> from another SCSI ID. Disabling STIMON.EXE solved the problem on
|
|
</EM><BR>
|
|
<EM>> the Linux side, but disabled the scanning capability on the Windows
|
|
</EM><BR>
|
|
<EM>> machine. Turns out though, the Control Panel applet for Cameras and
|
|
</EM><BR>
|
|
<EM>> Scanners on Windows allows you to disable "Device Event Messages".
|
|
</EM><BR>
|
|
<EM>> With this disabled, I could run STIMON.EXE again and scan from both
|
|
</EM><BR>
|
|
<EM>> Windows and Linux without problems.
|
|
</EM><BR>
|
|
<EM>> Interesting side note: The firmware of the scanner crashes completely
|
|
</EM><BR>
|
|
<EM>> if two hosts attempt to scan simultaniously. It seems to need a
|
|
</EM><BR>
|
|
<EM>> power cycle to resurrect it.
|
|
</EM><BR>
|
|
<P>Well it was a miracle it worked in the first place!
|
|
<BR>
|
|
1) Linux thinks it is the only initiator on a SCSI bus
|
|
<BR>
|
|
2) W95 + W98 most likely make the same assumption
|
|
<BR>
|
|
3) The SCSI scanners I've played with have particularly
|
|
<BR>
|
|
bad target implementations prone to lock up at the
|
|
<BR>
|
|
first sign of an irregularity
|
|
<BR>
|
|
<P>Interesting that you tracked down the problem. To my knowledge
|
|
<BR>
|
|
the SANE program doesn't poll the scanner. It is possible
|
|
<BR>
|
|
that a polling strategy could be used to detect a user
|
|
<BR>
|
|
pressing the scan button on those scanners thus equipped.
|
|
<BR>
|
|
<P>Doug Gilbert
|
|
<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:%20HP%20backend%20problem...&In-Reply-To=<39A491BA.4D4E21AD@interlog.com>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0213.html">Johan Bengtsson: "Re: lamp control for umax scanners"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0211.html">dicknskp: "Microtek2 and Sane"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0209.html">Jens Petersohn: "Re: HP backend problem..."</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0217.html">Jens Petersohn: "Re: HP backend problem..."</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0217.html">Jens Petersohn: "Re: HP backend problem..."</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#212">[ date ]</A>
|
|
<A HREF="index.html#212">[ thread ]</A>
|
|
<A HREF="subject.html#212">[ subject ]</A>
|
|
<A HREF="author.html#212">[ 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 Aug 23 2000 - 19:55:33 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|