Only root hears sounds, alsa gives "permission denied"
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Only root hears sounds, alsa gives "permission denied" [solved]
I'm using version 1.0.8 of alsa-utils and the built in alsa driver in the 2.6.11 kernel. For some reason only root can hear sounds, when other users try (in this case playing a gaim sound) they get:
ALSA lib confmisc.c:550:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:3463:(_snd_config_evaluate) function snd_func_card_driver returned error: Permission denied
ALSA lib confmisc.c:387:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3463:(_snd_config_evaluate) function snd_func_concat returned error: Permission denied
ALSA lib confmisc.c:945:(snd_func_refer) error evaluating name
ALSA lib conf.c:3463:(_snd_config_evaluate) function snd_func_refer returned error: Permission denied
ALSA lib conf.c:3932:(snd_config_expand) Evaluate error: Permission denied
ALSA lib pcm.c:2068:(snd_pcm_open_noupdate) Unknown PCM default
I read somewhere that this may have to do with uDev and something with 00 permissions but it got me even more confused and I can't seem to figure out how to go about fixing this. Thanks for any help!
i get easily lost with how apps interact with ALSA, but AFAIK they don't primarily use /dev entries, so udev won't come into it. you'd only use /dev/sound etc... if you were using ALSA's OSS emulation modules. instead the permissions for access are set within the asound.conf, e.g. "ipc_perm 0666" for each device. if it IS a /dev entry and i'm wrong again, then it's normally jsut a case of changing the relevant entries in /etc/udev/permissions/50-udev.permissions (or adding your own overlay file, starting with a number less than 50) for entries matching /dev/sound/* and /dev/snd/*
Not sure if I understood a word of that lol. How would I go about "changing the relevant entries in /etc/udev/permissions/50-udev.permissions (or adding your own overlay file, starting with a number less than 50) for entries matching /dev/sound/* and /dev/snd/*"
I wasn't sure of the syntax of the file or what the relavent entries would be. Anyway I found a simple enough solution something when I updated a lot of things must of caused me to need to add users to the audio group, I've never needed to do that prior to updating