[sane-devel] unique device infos

Johannes Meixner jsmeix@suse.de
Fri, 18 Feb 2005 09:26:21 +0100 (CET)


Hello,

On Feb 17 11:59 Kai-Uwe Behrmann wrote (shortened):
> The goal is identification of devices to assign colour profiles precisely.
> I like to take an normal userspace application and do an query to 
> an library (sane) which will provide the mentioned information about the 
> image output. The manufacturer/model/ID information will then be used to 
> select the correct profile for that device.

Manufacturer and model is no problem, run something like
scanimage -f '%v: %m,' | tr ',' '\n'

But I think the model ID is not sufficient to be unique because
* For the same model there may be more than one backend activated
  (e.g. 'epson' and 'epkowa') and different backends may require
  different color profiles.
* There may be more than one same model connected.
  Individual models may require different color profiles.

I think you need
- manufacturer name, model name, and model ID
- backend name
- model serial number


Regards,
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5      Mail: jsmeix@suse.de
90409 Nuernberg, Germany                    WWW: http://www.suse.de/