Re: Blackwidow 4800SP is really...

Matto Marjanovic (maddog@mir.com)
Tue, 10 Nov 1998 20:21:01 -0500 (EST)

...
>The problem here is that the vendor string is not unique, because
>Microtek uses the same eight spaces as vendor id for their scanners.
...
>I also looked into the documentation for the devices that are supported
>by the microtek(1) backend, and according to the specs, they return
>some vendor specific ASCII string, starting at that position, so that this
>check should be save.
>
>Nevertheless, I don't know whether it is actually the case, that an
>ASCII string is always there (Matto ?).

Nope, not always the case. Among others, the Microtek E6 has a blank
(8 spaces) vendor string. All-in-all, the microtek(1) backend looks
for a choice of five possible strings (one is "AGFA", the other four
are a variety of brain-dead Microtek options).

It's a good idea to try to pick a bunch of characteristics that are
particular to your scanner command set and unlikely to be duplicated
in another scanner brand. The microtek(1) backend looks for:

o a valid vendor string (out of 5 options, including blank)
o a SCSI response format of 0x01 (which instantly knocks out
microtek(2) scanners).
o a valid model code, found in the microtek-specific byte #62.

-matt m.

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com