Re: ALSA permission problem

From: tim wunder (twunder_at_REMOVEcomcast.net)
Date: 07/27/04


Date: Tue, 27 Jul 2004 17:29:03 -0400

On 7/27/2004 4:24 PM, I believe that Swedey wrote:

> tim wunder wrote:
>
>
>>Using Fedora Core 2 on a Duron 1GHz w/ 384MB RAM, and a SoundBlaster
>>Live sound card.
>>
>>I currently cannot get sound to work as a normal user in FC2 when using
>>ALSA. When logged in as root I can run alsamixer from the command line
>>and can configure KDE to use ALSA, and the sound works. When logged in
>>as a normal user, I cannot use ALSA for sound and must use OSS. When I
>>run 'alsamixer' from the command line, I get a permissions error,
>>"alsamixer: function snd_ctl_open failed for default: Permission denied."
>
>
>
> I *think* I remember having to change the permissions on some device
> (in /dev). If the exact answer comes to me, I'll reply again. Till then,
> maybe you can figure it out from this.
>
> (And if you do figure it out and I don't remember, please post what the
> answer is) :-)
>
> From a website I just found:
> "If you hear nothing but also do not get an error message, chances are that
> your sound is just muted. Make sure that "Master" is unmuted using

Well, the problem isn't that there's no sound, although that's a
symptom. There's no sound because, for some reason I cannot fathom, FC2
thinks the user doesn't have permission to access the alsa device files.

> "alsamixer" (use arrow keys and "m") or "alsamixergui" (click on top of the
> bar). If you get an error message about "permission denied" or similar,
> then the permissions of the alsa device files are not setup correctly (see
> ls -l /dev/snd/*)."
>
>

Yes, it's definately a permissions issue. The problem is... I think the
alsa device files *are* set up correctly. Everything in /dev/snd/* has
permissions of crw-rw---- with ownership of <user>.users and each <user>
belongs to the users group.

*/shrug/*

Thanks for adding another set of eyballs, though. Maybe you'll find that
clue stick that's been eluding me...

Regards,
Tim



Relevant Pages

  • Re: 64 bit downloading and kernel upgrade problem
    ... any sound card). ... lspci does not show any ... I had already added the normal user as member of group 'audio' but still ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • ALSA permission problem
    ... Live sound card. ... I currently cannot get sound to work as a normal user in FC2 when using ... and can configure KDE to use ALSA, ... run 'alsamixer' from the command line, I get a permissions error, ...
    (alt.os.linux.redhat)
  • Re: No sound: "Sorry, no mixer elements and/or devices found"
    ... and back as root and normal user, messing around with alsomixer, ... >>However I can not get sound from any application and volume control ...
    (Fedora)
  • hotplug script run three times
    ... I got a PowerShot a70 camera and I use hotplug package to allow my ... normal user to acces it trough gphoto2. ... initial script and all its ok except sound is played three times. ...
    (comp.os.linux.hardware)
  • Re: KDE sound only as root
    ... and in the group permissions of specific user make sure audio is ticked ... >>I'm using a hard disk install of Knoppix, and in most cases the sound ... do not log into X windows and KDE as root. ... > the real source of the problem (permissions getting reset over time because ...
    (comp.os.linux.misc)