All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rules: set the correct group of the static snd/{seq,timer} nodes
@ 2011-05-24 13:33 Tom Gundersen
  2011-05-27  0:52 ` [PATCH] rules: set the correct group of the static Kay Sievers
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tom Gundersen @ 2011-05-24 13:33 UTC (permalink / raw)
  To: linux-hotplug

From 01b159b3f67d5e387ebab879e52ae2d1b6be32bf Mon Sep 17 00:00:00 2001
From: Tom Gundersen <teg@jklm.no>
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@jklm.no>
---
 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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-30 12:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-24 13:33 [PATCH] rules: set the correct group of the static snd/{seq,timer} nodes Tom Gundersen
2011-05-27  0:52 ` [PATCH] rules: set the correct group of the static Kay Sievers
2011-05-29 23:35 ` Tom Gundersen
2011-05-30  0:27 ` Kay Sievers
2011-05-30 12:02 ` Tom Gundersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.