[alsa-devel] [PATCH] udev: Allow ALSA input jacks to be accessed by the current user

David Henningsson david.henningsson at canonical.com
Wed Jun 15 20:46:09 CEST 2011

I know this is probably not the correct upstream, but I just wanted to 
run it through alsa-devel first to make sure that you don't think this 
is all madness. :-)

So, one missing piece for userspace (PulseAudio etc) to actually be able
to use the jack input devices that ALSA create, is that these devices
are accessible by root only. This patch makes the input device nodes
accessible by the same users that can access the sound card: the current
logged in user, as well as users in the audio group.

One thing I was thinking about, was that the udev-acl rule actually 
grants read-write access to the input device node, where probably only 
read access is needed. Is this dangerous?

David Henningsson, Canonical Ltd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-udev-Allow-ALSA-input-jacks-to-be-accessed-by-the-cu.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20110615/3318cc7f/attachment.patch 

More information about the Alsa-devel mailing list