Stef,<br>You are correct, changing the following line now produces results:<br><br><div style="margin-left: 40px;"> /* set up clock once for all */<br> if (1) /*if (strcmp (dev->model->name, "hewlett-packard-scanjet-g4050") == 0) */<br>
</div><br>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.<br><br>Thanks,<br>
Brian ..<br><br><br><div class="gmail_quote">On Thu, Oct 7, 2010 at 12:15 AM, stef <span dir="ltr"><<a href="mailto:stef.dev@free.fr">stef.dev@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Le Tuesday 05 October 2010 15:28:28 Brian Shaver, vous avez écrit :<br>
<div class="im">> Stef,<br>
> Obtained the latest git source code. The G4010 is detected. scanimage<br>
> --test passes. However, trying both Color and Gray modes all I get back<br>
> scanimage is a solid black image.<br>
><br>
> I'll keep looking around for more information / tests to run, or let me<br>
> know if there is specific output which would be helpful.<br>
><br>
> Thanks,<br>
> Brian ..<br>
><br>
</div> Hello,<br>
<br>
there is a bug in setting up some registers values. To check it is the<br>
cause of blacks images, in gl843_cold_boot(), change the strcmp around line<br>
3679 to if(1) in genesys_gl843.c<br>
<br>
Meanwhile I am progressing. I have added 100 and 150 dpi modes, and 600,<br>
1200 and 2400 dpi modes are about to work.<br>
<br>
Regards,<br>
<font color="#888888"> Stef<br>
</font></blockquote></div><br>