Microtek x6el problems

Greg Franks (greg@sce.carleton.ca)
Tue, 2 Mar 1999 13:40:29 -0500 (EST)

I just recently purchased a Microtek X6EL Scanner, and had the same
problem as described below. The original patch supplied by John
failed: the scanners are now at:

md->revision == 1.40

The correction below fixed things. I suspect md->revision >= 1.20
would be a better bet though.
..greg

>>>>> "John" == jrichard@zealand.mv.com <John> writes:
John> > > I have a Microtek x6el scanner. When I scan with xscanimage
John> > > the first scan (or preview) comes up OK. All later scans look
John> > > dirty with strange colors. If I change to a greyscale scan and
John> > > attempt
John>
John> Here's the patch, which includes the x6el patch posted by
John> Christian Grigis on 30-Nov-1998.
John>
John>
John> ----------------------------------------------------------
John> --- microtek2.c.old Wed Nov 4 23:28:28 1998
John> +++ microtek2.c Sat Feb 13 10:22:00 1999
John> @@ -1984,12 +1984,15 @@
John> Microtek2_Info *mi;
John> SANE_Status status;
John>
John>
John>
John>
John> md = ms->dev;
John> mi = &md->info[md->scan_source];
John> if ( ! ( md->info[MD_SOURCE_FLATBED].model_code == 0x97
John> - && md->revision == 1.00 )
John> - && ! ( md->info[MD_SOURCE_FLATBED].model_code == 0x91
John> - && md->revision == 1.00 ) )
John> + && md->revision == 1.00 )
John> + && ! ( md->info[MD_SOURCE_FLATBED].model_code == 0x91
John> + && md->revision == 1.00 )
John> + && !(md->info[MD_SOURCE_FLATBED].model_code == 0x98
John> + && (md->revision == 1.30 || md->revision == 1.20)))

(md->revision == 1.40 || md->revision == 1.30 || md->revision == 1.20)

John> return SANE_STATUS_GOOD;
John>
John>
John> DBG(30, "do_dummy_scan: ms=%p\n", ms);
John> ----------------------------------------------------------
John>

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