sane-project-website/old-archive/2001-04/0041.html

168 wiersze
6.6 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: Microtek ScanMaker E3 Plus - Parallel Port - wo</TITLE>
<META NAME="Author" CONTENT="Adam Benjamin (aebenjam@opentext.com)">
<META NAME="Subject" CONTENT="RE: Microtek ScanMaker E3 Plus - Parallel Port - working!">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>RE: Microtek ScanMaker E3 Plus - Parallel Port - working!</H1>
<!-- received="Thu Apr 5 07:38:07 2001" -->
<!-- isoreceived="20010405143807" -->
<!-- sent="Thu, 5 Apr 2001 10:53:52 -0400 (EDT)" -->
<!-- isosent="20010405145352" -->
<!-- name="Adam Benjamin" -->
<!-- email="aebenjam@opentext.com" -->
<!-- subject="RE: Microtek ScanMaker E3 Plus - Parallel Port - working!" -->
<!-- id="Pine.LNX.4.30.0104051045500.18191-100000@drteeth.opentext.com" -->
<!-- inreplyto="XFMail.010405140325.mpol@gmx.net" -->
<STRONG>From:</STRONG> Adam Benjamin (<A HREF="mailto:aebenjam@opentext.com?Subject=RE:%20Microtek%20ScanMaker%20E3%20Plus%20-%20Parallel%20Port%20-%20working!&In-Reply-To=&lt;Pine.LNX.4.30.0104051045500.18191-100000@drteeth.opentext.com&gt;"><EM>aebenjam@opentext.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Apr 05 2001 - 07:53:52 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0042.html">scc: "Re: pers.: Re: Xsane build problems"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0040.html">Wulp, Kees van der: "connecting a digital camera to SGI O2"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0034.html">Marcel Pol: "RE: Microtek ScanMaker E3 Plus - Parallel Port - working!"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0045.html">Karsten Festag: "Re: Microtek ScanMaker E3 Plus - Parallel Port - working!"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0045.html">Karsten Festag: "Re: Microtek ScanMaker E3 Plus - Parallel Port - working!"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#41">[ date ]</A>
<A HREF="index.html#41">[ thread ]</A>
<A HREF="subject.html#41">[ subject ]</A>
<A HREF="author.html#41">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
<EM>&gt; &gt; Step 1: Get your scanner working/visible as a SCSI device under
</EM><BR>
<EM>&gt; &gt; Linux.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; This is also written in the Sane-Faq:
</EM><BR>
<EM>&gt; <A HREF="http://www.xs4all.nl/~ljm/SANE-faq.html">http://www.xs4all.nl/~ljm/SANE-faq.html</A>
</EM><BR>
<EM>&gt; I guess you didn't find it?
</EM><BR>
<P>Actually, I did find various pieces I posted in various places. I
<BR>
simply wanted to put it all in one document specifically for the
<BR>
E3Plus. (I forget where all I searched but I went through a few
<BR>
different mailing lists including this one and never found evidence
<BR>
that someone had success.) My own research took me to the
<BR>
scsi-over-parallel patch pretty quickly, but it was a little ambiguous
<BR>
as to which the most recent one was - hence my inclusion of the
<BR>
information.
<BR>
<P><EM>&gt; If I remember correctly, some time ago someone used also a scanner with
</EM><BR>
<EM>&gt; modelcode 90, but after patching the backend, it still didn't work.
</EM><BR>
<EM>&gt; Maybe that's the reason it was left out of the backend. Because there
</EM><BR>
<EM>&gt; were other issues with this backend.
</EM><BR>
<P>Not sure. My assumption was that they had already coded the
<BR>
instructions for the E3+ and I knew mine was an E3+ - hence it seemed
<BR>
safe to kludge mine to being recognized as model code 92. I would
<BR>
also guess that this is not necessarily safe in the general case as
<BR>
perhaps there are other model code 90 Microtek2 scanners that are not
<BR>
E3+.
<BR>
<P><P><EM>&gt; &gt; + case 0x90:
</EM><BR>
<EM>&gt; &gt; + mi-&gt;model_code = 0x92;
</EM><BR>
<EM>&gt; &gt; + *model_string = &quot;E3+ / Vobis HighScan&quot;;
</EM><BR>
<EM>&gt; &gt; + break;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I'm no programmer, so maybe this is a stupid question, but the line:
</EM><BR>
<EM>&gt; &gt; + mi-&gt;model_code = 0x92;
</EM><BR>
<EM>&gt; What does it do?
</EM><BR>
<P>As above - I said, &quot;since you think this is model code 0x90 (the case
<BR>
statement) then pretend it's really model code 0x92 (the line you
<BR>
asked about) and set the model_string ...&quot; Hence the code continued
<BR>
on thinking it had really found model code 0x92 - which the code was
<BR>
commented as thinking was an E3+.
<BR>
<P><EM>&gt; In the source file this line is not set at the other models. Could it be
</EM><BR>
<EM>&gt; that this makes a difference in functionality?
</EM><BR>
<P>I'm not sure I understand your question. If you mean &quot;Was there
<BR>
anything assigned to model code 0x90?&quot; the answer was No. That value
<BR>
was not recognized - hence the I/O error reported by the backend. (It
<BR>
didn't know how to talk to any scanner listed.)
<BR>
<P>Hope that helps,
<BR>
<P>Adam Benjamin
<BR>
Systems Administrator
<BR>
Open Text Corporation
<BR>
<P><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:%20Microtek%20ScanMaker%20E3%20Plus%20-%20Parallel%20Port%20-%20working!&In-Reply-To=&lt;Pine.LNX.4.30.0104051045500.18191-100000@drteeth.opentext.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0042.html">scc: "Re: pers.: Re: Xsane build problems"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0040.html">Wulp, Kees van der: "connecting a digital camera to SGI O2"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0034.html">Marcel Pol: "RE: Microtek ScanMaker E3 Plus - Parallel Port - working!"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0045.html">Karsten Festag: "Re: Microtek ScanMaker E3 Plus - Parallel Port - working!"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0045.html">Karsten Festag: "Re: Microtek ScanMaker E3 Plus - Parallel Port - working!"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#41">[ date ]</A>
<A HREF="index.html#41">[ thread ]</A>
<A HREF="subject.html#41">[ subject ]</A>
<A HREF="author.html#41">[ 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 05 2001 - 07:38:31 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>