kopia lustrzana https://gitlab.com/sane-project/website
88 wiersze
4.0 KiB
HTML
88 wiersze
4.0 KiB
HTML
<!-- received="Sat Feb 13 07:37:55 1999 PST" -->
|
||
<!-- sent="Sat, 13 Feb 1999 15:39:43 +0000" -->
|
||
<!-- name="John Richardson" -->
|
||
<!-- email="jrichard@zealand.mv.com" -->
|
||
<!-- subject="Re: Microtek x6el problems" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="Microtek x6el problems" -->
|
||
<title>sane-devel: Re: Microtek x6el problems</title>
|
||
<h1>Re: Microtek x6el problems</h1>
|
||
<b>John Richardson</b> (<a href="mailto:jrichard@zealand.mv.com"><i>jrichard@zealand.mv.com</i></a>)<br>
|
||
<i>Sat, 13 Feb 1999 15:39:43 +0000</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#66">[ date ]</a><a href="index.html#66">[ thread ]</a><a href="subject.html#66">[ subject ]</a><a href="author.html#66">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0067.html">Joachim Kunze: "Re: Linux 2.0 with Mustek ScanExpress 12000 SP"</a>
|
||
<li> <b>Previous message:</b> <a href="0065.html">Peter Kirchgessner: "Re: A Question about the HP 5p"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0059.html">John Richardson: "Microtek x6el problems"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
<i>> > I have a Microtek x6el scanner. When I scan with xscanimage</i><br>
|
||
<i>> > the first scan (or preview) comes up OK. All later scans look</i><br>
|
||
<i>> > dirty with strange colors. If I change to a greyscale scan and attempt</i><br>
|
||
<i>></i><br>
|
||
<i>> This is a weird problem. If you are willing to figure it out,</i><br>
|
||
<i>> look into the function do_dummy_scan() in microtek2.c. This function must</i><br>
|
||
<i>> be executed in order to get all scans correctly executed. Maybe, that your</i><br>
|
||
<i>> scanner has a firmware version, that is not caught by this function.</i><br>
|
||
<p>
|
||
It looks like you got it exactly right. I noticed when xscanimage starts<br>
|
||
it outputs a firmware of 1.20. I added this in do_dummy_scan and it looks<br>
|
||
like it works perfectly! Thanks!<br>
|
||
<p>
|
||
[Actually, it looks like do_dummy_scan returns SANE_STATUS_GOOD if<br>
|
||
it doesn't know about the scanner, I'm kinda curious why it doesn't at least<br>
|
||
return something to indicate that something is wrong. Is that an idea for<br>
|
||
a future improvement?]<br>
|
||
<p>
|
||
Here's the patch, which includes the x6el patch posted by Christian Grigis<br>
|
||
on 30-Nov-1998.<br>
|
||
<p>
|
||
----------------------------------------------------------<br>
|
||
--- microtek2.c.old Wed Nov 4 23:28:28 1998<br>
|
||
+++ microtek2.c Sat Feb 13 10:22:00 1999<br>
|
||
@@ -1984,12 +1984,15 @@<br>
|
||
Microtek2_Info *mi;<br>
|
||
SANE_Status status;<br>
|
||
<p>
|
||
<p>
|
||
md = ms->dev;<br>
|
||
mi = &md->info[md->scan_source];<br>
|
||
if ( ! ( md->info[MD_SOURCE_FLATBED].model_code == 0x97<br>
|
||
- && md->revision == 1.00 )<br>
|
||
- && ! ( md->info[MD_SOURCE_FLATBED].model_code == 0x91<br>
|
||
- && md->revision == 1.00 ) )<br>
|
||
+ && md->revision == 1.00 )<br>
|
||
+ && ! ( md->info[MD_SOURCE_FLATBED].model_code == 0x91<br>
|
||
+ && md->revision == 1.00 )<br>
|
||
+ && !(md->info[MD_SOURCE_FLATBED].model_code == 0x98<br>
|
||
+ && (md->revision == 1.30 || md->revision == 1.20)))<br>
|
||
return SANE_STATUS_GOOD;<br>
|
||
<p>
|
||
DBG(30, "do_dummy_scan: ms=%p\n", ms);<br>
|
||
----------------------------------------------------------<br>
|
||
<p>
|
||
<p>
|
||
John<br>
|
||
<p>
|
||
<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="0067.html">Joachim Kunze: "Re: Linux 2.0 with Mustek ScanExpress 12000 SP"</a>
|
||
<li> <b>Previous message:</b> <a href="0065.html">Peter Kirchgessner: "Re: A Question about the HP 5p"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0059.html">John Richardson: "Microtek x6el problems"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|