[sane-devel] Vendor and product ids in description files
Johannes Meixner
jsmeix at suse.de
Mon Jan 9 15:23:09 UTC 2006
Hello,
On Jan 8 17:00 Henning Meier-Geinitz wrote (shortened):
> The format of the SANE description files (.desc) has been changed to
> allow the addition of USB vendor and product ids to each model entry.
Great!
> The keyword refers to the previous `:model', is optional,
> and applicable for devices with :interface "USB" only,
> and should be used only once per model.
> Example: `:usbid "0x1234" "0x4321"'
"Should" is o.k. but please do not strictly forbid
to have more than one ":usbid" for one ":model"
and/or
to have the same ":usbid" for more than one ":model".
An example for both cases are the different model names
what the user can read on the scanner and what the scanner
reports via USB:
If the model name which the scanner reports via USB is
different but unique, there can be two entries like:
:model "Fun Scanner 1000" ; what is on the scanner
:usbid "0x1234" "0x4321"
:model "FS 1000" ; what the scanner reports via USB
:usbid "0x1234" "0x4321"
If the model name which the scanner reports via USB is only
a generic name, the following should be posible:
:model "Fun Scanner 1000" ; what is on the scanner
:usbid "0x1234" "0x4321"
:model "Fun Scanner 1100" ; what is on the scanner
:usbid "0x1234" "0x4322"
:model "FS 1000 series" ; what the scanners report via USB
:usbid "0x1234" "0x4321"
:usbid "0x1234" "0x4322"
Another example for the second case are the different model names
in different countries - e.g. the Epson model names in Japan and
in the rest of the world.
Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix at suse.de
90409 Nuernberg, Germany WWW: http://www.suse.de/
More information about the sane-devel
mailing list