summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorDmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>2013-08-03 17:55:36 +0200
committerRichard Hughes <richard@hughsie.com>2013-08-03 17:55:36 +0200
commitfd9654c786cb19b541d20a953c5b51c0f53caeea (patch)
treefe06f60802fc3a5d3afc9f9fdf313bf7cdc9231e /rules
parentc11675831eb38ea13807decf1bc73b1638ba516d (diff)
downloadcolord-fd9654c786cb19b541d20a953c5b51c0f53caeea.tar.gz
Migrate from usb_id and usb_db to udev builtins usb_id and hwdb
Signed-off-by: Richard Hughes <richard@hughsie.com>
Diffstat (limited to 'rules')
-rw-r--r--rules/69-cd-sensors.rules.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/69-cd-sensors.rules.in b/rules/69-cd-sensors.rules.in
index 6e0a643..eb47e25 100644
--- a/rules/69-cd-sensors.rules.in
+++ b/rules/69-cd-sensors.rules.in
@@ -86,8 +86,8 @@ ATTRS{idVendor}=="273f", ATTRS{idProduct}=="1002", ENV{COLORD_SENSOR_KIND}="colo
# color calibration device
ENV{COLORD_SENSOR_KIND}=="*?", ENV{COLOR_MEASUREMENT_DEVICE}="1"
-ENV{COLORD_SENSOR_KIND}=="*?", ENV{ID_MODEL}=="", IMPORT{program}="usb_id --export %p"
-ENV{COLORD_SENSOR_KIND}=="*?", ENV{ID_MODEL_FROM_DATABASE}=="", IMPORT{program}="usb-db %p"
+ENV{COLORD_SENSOR_KIND}=="*?", ENV{ID_MODEL}=="", IMPORT{builtin}="usb_id"
+ENV{COLORD_SENSOR_KIND}=="*?", ENV{ID_MODEL_FROM_DATABASE}=="", IMPORT{builtin}="hwdb --subsystem=usb"
# Allow the daemon to access the color devices
ENV{COLORD_SENSOR_KIND}=="*?", GROUP="@daemon_user@"