summaryrefslogtreecommitdiff
path: root/debian/patches/03_usb-db.diff
blob: ebbc47b63975d2c5dae520813ff27621c2b63c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"