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

219 wiersze
8.5 KiB
HTML

<!-- received="Tue Nov 3 01:08:01 1998 PST" -->
<!-- sent="Tue, 3 Nov 1998 10:03:29 +0100 (MET)" -->
<!-- name="Sebastian Erdmann" -->
<!-- email="serdmann@cs.tu-berlin.de" -->
<!-- subject="Patch to make Microtek Phantom 636 SCSI (aka ScanMaker X6) work" -->
<!-- id="199811030903.KAA08899@elephant.cs.tu-berlin.de" -->
<!-- inreplyto="" -->
<title>sane-devel: Patch to make Microtek Phantom 636 SCSI (aka ScanMaker X6) work</title>
<h1>Patch to make Microtek Phantom 636 SCSI (aka ScanMaker X6) work</h1>
<b>Sebastian Erdmann</b> (<a href="mailto:serdmann@cs.tu-berlin.de"><i>serdmann@cs.tu-berlin.de</i></a>)<br>
<i>Tue, 3 Nov 1998 10:03:29 +0100 (MET)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#28">[ date ]</a><a href="index.html#28">[ thread ]</a><a href="subject.html#28">[ subject ]</a><a href="author.html#28">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0029.html">Martin Huber: "Re: pre-release available for testing"</a>
<li> <b>Previous message:</b> <a href="0027.html">jschuryk@mail.access1.net: "Support for Mag Innovision 3060"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0052.html">Bernd Schroeder: "Re: Patch to make Microtek Phantom 636 SCSI (aka ScanMaker X6) work"</a>
<li> <b>Reply:</b> <a href="0052.html">Bernd Schroeder: "Re: Patch to make Microtek Phantom 636 SCSI (aka ScanMaker X6) work"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi,<br>
<p>
last week I bought a Microtek Phantom 636 SCSI (600x1200dpi, 36bit).<br>
The documentation states that this model is equivalent to ScanMaker X6<br>
(and indeed, the Windoze drivers identify it as such).<br>
Model No: MRS-1200X6S.<br>
<p>
I downloaded sane version 0.74 and installed a newer version of the<br>
microtek2 backend (v0.5). The scanner reports a model_code of 0x91,<br>
which I added to check_inquiry(). It turned out that this scanner<br>
also needs the kludge in do_dummy_scan() to work correctly.<br>
<p>
The following patch to microtek2.c works for me.<br>
<p>
Thank you for your good work on sane!<br>
<p>
Sebastian<br>
<p>
<p>
---8&lt;------8&lt;------8&lt;------8&lt;------8&lt;------8&lt;------8&lt;------8&lt;---<br>
--- microtek2.c-v0.5 Sat Oct 3 14:26:00 1998<br>
+++ microtek2.c Sat Oct 31 21:49:55 1998<br>
@@ -1717,6 +1717,9 @@<br>
case 0x8d:<br>
*model_string = "ScanMaker 330";<br>
break;<br>
+ case 0x91:<br>
+ *model_string = "ScanMaker X6";<br>
+ break;<br>
case 0x92:<br>
*model_string = "E3+ / Vobis HighScan";<br>
break;<br>
@@ -1984,7 +1987,9 @@<br>
md = ms-&gt;dev;<br>
mi = &amp;md-&gt;info[md-&gt;scan_source];<br>
if ( ! ( md-&gt;info[MD_SOURCE_FLATBED].model_code == 0x97<br>
- &amp;&amp; md-&gt;revision == 1.00 ) )<br>
+ &amp;&amp; md-&gt;revision == 1.00 )<br>
+ &amp;&amp; ! ( md-&gt;info[MD_SOURCE_FLATBED].model_code == 0x91<br>
+ &amp;&amp; md-&gt;revision == 1.00 ) )<br>
return SANE_STATUS_GOOD;<br>
<br>
DBG(30, "do_dummy_scan: ms=%p\n", ms);<br>
<p>
---8&lt;------8&lt;------8&lt;------8&lt;------8&lt;------8&lt;------8&lt;------8&lt;---<br>
<p>
<p>
Running the microtek2 backend with 'option dump 4' gives<br>
(note: long lines are folded):<br>
<p>
[inquiry]<br>
120000006000<br>
[inquiryresult]<br>
060002025b00000020202020202020205363616e6e6572203633364134202020\<br>
312e303091000000000000000000000000000000000000000000000000000000\<br>
0000000000000000000000000000000000000000000000000000000000000000<br>
[scannerattributes]<br>
28008200000000001f00<br>
[scannerattributesresults]<br>
d11808025804b013ec1b6c02585d13ec100013ffffff000000005001404600<br>
<p>
<p>
Scanner attributes from device structure<br>
========================================<br>
<p>
Scanner ID...<br>
~~~~~~~~~~~~~<br>
Vendor Name: ' '<br>
Model Name: 'Scanner 636A4 '<br>
Revision: '1.00'<br>
Model Code: 0x91 (X6)<br>
Device Type Code: 0x06 (Scanner),<br>
Scanner type: Flatbed scanner<br>
Supported options: Automatic document feeder: Yes<br>
Transparency media adapter: Yes<br>
Auto paper detecting: Yes<br>
Scan button: Yes<br>
<p>
Imaging Capabilities...<br>
~~~~~~~~~~~~~~~~~~~~~~~<br>
Color scanner: Yes<br>
Number passes: 1 pass<br>
Resolution: X-max: 600 dpi<br>
Y-max: 1200 dpi<br>
Geometry: Geometric width: 5100 pts (8.50'')<br>
Geometric height: 7020 pts (11.70'')<br>
Optical resol. : 600<br>
Modes: Lineart: Yes<br>
Halftone: No<br>
Gray: Yes<br>
Color: Yes<br>
Depths: Nibble Gray: Yes<br>
10-bit-color: No<br>
12-bit-color: yes<br>
d/l of HT pattern: No<br>
Builtin HT patt.: 0<br>
LUT capabilities: 4096 words<br>
<p>
Miscellaneous capabilities...<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Data format: Chunky data, R, G &amp; B in one pixel<br>
Color Sequence: R - G - B<br>
CCD gap: 8 lines<br>
CCD pixels: 5100<br>
Calib wh str loc: -256<br>
Max calib space: 80<br>
Number of lens: 1<br>
Max no of windows: 64<br>
Sh trnsf func equ: 1<br>
Buffer type: Ring<br>
FEPROM: No<br>
[scannerattributes]<br>
28008200000200001f00<br>
[scannerattributesresults]<br>
d39008025804b00bb80e1002585d0bb8100003ffffff2c0000005001084600<br>
[scannerattributes]<br>
28008200000100001f00<br>
[scannerattributesresults]<br>
d31808025804b013ec1fa402585d13ec100003ffffff000000005001084601<br>
[readsystemstatus]<br>
28008100000000000900<br>
[readsystemstatusresult]<br>
010000001100000000<br>
[inquiry]<br>
120000006000<br>
[inquiryresult]<br>
060002025b00000020202020202020205363616e6e6572203633364134202020\<br>
312e303091000000000000000000000000000000000000000000000000000000\<br>
0000000000000000000000000000000000000000000000000000000000000000<br>
[scannerattributes]<br>
28008200000000001f00<br>
[scannerattributesresults]<br>
d11808025804b013ec1b6c02585d13ec100013ffffff000000005001404600<br>
[scannerattributes]<br>
28008200000200001f00<br>
[scannerattributesresults]<br>
d39008025804b00bb80e1002585d0bb8100003ffffff2c0000005001084600<br>
[scannerattributes]<br>
28008200000100001f00<br>
[scannerattributesresults]<br>
d31808025804b013ec1fa402585d13ec100003ffffff000000005001084601<br>
[readsystemstatus]<br>
28008100000000000900<br>
[readsystemstatusresult]<br>
010000001100000000<br>
[inquiry]<br>
120000006000<br>
[inquiryresult]<br>
060002025b00000020202020202020205363616e6e6572203633364134202020\<br>
312e303091000000000000000000000000000000000000000000000000000000\<br>
0000000000000000000000000000000000000000000000000000000000000000<br>
[scannerattributes]<br>
28008200000000001f00<br>
[scannerattributesresults]<br>
d11808025804b013ec1b6c02585d13ec100013ffffff000000005001404600<br>
[scannerattributes]<br>
28008200000200001f00<br>
[scannerattributesresults]<br>
d39008025804b00bb80e1002585d0bb8100003ffffff2c0000005001084600<br>
[scannerattributes]<br>
28008200000100001f00<br>
[scannerattributesresults]<br>
d31808025804b013ec1fa402585d13ec100003ffffff000000005001084601<br>
[readsystemstatus]<br>
28008100000000000900<br>
[readsystemstatusresult]<br>
010000001100000000<br>
[testunitready]<br>
000000000000<br>
<p>
<p>
<pre>
--
___
Sebastian Erdmann /
<a href="mailto:serdmann@cs.tu-berlin.de">serdmann@cs.tu-berlin.de</a> ___|__
<a href="mailto:se@pobox.com">se@pobox.com</a> (_ |
<a href="http://pobox.com/~se">http://pobox.com/~se</a> __) \___
<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="0029.html">Martin Huber: "Re: pre-release available for testing"</a>
<li> <b>Previous message:</b> <a href="0027.html">jschuryk@mail.access1.net: "Support for Mag Innovision 3060"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0052.html">Bernd Schroeder: "Re: Patch to make Microtek Phantom 636 SCSI (aka ScanMaker X6) work"</a>
<li> <b>Reply:</b> <a href="0052.html">Bernd Schroeder: "Re: Patch to make Microtek Phantom 636 SCSI (aka ScanMaker X6) work"</a>
<!-- reply="end" -->
</ul>