LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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

Reply
 
Search this Thread
Old 07-02-2005, 11:53 AM   #1
Baix
Member
 
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203

Rep: Reputation: 30
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.
 
Old 07-02-2005, 12:05 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
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/*
 
Old 07-02-2005, 12:39 PM   #3
Baix
Member
 
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203

Original Poster
Rep: Reputation: 30
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/*"
 
Old 07-02-2005, 01:22 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
huh? it's a file. edit it.
 
Old 07-02-2005, 01:30 PM   #5
Baix
Member
 
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
Submount, "permission denied" when writing to floppy as normal user DaneM Linux - Software 5 02-22-2006 02:05 PM
"permission denied when rcp-ing with root. ayeletr Linux - Security 7 11-24-2004 04:48 PM
Permission denied on " ls "for root user itsjvivek Linux - General 12 12-11-2002 07:02 PM
ls in /tmp produces "permission denied" even as root kpfeiffer Linux - Newbie 5 10-06-2002 12:40 PM


All times are GMT -5. The time now is 05:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration