From: Richard Hughes Date: Mon, 9 Aug 2010 10:41:18 +0000 (+0100) Subject: udev-acl: add DDC_DEVICE to the types that are managed X-Git-Tag: 174~384 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d57b4f8ec53e834317518bde34cf849dabab8c4;p=systemd udev-acl: add DDC_DEVICE to the types that are managed DDC_DEVICEs are control points for high-end monitors such as the HP DreamColor. The DDC/CI interface allows userspace applications to upload custom colorspaces and interact with the display without using the monitor hardware controls. --- diff --git a/extras/udev-acl/70-acl.rules b/extras/udev-acl/70-acl.rules index 25e3f609..6ec04ee4 100644 --- a/extras/udev-acl/70-acl.rules +++ b/extras/udev-acl/70-acl.rules @@ -57,6 +57,9 @@ SUBSYSTEM=="input", ENV{ID_INPUT_JOYSTICK}=="?*", TAG+="udev-acl" # color measurement devices ENV{COLOR_MEASUREMENT_DEVICE}=="*?", TAG+="udev-acl" +# DDC/CI device, usually high-end monitors such as the DreamColor +ENV{DDC_DEVICE}=="*?", TAG+="udev-acl" + # apply ACL for all locally logged in users LABEL="acl_apply", TAG=="udev-acl", TEST=="/var/run/ConsoleKit/database", \ RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}"