[pulseaudio-discuss] 0.9.8 - Invalid value for card

Steve Greenland steveg at moregruel.net
Tue Apr 8 12:24:29 PDT 2008

On 08-Apr-08, 09:45 (CDT), Lennart Poettering <lennart at poettering.net> wrote:
> On Tue, 08.04.08 10:27, Jim Duda (jim at duda.tzo.com) wrote:
> > This whole entire issue simply turned out to be a permissions issue.
> > Even a permissions issue while attempting to run pulseaudio as root.
> >
> > It turns out that I need to chmod 666 /dev/snd/* for this to work.
> >
> > chmod 660 /dev/snd/* causes pulseaudio to not be able to open the
> > alsa device.
> >
> > I don't quite understand why, but this issue is now resolved for me.
> If you run PA in system mode, than it will drop privs and becomes a
> normal process as user "pulse". You thus have to give access to the
> audio devices to that user, no 666 necessary.
>   setfacl -m u:pulse:rwX /dev/snd/*

If the sound devices are created by udev, this won't last past a reboot,
will it? (Neither will the chmod 666.) The usual solution is to add the
'pulse' user to the 'audio' group (or whatever group is assigned to the
/dev/snd devices).

Steve Greenland
    The irony is that Bill Gates claims to be making a stable operating
    system and Linus Torvalds claims to be trying to take over the
    world.       -- seen on the net

More information about the pulseaudio-discuss mailing list