[sane-devel] HP Scanjet G4010

stef stef.dev at free.fr
Mon Oct 11 05:01:23 UTC 2010


Le Friday 08 October 2010 13:11:22 Brian Shaver, vous avez écrit :
> Stef,
> You are correct, changing the following line now produces results:
> 
>   /* set up clock once for all */
>   if (1) /*if (strcmp (dev->model->name, "hewlett-packard-scanjet-g4050")
> == 0) */
> 
> Trying Gray, Color and Lineart modes. The result for Gray was pretty good.
> With the Color mode I'm seeing some ghosted image effects. The Lineart mode
> produced an image which was nearly all black.
> 
> Thanks,
> Brian ..
> 
> On Thu, Oct 7, 2010 at 12:15 AM, stef <stef.dev at free.fr> wrote:
> > Le Tuesday 05 October 2010 15:28:28 Brian Shaver, vous avez écrit :
> > > Stef,
> > > Obtained the latest git source code. The G4010 is detected. scanimage
> > > --test passes. However, trying both Color and Gray modes all I get back
> > > scanimage is a solid black image.
> > > 
> > > I'll keep looking around for more information  / tests to run, or let
> > > me know if there is specific output which would be helpful.
> > > 
> > > Thanks,
> > > Brian ..
> > > 
> >         Hello,
> >        
> >        there is a bug in setting up some registers values. To check it is
> > 
> > the
> > cause of blacks images, in gl843_cold_boot(), change the strcmp around
> > line 3679 to if(1) in genesys_gl843.c
> > 
> >        Meanwhile I am progressing. I have added 100 and 150 dpi modes,
> >        and
> > 
> > 600,
> > 1200 and 2400 dpi modes are about to work.
> > 
> > Regards,
> > 
> >         Stef
	Hello,

	thanks for the tests. I'll commit a patch by Wednesday that will handle 
correctly the G4010, and will add at least 100 and 150 dpi color. The 'CCD 
line distance' (giving the color ghosting effect) problem will also be fixed.

Regards,
	Stef



More information about the sane-devel mailing list