sane-project-website/old-archive/1998-11/0109.html

95 wiersze
4.5 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Wed Nov 11 14:20:40 1998 PST" -->
<!-- sent="Wed, 11 Nov 1998 23:18:49 +0100" -->
<!-- name="Bernd Schroeder" -->
<!-- email="bernd@aquila.muc.de" -->
<!-- subject="Re: Blackwidow 4800SP is really..." -->
<!-- id="" -->
<!-- inreplyto="m0zdOxx-000q11C@yoo-hoo.ai.mit.edu" -->
<title>sane-devel: Re: Blackwidow 4800SP is really...</title>
<h1>Re: Blackwidow 4800SP is really...</h1>
<b>Bernd Schroeder</b> (<a href="mailto:bernd@aquila.muc.de"><i>bernd@aquila.muc.de</i></a>)<br>
<i>Wed, 11 Nov 1998 23:18:49 +0100</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#109">[ date ]</a><a href="index.html#109">[ thread ]</a><a href="subject.html#109">[ subject ]</a><a href="author.html#109">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0110.html">David Fox: "Polaroid SprintScan? Or Nikon Coolscan LS-2000?"</a>
<li> <b>Previous message:</b> <a href="0108.html">Yuri Dario: "Re: Scn2_90.zip &amp; 9a.zip"</a>
<li> <b>In reply to:</b> <a href="0099.html">Matto Marjanovic: "Re: Blackwidow 4800SP is really..."</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi,<br>
<p>
On Tue, Nov 10, 1998 at 08:21:01PM -0500, Matto Marjanovic wrote:<br>
<i>&gt; </i><br>
<i>&gt; ...</i><br>
<i>&gt; &gt;The problem here is that the vendor string is not unique, because</i><br>
<i>&gt; &gt;Microtek uses the same eight spaces as vendor id for their scanners.</i><br>
<i>&gt; ...</i><br>
<i>&gt; &gt;I also looked into the documentation for the devices that are supported</i><br>
<i>&gt; &gt;by the microtek(1) backend, and according to the specs, they return</i><br>
<i>&gt; &gt;some vendor specific ASCII string, starting at that position, so that this</i><br>
<i>&gt; &gt;check should be save.</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt;Nevertheless, I don't know whether it is actually the case, that an</i><br>
<i>&gt; &gt;ASCII string is always there (Matto ?).</i><br>
<i>&gt; </i><br>
<i>&gt; Nope, not always the case. Among others, the Microtek E6 has a blank</i><br>
<i>&gt; (8 spaces) vendor string. All-in-all, the microtek(1) backend looks</i><br>
<i>&gt; for a choice of five possible strings (one is "AGFA", the other four</i><br>
<i>&gt; are a variety of brain-dead Microtek options).</i><br>
<p>
Hhm, this seems to be a misunderstanding, I referred to the ASCII string<br>
starting at position 36.<br>
<p>
<i>&gt; It's a good idea to try to pick a bunch of characteristics that are</i><br>
<i>&gt; particular to your scanner command set and unlikely to be duplicated</i><br>
<i>&gt; in another scanner brand. The microtek(1) backend looks for:</i><br>
<p>
But what are these characteristics ? Until recently I thought, that the<br>
vendor string would uniquely identify a manufacturer, but the<br>
Artec/Blackwidow model shows that this is wrong. <br>
<p>
<i>&gt; o a valid vendor string (out of 5 options, including blank)</i><br>
<i>&gt; o a SCSI response format of 0x01 (which instantly knocks out</i><br>
<i>&gt; microtek(2) scanners).</i><br>
<i>&gt; o a valid model code, found in the microtek-specific byte #62.</i><br>
<p>
Reading the last line I think, that the best way to distinguish a<br>
Blackwidow from a Microtek device is to check for the model codes<br>
at byte 62 of the inquiry result ( microtek(1) ) and byte 36 ( microtek(2) ).<br>
<p>
For the Blackwidow all bytes beyond result[35] are equal to zero. As long <br>
as no other manufacturer uses a blank vendor string, these checks should<br>
be save.<br>
<p>
Of course, additional checks wouldn't hurt.<br>
<p>
(Chris, consider this as a response to your other mail, too).<br>
<p>
Bernd<br>
<p>
<pre>
--
Bernd Schroeder
Email: <a href="mailto:bernd@aquila.muc.de">mailto:bernd@aquila.muc.de</a>
PGP public key available: <a href="mailto:pgp@aquila.muc.de">mailto:pgp@aquila.muc.de</a> | Subject: send key
<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="0110.html">David Fox: "Polaroid SprintScan? Or Nikon Coolscan LS-2000?"</a>
<li> <b>Previous message:</b> <a href="0108.html">Yuri Dario: "Re: Scn2_90.zip &amp; 9a.zip"</a>
<li> <b>In reply to:</b> <a href="0099.html">Matto Marjanovic: "Re: Blackwidow 4800SP is really..."</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>