summaryrefslogtreecommitdiff
path: root/usb/55-Argyll.rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-01 15:42:20 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-01 15:42:20 +0200
commit556dffcdad42b938bc196819aa463247de709765 (patch)
tree12f5b4ae97025ace63eecd9112cf45fbc151039f /usb/55-Argyll.rules
parentad6ab4cb4c8086c9b8854c965c984ab848c6b6c2 (diff)
Remove patches from source
Diffstat (limited to 'usb/55-Argyll.rules')
-rw-r--r--usb/55-Argyll.rules8
1 files changed, 4 insertions, 4 deletions
diff --git a/usb/55-Argyll.rules b/usb/55-Argyll.rules
index 3da9c69..9e083dc 100644
--- a/usb/55-Argyll.rules
+++ b/usb/55-Argyll.rules
@@ -77,14 +77,14 @@ ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="f8da", ENV{COLOR_MEASUREMENT_DEVICE}
ATTRS{idVendor}=="273f", ATTRS{idProduct}=="1001", ENV{COLOR_MEASUREMENT_DEVICE}="1"
-# Let udev-acl manage these devices, if it's available
-TEST=="/var/run/ConsoleKit/database", ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}="1"
+# Let users access these devices
+ENV{COLOR_MEASUREMENT_DEVICE}=="*?", TAG+="uaccess"
# Otherwise, restrict access to members of the plugdev group,
# which the user may have to add to the system.
-ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}!="*?", MODE="660", GROUP="plugdev"
+ENV{COLOR_MEASUREMENT_DEVICE}=="*?", 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"