summaryrefslogtreecommitdiff
path: root/debian/patches/03_usb-db.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/03_usb-db.diff')
-rw-r--r--debian/patches/03_usb-db.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/03_usb-db.diff b/debian/patches/03_usb-db.diff
new file mode 100644
index 0000000..ebbc47b
--- /dev/null
+++ b/debian/patches/03_usb-db.diff
@@ -0,0 +1,15 @@
+Description: Use hwdb builtin, instead of the obsolete usb-db in the udev rules.
+Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1200185
+Last-Update: 2014-02-03
+
+--- a/usb/55-Argyll.rules
++++ b/usb/55-Argyll.rules
+@@ -85,6 +85,6 @@ TEST=="/var/run/ConsoleKit/database", EN
+ ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}!="*?", MODE="660", GROUP="plugdev"
+
+ # Set ID_VENDOR and ID_MODEL acording to VID and PID
+-IMPORT{program}="usb-db %p"
++IMPORT{builtin}="hwdb --subsystem=usb"
+
+ LABEL="argyll_rules_end"