diff options
Diffstat (limited to 'source/a/eudev/0001-fix-default-rules.patch')
-rw-r--r-- | source/a/eudev/0001-fix-default-rules.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/source/a/eudev/0001-fix-default-rules.patch b/source/a/eudev/0001-fix-default-rules.patch new file mode 100644 index 00000000..adbdf499 --- /dev/null +++ b/source/a/eudev/0001-fix-default-rules.patch @@ -0,0 +1,37 @@ +From a8ffcd1b985fb4b3e2c3a1cb9051bed86f69d3f3 Mon Sep 17 00:00:00 2001 +From: "Anthony G. Basile" <blueness@gentoo.org> +Date: Fri, 21 Sep 2018 08:26:33 -0400 +Subject: [PATCH] rules/50-udev-default.rules: fix issue 160 + +Thanks Joel Barrios (darkshram). + +Signed-off-by: Anthony G. Basile <blueness@gentoo.org> +--- + rules/50-udev-default.rules | 6 +++--- + 1 file 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" + + |