kopia lustrzana https://gitlab.com/sane-project/website
70 wiersze
3.3 KiB
HTML
70 wiersze
3.3 KiB
HTML
<!-- received="Mon Nov 9 18:11:51 1998 PST" -->
|
|
<!-- sent="Mon, 9 Nov 1998 21:11:49 -0500 (EST)" -->
|
|
<!-- name="Chris Pinkham" -->
|
|
<!-- email="cpinkham@infi.net" -->
|
|
<!-- subject="Re: Blackwidow 4800SP is really..." -->
|
|
<!-- id="199811100211.VAA00968@panther.panther.net" -->
|
|
<!-- inreplyto="19981109230556.3334.qmail@aquila.muc.de" -->
|
|
<title>sane-devel: Re: Blackwidow 4800SP is really...</title>
|
|
<h1>Re: Blackwidow 4800SP is really...</h1>
|
|
<b>Chris Pinkham</b> (<a href="mailto:cpinkham@infi.net"><i>cpinkham@infi.net</i></a>)<br>
|
|
<i>Mon, 9 Nov 1998 21:11:49 -0500 (EST)</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">Neil Zampella: "Re: Sane v.74 for OS/2 and Acer Prism SCSI"</a>
|
|
<li> <b>Previous message:</b> <a href="0070.html">Bernd Schroeder: "Re: Blackwidow 4800SP is really..."</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|
|
<!-- body="start" -->
|
|
<SNIP bunch of stuff about the BlackWidow BW4800SP being a rebadged Artec<br>
|
|
AT3 with a blank vendor string> :-)<br>
|
|
<p>
|
|
<i>> The problem here is that the vendor string is not unique, because</i><br>
|
|
<i>> Microtek uses the same eight spaces as vendor id for their scanners.</i><br>
|
|
<i>> </i><br>
|
|
<i>> From the point of view of the the microtek2 backend it would be best to</i><br>
|
|
<i>> check for "result + 36 == 0x00", because microtek2 expects a</i><br>
|
|
<i>> model code !=0 at this position.</i><br>
|
|
<i>> </i><br>
|
|
<i>> Bernd</i><br>
|
|
<p>
|
|
This is the current code that I have, I hadn't put in the check for position<br>
|
|
36, but did once you mentioned it. This is probably a bit over-checking, but<br>
|
|
if I find it too restrictive I can loosen it up some.<br>
|
|
<p>
|
|
if ((result[0] == 0x6 ) &&<br>
|
|
(strncmp (result + 32, "1.90", 4 ) == 0 ) &&<br>
|
|
(result[36] == 0x00 ) &&<br>
|
|
(strncmp (result + 8, " ", 8 ) == 0 ) &&<br>
|
|
(strncmp (result + 16, "Flatbed Scanner ", 16 ) == 0 ))<br>
|
|
{<br>
|
|
DBG( 4, "Found BlackWidow BW4800SP scanner, setting up like AT3\n" );<br>
|
|
<p>
|
|
The BlackWidow BW4800SP had the same firmware revision as my AT3 (v1.90) so<br>
|
|
I coded in that check for now.<br>
|
|
<p>
|
|
Chris<br>
|
|
<p>
|
|
*****************************************************************************<br>
|
|
** Chris Pinkham Linux v2.0.35, Sane v0.74, GIMP v1.0 **<br>
|
|
** <a href="mailto:cpinkham@sh001.infi.net">cpinkham@sh001.infi.net</a> <a href="http://www4.infi.net/~cpinkham/">http://www4.infi.net/~cpinkham/</a> **<br>
|
|
*****************************************************************************<br>
|
|
<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">Neil Zampella: "Re: Sane v.74 for OS/2 and Acer Prism SCSI"</a>
|
|
<li> <b>Previous message:</b> <a href="0070.html">Bernd Schroeder: "Re: Blackwidow 4800SP is really..."</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|