Minime80
02-19-2005, 08:23 AM
Trying to get my sound working on my Debian Sarge system and it's being stubborn. I know I've got everything compiled right in the kernel, and the setup can work because if I run something like xmms as root everything works beautifully. As my normal user account though, I get this list of errors:
** WARNING **: alsa_get_mixer(): Attaching to mixer hw:0 failed: Permission denied
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
Now forgive me if I'm wrong, but I think this means it's a permissions problem. I tried running the /usr/share/alsa-base/snddevices... didn't help. I also tried what used to work for me on the 2.4 kernels which was to 'chmod a+rw' on all the things in /dev and /dev/snd that have to do with sound (especially /dev/dsp)... that didn't work either. I think it may have something to do with the fact that the 2.6 kernel is using udev, but who knows?... hopefully one of you guys. Any suggestions? Thanks.
** WARNING **: alsa_get_mixer(): Attaching to mixer hw:0 failed: Permission denied
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
Now forgive me if I'm wrong, but I think this means it's a permissions problem. I tried running the /usr/share/alsa-base/snddevices... didn't help. I also tried what used to work for me on the 2.4 kernels which was to 'chmod a+rw' on all the things in /dev and /dev/snd that have to do with sound (especially /dev/dsp)... that didn't work either. I think it may have something to do with the fact that the 2.6 kernel is using udev, but who knows?... hopefully one of you guys. Any suggestions? Thanks.