summaryrefslogtreecommitdiff
path: root/debian/patches/03_usb-db.diff
blob: 7c437ba128bdd09245f8a95ef279483ddf04702a (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-09-14

--- 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
-TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p"
+TEST=="/lib/udev/usb-db", IMPORT{builtin}="hwdb --subsystem=usb"
 
 LABEL="argyll_rules_end"