Re: Microtek Phantom 636cx again

Levente NOVAK (
Mon, 18 Oct 1999 08:49:00 +0200 (MET DST)

On Sat, 16 Oct 1999, Bernd Schroeder wrote:

> Hi,
> sorry for the late response.


No problem, thanks for the responses.

> On Tue, Oct 05, 1999 at 08:13:20PM +0200, =??Q?Nov=E1k_Levente?= wrote:
> > Unfortunately I don't know of a method what would permit to "intercept" the commands sent by the Windows driver. Do you?
> >
> You could try it with wine, which has builtin tracing capabilities.
> I tried it some months ago with a SCSI model and managed to get it
> scanning the SCSI bus using the ASPI 16-bit layer with a simple
> test application, that comes with the Microtek software. IIRC it is
> called scantest.exe.

Yesterday, I tried Wine, but unfortunately without success. In fact, I did
not manage Wine to work reliably, and it always crashed (I installed the
oct. 98 version, the one that is part of Debian 2.1). After configuring
the SCSI ID, channel and LUN in wine.conf, and scantest.exe was
succesfully launched, it detected my scanner properly, however when I
clicked on the test scan button, I got a segfault.

> In the meanwhile I do not think so any more. Two people have tried it
> with a V6USL, which also often says, that it does not support gamma tables,
> and these devices did not accept the gamma tables that these users tried
> to send.
> [...]
> > > > Scanning direction: Right to left
> In the meanwhile I have a new release of the backend, where it might
> be fixed, that the image is mirrored (see my other mail).

OK, thanks, the mirror problem has gone now. So _almost_ everything is
working fine for the Phantom 636cx, excepted these annoying dark stripes.
Do you think it would be possible to reverse-engineer the dll-s of
Microtek to find the solution? Or should I try a newer version of wine
(which was the version of yours)?
Anyway, thanks a lot for your help.


PS: I think you can include the settings for Phantom 636cx in the next
release of sane-microtek2. You have only to add the entries for the model
number (0x9a) in microtek2.c and add an if statement to the part where the
backend wants to try the SLIDES option, as the hardware reports wrongly
that Phantom 636cx has a slides option but hangs when the driver queries

Source code, list archive, and docs:
To unsubscribe: echo unsubscribe sane-devel | mail