summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2018-09-21 15:26:33 +0300
committerAnthony G. Basile <blueness@gentoo.org>2018-09-21 15:27:23 +0300
commita8ffcd1b985fb4b3e2c3a1cb9051bed86f69d3f3 (patch)
tree8fc59d4c13b438a442ec4cf2108e56fc43e2f1f8
parent0c35b136c08d64064efa55087c54364608e65ed6 (diff)
downloadeudev-a8ffcd1b985fb4b3e2c3a1cb9051bed86f69d3f3.tar.xz
rules/50-udev-default.rules: fix issue 160
Thanks Joel Barrios (darkshram). Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--rules/50-udev-default.rules6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules/50-udev-default.rules b/rules/50-udev-default.rules
index 191f56f42..c2f4a19ec 100644
--- a/rules/50-udev-default.rules
+++ b/rules/50-udev-default.rules
@@ -36,8 +36,8 @@ SUBSYSTEM=="dvb", GROUP="video"
SUBSYSTEM=="media", GROUP="video"
SUBSYSTEM=="cec", GROUP="video"
-SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="render", MODE="@GROUP_RENDER_MODE@"
-SUBSYSTEM=="kfd", GROUP="render", MODE="@GROUP_RENDER_MODE@"
+SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="video", MODE="0666"
+SUBSYSTEM=="kfd", GROUP="video", MODE="0666"
SUBSYSTEM=="sound", GROUP="audio", \
OPTIONS+="static_node=snd/seq", OPTIONS+="static_node=snd/timer"
@@ -79,7 +79,7 @@ KERNEL=="tun", MODE="0666", OPTIONS+="static_node=net/tun"
KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"
# The static_node is required on s390x and ppc (they are using MODULE_ALIAS)
-KERNEL=="kvm", GROUP="kvm", MODE="@DEV_KVM_MODE@", OPTIONS+="static_node=kvm"
+KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"
SUBSYSTEM=="ptp", ATTR{clock_name}=="KVM virtual PTP", SYMLINK += "ptp_kvm"