kopia lustrzana https://gitlab.com/sane-project/website
85 wiersze
4.2 KiB
HTML
85 wiersze
4.2 KiB
HTML
<!-- received="Wed May 7 17:14:56 1997 MST" -->
|
|
<!-- sent="Thu, 8 May 1997 01:50:01 +0200" -->
|
|
<!-- name="Thomas Blume" -->
|
|
<!-- email="mblum1@nightshift.uni-paderborn.de" -->
|
|
<!-- subject="Mustek/Request-sense problems -> Solution?" -->
|
|
<!-- id="199705072350.BAA02959@nightshift.uni-paderborn.de" -->
|
|
<!-- inreplyto="" -->
|
|
<title>sane-devel: Mustek/Request-sense problems -> Solution?</title>
|
|
<h1>Mustek/Request-sense problems -> Solution?</h1>
|
|
<b>Thomas Blume</b> (<a href="mailto:mblum1@nightshift.uni-paderborn.de"><i>mblum1@nightshift.uni-paderborn.de</i></a>)<br>
|
|
<i>Thu, 8 May 1997 01:50:01 +0200</i>
|
|
<p>
|
|
<ul>
|
|
<li> <b>Messages sorted by:</b> <a href="date.html#124">[ date ]</a><a href="index.html#124">[ thread ]</a><a href="subject.html#124">[ subject ]</a><a href="author.html#124">[ author ]</a>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0125.html">David Mosberger-Tang: "Re: Mustek/Request-sense problems -> Solution?"</a>
|
|
<li> <b>Previous message:</b> <a href="0123.html">David Mosberger-Tang: "avoiding scanner damage"</a>
|
|
<!-- nextthread="start" -->
|
|
<li> <b>Next in thread:</b> <a href="0125.html">David Mosberger-Tang: "Re: Mustek/Request-sense problems -> Solution?"</a>
|
|
<li> <b>Reply:</b> <a href="0125.html">David Mosberger-Tang: "Re: Mustek/Request-sense problems -> Solution?"</a>
|
|
<li> <b>Maybe reply:</b> <a href="0126.html">Thomas Blume: "Re: Mustek/Request-sense problems -> Solution?"</a>
|
|
<li> <b>Maybe reply:</b> <a href="0131.html">Thomas Blume: "Re: Mustek/Request-sense problems -> Solution?"</a>
|
|
<!-- reply="end" -->
|
|
</ul>
|
|
<!-- body="start" -->
|
|
Hello,<br>
|
|
<p>
|
|
while experimenting with MFS-1200SP (1.02)/ Adaptec 1542C / Linux 2.0.29 /<br>
|
|
sane-0.56 I noticed some problems with the sense checking in<br>
|
|
mustek.c.<br>
|
|
<p>
|
|
Since I could not start any scan because of sense errors (0x8),<br>
|
|
I had to walk through the code.<br>
|
|
<p>
|
|
In mustek.c request_sense is called explicitly after some commands as<br>
|
|
indicated in Mustek's Control-Flow document. As far as I understand<br>
|
|
the SCSI drafts (SCSI-1, SCSI-2) the sense data are valid only for a<br>
|
|
limited number of cases, e.g. the command prior to request_sense returns<br>
|
|
CHECK_CONDITION. These cases are handled already by the low-level<br>
|
|
drivers in the kernel, so the additional request_sense issued by<br>
|
|
mustek.c cannot be guaranteed to retrieve valid sense data.<br>
|
|
<p>
|
|
At least with the above mentioned combo scanning (NOT color scanning)<br>
|
|
works perfectly after inserting a dummy routine instead of<br>
|
|
request_sense.<br>
|
|
<p>
|
|
<p>
|
|
Maybe a function for parsing sense data should be hooked directly to<br>
|
|
sanei_scsi_cmd, or the valid bit of sense data should be checked.<br>
|
|
<p>
|
|
Please fix me if I'm wrong, but since it works for me now, I suspect,<br>
|
|
that the additional request_sense was in fact the source for my<br>
|
|
problems.<br>
|
|
<p>
|
|
Hope, this helps,<br>
|
|
<p>
|
|
<p>
|
|
Thomas<br>
|
|
<p>
|
|
<p>
|
|
<pre>
|
|
--
|
|
Thomas Blume <<a href="mailto:mblum1@hrz.uni-paderborn.de">mblum1@hrz.uni-paderborn.de</a>>
|
|
Technische Chemie und Chemische Verfahrenstechnik, UNI-GH-Paderborn
|
|
Tel.: +49 5251 602598 Fax: +49 5251 603244
|
|
<p>
|
|
<pre>
|
|
--
|
|
Source code, list archive, and docs: <a href="http://www.azstarnet.com/~axplinux/sane/">http://www.azstarnet.com/~axplinux/sane/</a>
|
|
To unsubscribe: mail -s unsubscribe <a href="mailto:sane-devel-request@listserv.azstarnet.com">sane-devel-request@listserv.azstarnet.com</a>
|
|
</pre>
|
|
<!-- body="end" -->
|
|
<p>
|
|
<ul>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0125.html">David Mosberger-Tang: "Re: Mustek/Request-sense problems -> Solution?"</a>
|
|
<li> <b>Previous message:</b> <a href="0123.html">David Mosberger-Tang: "avoiding scanner damage"</a>
|
|
<!-- nextthread="start" -->
|
|
<li> <b>Next in thread:</b> <a href="0125.html">David Mosberger-Tang: "Re: Mustek/Request-sense problems -> Solution?"</a>
|
|
<li> <b>Reply:</b> <a href="0125.html">David Mosberger-Tang: "Re: Mustek/Request-sense problems -> Solution?"</a>
|
|
<li> <b>Maybe reply:</b> <a href="0126.html">Thomas Blume: "Re: Mustek/Request-sense problems -> Solution?"</a>
|
|
<li> <b>Maybe reply:</b> <a href="0131.html">Thomas Blume: "Re: Mustek/Request-sense problems -> Solution?"</a>
|
|
<!-- reply="end" -->
|
|
</ul>
|