[sane-devel] sane-sp15c and Fujitsu 620c: Help needed for plumbing backend to frontend

m. allan noah anoah at pfeiffer.edu
Thu Mar 25 16:17:06 GMT 2004


another option might be to try the avision backend instead. it does not 
support all of the fetures of the sp15/300/600, but it may have better 
support for the features you need.

allan

On Thu, 25 Mar 2004, Garrick Sitongia wrote:

> The brightness and contrast levels are presently not supported by the sp15c 
> backend. These are presently hardcoded at 128. But I was able to get it 
> working in the hardware by adding "scanf" statements in sp15c.c. Scanimage 
> stops and I can enter numbers for brightness and contrast each time I run 
> scanimage.
> 
>    scanf("%d", &c);    /* my code */
>   dev->brightness = c;
>   dev->threshold = 128;
>    scanf("%d", &c);    /* my code */
>   dev->contrast = c;
> 
> How instead do I pass these numbers to the backend from scanimage? Where 
> scanimage would get them the usual way from command line args?
> 
> Garrick
> 
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar – get it now! 
> http://toolbar.msn.com/go/onm00200415ave/direct/01/
> 
> 
> 

-- 
"so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls" - Max Cavalera





More information about the sane-devel mailing list