Wykres commitów

4 Commity (aa8d117c2aedcc784d8b26367f44710f341200f1)

Autor SHA1 Wiadomość Data
Nils Philippsen aa8d117c2a fix "make check"
Regenerate testsuite reference data which was necessary after these
fixes:

- commit 3b96baef65
  "sane-desc: fix udev hwdb generation"
- commit 758731489d
  "sane-desc: fix faulty udev logic for SCSI devices"
2013-12-03 15:26:53 +01:00
Stéphane Voltz 77a7cc4443 changelog entry for hwdb patch, minor cleanups, copyright notice 2013-08-02 22:51:58 +02:00
Tom Gundersen 3087a5efb5 sane-desc: add support for udev's hwdb
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.

Add the required output format and add a special udev output mode which is
produces the udev file to be used with hwdb.

Sample hwdb file: <https://dev.archlinux.org/~tomegun/20-sane.hwdb>.
Sample udev+hwdb rules file:
                       <https://dev.archlinux.org/~tomegun/53-sane.rules>.

Similar support was recently added to gphoto2:
                            <http://sourceforge.net/p/gphoto/code/14490/>.

The new udev rules file does not support old udev/kernels as these anyway
don't support hwdb.

Moreover, it does not come with GROUP=/MODE= or ACL support as this can easily
be done externally by hooking into the libsane_matched envvar. In particular
systemd-logind uses this to do its own ACL handling.
2013-08-02 22:18:11 +02:00
Stéphane Voltz fdadecc509 add testsuite for sane-desc
- add a tools sudbir in testsuite
- add a desc test file
- record test references
- add check in Makefile to run and compare output
2013-08-02 22:16:33 +02:00