[sane-devel] [PATCH] sane-desc: add support for udev's hwdb

Olaf Meeuwissen olaf.meeuwissen at avasys.jp
Wed Jul 17 23:18:37 UTC 2013

Tom Gundersen writes:

> udev now comes with a hardware database (hwdb) which is meant to replace large
> rule files as the one typically shipped with sane. This should significantly
> speed up the processing of usb add events.

That'd be nice.  Two comments:

> +     "# If your scanner is supported by some external backend (brother, epkowa,\n"
> +     "# hpaio, etc) please ask the author of the backend to provide proper\n"
> +     "# device detection support for your OS\n"

The epkowa.desc file is included in doc/descriptions-external and I
(normally) send patches to the mailing list for inclusion.  Is there
anything else that should be done?

> +  printf
> +     ("# If your scanner isn't listed below, you can add it to a new hwdb file\n"
> +     "under /etc/udev/hwdb.d/.\n"
> +     "#\n"

Shouldn't there be a "# " before "uder /etc/udev/hwdb.d/.\n"?

Hope this helps,
Olaf Meeuwissen, LPIC-2           FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962               Help support software freedom

More information about the sane-devel mailing list