[sane-devel] [PATCH] sane-desc: add support for udev's hwdb
Tom Gundersen
teg at jklm.no
Wed Jul 17 23:26:05 UTC 2013
On Thu, Jul 18, 2013 at 1:18 AM, Olaf Meeuwissen
<olaf.meeuwissen at avasys.jp> wrote:
> 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?
This comment was simply taken from the equivalent for the old udev
rules, so I don't know if it is up-to-date.
>> + 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"?
Indeed, will send new version. Thanks!
Cheers,
Tom
More information about the sane-devel
mailing list