diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2009-06-03 19:22:02 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2009-06-03 19:22:02 +0200 |
commit | d120c642f0be3ec0f7a089b1cd9f8cac1e610071 (patch) | |
tree | d71e4d1f18fbd7ac7f47740225133b1c6888691c | |
parent | 7758f802e8395f78de219b335fc0a7237b3cb5c6 (diff) |
udev-acl: Add missing DRM class
Without it, /dev/dri/card* is not accessible to the user, thus no X.org
acceleration love.
This coincides with the equivalent rule in old hal's 20-acl-management.fdi.
-rw-r--r-- | udev-acl/70-acl.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/udev-acl/70-acl.rules b/udev-acl/70-acl.rules index 4e5065b..b062a63 100644 --- a/udev-acl/70-acl.rules +++ b/udev-acl/70-acl.rules @@ -27,6 +27,9 @@ SUBSYSTEM=="dvb", ENV{ACL_MANAGE}="1" # fingerprint readers SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="2016", ENV{ACL_MANAGE}="1" +# DRI video devices +SUBSYSTEM=="drm", KERNEL=="card*", ENV{ACL_MANAGE}="1" + # apply ACL for all locally logged in users LABEL="acl_apply", ENV{ACL_MANAGE}=="?*", TEST=="/var/run/ConsoleKit/database", \ RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}" |