litlle girl wrote: >> The windows driver probably calibrates once, when the scanner is >> first used, and stores the reference data somewhere (file, registry, >> etc.). >> >> The SANE driver should try to do the same (not registry of course, >> but some /var/... whatever file-system location. >> >> Yours, >> >> -- >> Ren? Rebe - ExactCODE GmbH - Europe, Germany, Berlin >> http://exactcode.de | http://t2-project.org | http://rene.rebe.name >> > > This is very good idea! :) > I think "calibrate.conf" is good place to put calibrate data. > > calibrate.conf structure: > vendor, product, mode (Lineart,Gray,Color) calibrate data > > Maybe "recalibrate" option will be needed :)
As proecssed run with normal user's ID have to be able to write to it some Un*x a-like /var/state/sane/$backend-$model.raw file should be more suitable. But as I'm not in CPU-less scanners the backend authors will probably figure out what they like most. Yours, -- Ren? Rebe - ExactCODE GmbH - Europe, Germany, Berlin http://exactcode.de | http://t2-project.org | http://rene.rebe.name