| 1 |
Description: Use hwdb builtin, instead of the obsolete usb-db in the udev rules. |
| 2 |
Author: Dmitrijs Ledkovs <[email protected]> |
| 3 |
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1200185 |
| 4 |
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762887 |
| 5 |
Last-Update: 2014-09-26 |
| 6 |
--- |
| 7 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 8 |
Index: trunk/usb/55-Argyll.rules |
| 9 |
=================================================================== |
| 10 |
--- trunk.orig/usb/55-Argyll.rules 2014-09-25 11:10:12.000000000 +0200 |
| 11 |
+++ trunk/usb/55-Argyll.rules 2014-09-26 14:08:21.067295380 +0200 |
| 12 |
@@ -85,6 +85,6 @@ |
| 13 |
ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}!="*?", MODE="660", GROUP="plugdev" |
| 14 |
|
| 15 |
# Set ID_VENDOR and ID_MODEL acording to VID and PID |
| 16 |
-TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p" |
| 17 |
+IMPORT{builtin}="hwdb --subsystem=usb" |
| 18 |
|
| 19 |
LABEL="argyll_rules_end" |