[sane-devel] Microtek Scanmaker X6 and Lightlid35

Karsten Festag karsten.festag@gmx.de
Wed, 28 Apr 2004 08:35:04 +0200 (MEST)


Hi Christoph,

would you please send me a logfile like described in the manpage
sane-microtek2? I can see then which commands are transfered to the scanner,
hopefully I'll get a hint why the lamp is switched on again.

Karsten


> Hi Karsten,
> 
> it seems not to resolve this problem. I've changed the microtec2-files
> after 
> building on bth machines, the server and the client (which might be not 
> nessesary because of net-scanning). With click on the "toggle-lamp"-button
> the lamp switches of, but when I'm scanning  (preview and final) the lamp
> is 
> allways on.
> 
> Christoph
> 
> Am Montag, 26. April 2004 21:35 schrieb Karsten Festag:
> > Hi Christoph,
> >
> > I'm having a bad conscience because you asked me this half a year ago...
> > sorry.
> >
> > please try the following modification:
> >
> > in microtek2.c around line 5330 you'll find the following piece of code:
> >
> >         if ( ms->lightlid35 )
> >           {
> >             md->status.flamp &= ~MD_FLAMP_ON;
> >             md->status.tlamp |= MD_TLAMP_ON;
> >           }
> >
> > please comment out the second line so it looks like
> >
> >         if ( ms->lightlid35 )
> >           {
> >             md->status.flamp &= ~MD_FLAMP_ON;
> > /*            md->status.tlamp |= MD_TLAMP_ON; */
> >           }
> >
> > and recompile sane-backends. In theory this second line would switch on
> > only the transparency lamp but maybe it also controls the flatbed lamp.
> >
> > Please let me know about the results!
> >
> > Karsten
> 

-- 
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/dsl