[sane-devel] conf.in for generic scanners

stef stef.dev at free.fr
Sat Aug 8 19:00:13 UTC 2009


Le samedi 8 août 2009 16:57:25 Umut Emin, vous avez écrit :
> Hello,
>
> i am now able to have my src files compiled within the sane-backend
> root dir. I realized that there are *.conf.in files where hardware
> information etc should be nested. I wonder, if there are some SANE
> documentation on generic scanner configuration and options(or
> templates)?
>
> I'd be glad for any hint on dev docs.
>
> Thanks,
> Umut

	Hello,

	for configuration options, you can use the sanei_configure_attach() function 
from sanei_config that parses the configuration file and fill a configuration 
structures with the read values, the call the config_attach_rts8891 callback.
	It is use by the rts8891 backend , see the probe_rts8891_devices() function 
in rts8891.c, line 2248.

Regards,
	Stef



More information about the sane-devel mailing list