SHA256
1
0
forked from pool/argyllcms
argyllcms/argyllcms-udev151.patch

20 lines
808 B
Diff
Raw Normal View History

Index: Argyll_V1.5.1/usb/55-Argyll.rules
===================================================================
--- Argyll_V1.5.1.orig/usb/55-Argyll.rules
+++ Argyll_V1.5.1/usb/55-Argyll.rules
@@ -77,14 +77,7 @@ ATTRS{idVendor}=="04d8", ATTRS{idProduct
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"
-
-# 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"
-
# Set ID_VENDOR and ID_MODEL acording to VID and PID
IMPORT{program}="usb-db %p"
LABEL="argyll_rules_end"