sane-project-website/old-archive/1998-05/0071.html

93 wiersze
4.8 KiB
HTML

<!-- received="Wed May 6 23:07:24 1998 PDT" -->
<!-- sent="Wed, 6 May 1998 13:07:49 +0200 (MET DST)" -->
<!-- name="Rogier Wolff" -->
<!-- email="R.E.Wolff@BitWizard.nl" -->
<!-- subject="Re: Microtek E6 - mode_sense_1 problem" -->
<!-- id="199805061107.NAA02761@cave.BitWizard.nl" -->
<!-- inreplyto="19980506062808.A20512@ct.picker.com" -->
<title>sane-devel: Re: Microtek E6 - mode_sense_1 problem</title>
<h1>Re: Microtek E6 - mode_sense_1 problem</h1>
<b>Rogier Wolff</b> (<a href="mailto:R.E.Wolff@BitWizard.nl"><i>R.E.Wolff@BitWizard.nl</i></a>)<br>
<i>Wed, 6 May 1998 13:07:49 +0200 (MET DST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#71">[ date ]</a><a href="index.html#71">[ thread ]</a><a href="subject.html#71">[ subject ]</a><a href="author.html#71">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0072.html">Donald Burr: "[umax] using custom gamma table dumps core"</a>
<li> <b>Previous message:</b> <a href="0070.html">Paul D. Robertson: "Re: [umax] Can't use 10-bit scan: "preview cannot handle depth 16""</a>
<li> <b>In reply to:</b> <a href="0057.html">Randall Hopper: "Re: Microtek E6 - mode_sense_1 problem"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Randall Hopper wrote:<br>
<i>&gt; </i><br>
<i>&gt; </i><br>
<i>&gt; --mYCpIKhGyMATD0i+</i><br>
<i>&gt; Content-Type: text/plain; charset=us-ascii</i><br>
<i>&gt; </i><br>
<i>&gt; Matto Marjanovic:</i><br>
<i>&gt; |Short answer: The latest version of the backend (0.7, available from</i><br>
<i>&gt; | the backend webpage "<a href="http://www.mir.com/mtek/">http://www.mir.com/mtek/</a>", and sent upstream for</i><br>
<i>&gt; | inclusion on SANE-0.73) has MODE_SENSE_1 disabled, so that problem</i><br>
<i>&gt; | should disappear for the time being.</i><br>
<i>&gt; </i><br>
<i>&gt; Ok.</i><br>
<i>&gt; </i><br>
<i>&gt; One other piece of useful info. Here's what the NCR driver says about that</i><br>
<i>&gt; "extraneous data discarded" message that's being printed when the</i><br>
<i>&gt; MODE_SENSE_1 cmd is issued:</i><br>
<i>&gt; </i><br>
<i>&gt; ** The target wants to tranfer too much data</i><br>
<i>&gt; ** or in the wrong direction.</i><br>
<i>&gt; ** Remember that in extended error.</i><br>
<i>&gt; </i><br>
<i>&gt; (The internal error is XE_EXTRA_DATA.)</i><br>
<i>&gt; </i><br>
<i>&gt; |Long answer: MODE_SENSE_1 used to cause problems for folks using Solaris,</i><br>
<i>&gt; | because apparently the Solaris scsi driver insisted that this was some</i><br>
<i>&gt; | command reserved for tape drives. Why and how it is causing problems for</i><br>
<i>&gt; | FreeBSD I don't know, this is a new complaint. I am curious, however,</i><br>
<i>&gt; | to know why (if you feel like poking around even more), and I would very</i><br>
<i>&gt; | much appreciate it if you sent me an INQUIRY dump from the Microtek backend</i><br>
<i>&gt; | so that I can compare firmware revisions/etc between your E6 and mine.</i><br>
<i>&gt; | Is it some scsi driver quirk, or is the scanner complaining? The big Q.</i><br>
<i>&gt; </i><br>
<i>&gt; Right, I'm also interested in what's really going on. It's a good excuse</i><br>
<i>&gt; to get in there and dig around anyway. :-)</i><br>
<p>
What I know about this issue is that the linux ncr8xx driver (ported<br>
from BSD) is sensitive to the "device wants to send more data than I<br>
expected". The other ncr7xx/8xx driver doesn't notice this. <br>
<p>
Thus using the ncr8xx driver proved helpful in figuring out how many<br>
bytes the scanner actually wanted to send. By carefully examining the<br>
logs I was able to determine where things went wrong, and determining<br>
where I had mis-read the specs. <br>
<p>
Roger. <br>
<p>
<p>
<pre>
--
If it's there and you can see it, it's REAL <a href="mailto:|___R.E.Wolff@BitWizard.nl">|___R.E.Wolff@BitWizard.nl</a> |
If it's there and you can't see it, it's TRANSPARENT | Tel: +31-15-2137555 |
If it's not there and you can see it, it's VIRTUAL |__FAX:_+31-15-2138217 |
If it's not there and you can't see it, it's GONE! -- Roy Wilks, 1983 |_____|
<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0072.html">Donald Burr: "[umax] using custom gamma table dumps core"</a>
<li> <b>Previous message:</b> <a href="0070.html">Paul D. Robertson: "Re: [umax] Can't use 10-bit scan: "preview cannot handle depth 16""</a>
<li> <b>In reply to:</b> <a href="0057.html">Randall Hopper: "Re: Microtek E6 - mode_sense_1 problem"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>