- Subject: Re: [PATCH] udev: Allow ALSA input jacks to be accessed by the current user
- From: Takashi Iwai <tiwai@xxxxxxx>
- Date: Thu, 16 Jun 2011 16:48:12 +0200
- In-reply-to: <BANLkTim4gZopPg3Wu2Mm=MZ5uoAuS7fgww@xxxxxxxxxxxxxx>
- User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (GojÅ) APEL/10.7 Emacs/23.2 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO)
At Thu, 16 Jun 2011 16:28:08 +0200,
Kay Sievers wrote:
>
> On Thu, Jun 16, 2011 at 16:12, David Henningsson
> <david.henningsson@xxxxxxxxxxxxx> wrote:
> > 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?
>
> Takashi, wasn't there already something else to use from ALSA than the
> artificial input devices?
These input devices are just notification from the sound driver at
jack plugging, so basically it's read-only indeed, and setting the
file permission RO would make sense.
I can't judge more since I haven't seen the patch.
thanks,
Takashi
--
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
[Linux DVB]
[Video Technology]
[Asterisk]
[Photo]
[DCCP]
[Netdev]
[Xorg]
[Util Linux NG]
[Xfree86]
[Devices]
[Fedora Women]
[ALSA Devel]
[Linux USB]