sane-project-website/old-archive/1999-12/0112.html

66 wiersze
3.1 KiB
HTML

<!-- received="Thu Dec 16 23:50:49 1999 PST" -->
<!-- sent="Fri, 17 Dec 1999 02:49:33 -0500" -->
<!-- name="Matto Marjanovic" -->
<!-- email="maddog@mir.com" -->
<!-- subject="Linux sg and sense codes" -->
<!-- id="E11ys8r-0001uq-00@yoo-hoo.ai.mit.edu" -->
<!-- inreplyto="" -->
<title>sane-devel: Linux sg and sense codes</title>
<h1>Linux sg and sense codes</h1>
<b>Matto Marjanovic</b> (<a href="mailto:maddog@mir.com"><i>maddog@mir.com</i></a>)<br>
<i>Fri, 17 Dec 1999 02:49:33 -0500</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#112">[ date ]</a><a href="index.html#112">[ thread ]</a><a href="subject.html#112">[ subject ]</a><a href="author.html#112">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0113.html">Ing.Tomas RETT: "SN: What is SANE ?"</a>
<li> <b>Previous message:</b> <a href="0111.html">Hitchhiker [Christopher Sanner]: "plustek parallel port scanner..."</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0115.html">Douglas Gilbert: "Re: Linux sg and sense codes"</a>
<li> <b>Reply:</b> <a href="0115.html">Douglas Gilbert: "Re: Linux sg and sense codes"</a>
<li> <b>Reply:</b> <a href="0116.html">Matto Marjanovic: "Re: Linux sg and sense codes"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hiya, given all the new development in the Linux scsi architecture, I<br>
figured I'd ask about an old thorn in my side (which seems to have<br>
started poking me again recently).<br>
<p>
Older Microtek scanners, despite setting the "valid" bit of the first<br>
byte of the sense buffer, return sense codes which bear no relation<br>
to the SCSI-2 standard. A couple of years ago I figured out that<br>
this tended to really confuse the scsi system, which would sometimes<br>
retry commands on its own, and would inevitably *not* return the<br>
sense data to the backend without munging it up in some way.<br>
<p>
This is a real nuisance because some scanners try and need to report<br>
that they are busy in certain circumstances, but the message is<br>
always lost. The fact that the scsi system retries the commands on<br>
its own volition just compounds the problem.<br>
<p>
Do you know if anything has changed in this regard, or if there are<br>
any ways to circumvent this snag?<br>
<p>
Thanks,<br>
Matt M.<br>
(author of the microtek backend)<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0113.html">Ing.Tomas RETT: "SN: What is SANE ?"</a>
<li> <b>Previous message:</b> <a href="0111.html">Hitchhiker [Christopher Sanner]: "plustek parallel port scanner..."</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0115.html">Douglas Gilbert: "Re: Linux sg and sense codes"</a>
<li> <b>Reply:</b> <a href="0115.html">Douglas Gilbert: "Re: Linux sg and sense codes"</a>
<li> <b>Reply:</b> <a href="0116.html">Matto Marjanovic: "Re: Linux sg and sense codes"</a>
<!-- reply="end" -->
</ul>