[PATCH] rules: set the correct group of the static snd/{seq,timer} nodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 01b159b3f67d5e387ebab879e52ae2d1b6be32bf Mon Sep 17 00:00:00 2001
From: Tom Gundersen <teg@xxxxxxx>
Date: Tue, 24 May 2011 15:04:56 +0200
Subject: [PATCH] rules: set the correct group of the static
snd/{seq,timer} nodes

When removing some of our custom rules from Arch we found that
a user in the audio group could no longer autoload the snd_seq
module. This fixes it, as proposed by Kay.

An analogous fix is applied to snd/timer.

Signed-off-by: Tom Gundersen <teg@xxxxxxx>
---
 rules/rules.d/50-udev-default.rules |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/rules/rules.d/50-udev-default.rules
b/rules/rules.d/50-udev-default.rules
index cd745ef..f7f134b 100644
--- a/rules/rules.d/50-udev-default.rules
+++ b/rules/rules.d/50-udev-default.rules
@@ -39,6 +39,10 @@ SUBSYSTEM=="drm",		GROUP="video"

 # sound
 SUBSYSTEM=="sound",		GROUP="audio"
+KERNEL=="seq",			GROUP="audio", MODE="0660", \
+  OPTIONS+="static_node=snd/seq"
+KERNEL=="timer",		GROUP="audio", MODE="0660", \
+  OPTIONS+="static_node=snd/timer"

 # DVB (video)
 SUBSYSTEM=="dvb", GROUP="video"
-- 
1.7.5.2
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux