Linux - General This 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. |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-02-2005, 11:53 AM
|
#1
|
Member
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203
Rep:
|
Only root hears sounds, alsa gives "permission denied" [solved]
HI there,
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:
Code:
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!
Last edited by Baix; 07-02-2005 at 01:55 PM.
|
|
|
07-02-2005, 12:05 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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/*
|
|
|
07-02-2005, 12:39 PM
|
#3
|
Member
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203
Original Poster
Rep:
|
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/*"
|
|
|
07-02-2005, 01:22 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
huh? it's a file. edit it. 
|
|
|
07-02-2005, 01:30 PM
|
#5
|
Member
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 08:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|