| View previous topic :: View next topic |
| Author |
Message |
ceo1967 n00b

Joined: 07 May 2004 Posts: 8
|
Posted: Mon Apr 04, 2005 10:34 pm Post subject: [SOLVED] Permission problems w/ALSA after 2005.1 upgrade |
|
|
I jus upgraded to 2005.1, and now sound doesn't work. I'm running the same kernel as before, 2.6.10 with the ALSA and card (intel8x0) drivers compiled into it. alsaplayer works, but gives me the following anyway:
| Quote: | ALSA lib confmisc.c:550:(snd_determine_driver) could not open control for card 0ALSA 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
snd_pcm_open: Permission denied (default)
Failed to initialize plugin!
Failed to register plugin: /usr/lib/alsaplayer/output/libalsa_out.so
Failed to load output plugin "alsa". Trying defaults.
ALSA lib confmisc.c:550:(snd_determine_driver) could not open control for card 0ALSA 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
snd_pcm_open: Permission denied (default)
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libalsa_out.so failed to load
|
xmms comes up with its window all garbled (more so than usual, I mean), and trying to play an mp3 results in:
| Quote: | 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
** WARNING **: alsa_setup(): Failed to open pcm device (default): Permission denied
xmms-mad-Message: failed to open audio output: ALSA 1.2.10 output plugin
|
So, obviously I have a permissions problem somewhere, but I've no clue where.
Last edited by ceo1967 on Tue Apr 05, 2005 9:29 pm; edited 1 time in total |
|
| Back to top |
|
 |
Dark Ninja Tux's lil' helper


Joined: 30 Jan 2005 Posts: 127
|
Posted: Tue Apr 05, 2005 7:13 am Post subject: |
|
|
I don't know if this would help, but, open up /etc/security/console.perms as root and edit the line:
<console> 0600 <sound> 0600 root.audio
to
<console> 0660 <sound> 0660 root.audio
For future reference, you have 2005.0. 2005.1 has not been released yet. |
|
| Back to top |
|
 |
ceo1967 n00b

Joined: 07 May 2004 Posts: 8
|
Posted: Tue Apr 05, 2005 9:34 pm Post subject: |
|
|
Fixed it. I needed to set the permissions on the alsa devices via udev. I added myself to the audio group and added GROUP="audio" to the lines in /etc/udev/rules.d/50-udev.rules, as follows:
| Quote: |
# alsa devices
SUBSYSTEM="sound", GROUP="audio"
KERNEL="controlC[0-9]*", NAME="snd/%k", GROUP="audio"
KERNEL="hw[CD0-9]*", NAME="snd/%k", GROUP="audio"
KERNEL="pcm[CD0-9cp]*", NAME="snd/%k", GROUP="audio"
KERNEL="midiC[D0-9]*", NAME="snd/%k", GROUP="audio"
KERNEL="timer", NAME="snd/%k", GROUP="audio"
KERNEL="seq", NAME="snd/%k", GROUP="audio"
|
|
|
| Back to top |
|
 |
curious_bob l33t


Joined: 05 Dec 2003 Posts: 636 Location: San Francisco, CA
|
Posted: Wed Apr 06, 2005 11:46 pm Post subject: |
|
|
This solved my problem. Thank you so much. _________________ Play me online, well ya know that I'll beat you. If I ever meet you, I'll CRTL-ALT-DEL you!!!
The Black Vault The Largest Online Military and Government Research Center |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|