For example...
Code: Select all
$ aplay /usr/share/sounds/gaim/send.wav
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
aplay: main:508: audio open error: Permission deniedCode: Select all
$ mpg123 <a mp3>
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59s-r9 (2000/Oct/27). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Can't open /dev/dsp!Code: Select all
failed to open audio output: ALSA 1.2.10 output pluginIn reading over the above mentioned thread, I saw that in some cases /dev/sound was a file and not a directory, which is not the case in my situation. In his problem, afabco didn't mention that root worked properly. My user has audio privelages, so I don't understand the problem.
It was mentioned that using the ~x86 version of udev should help,
but I'm not sure if that is a version issue (again, no mention of it working perfectly pre-fix in root), and don't really want to start off an install with ~x86.Frenkel wrote:This is a bug in udev. The unstable version of udev has a fix, you can emerge it this way:
# echo "sys-fs/udev ~x86" >> /etc/portage/packages.keywords
# emerge udev
I can provide all of my ALSA configuration information, but it doesn't seem important. I sense that others have had this problem, and am just trying to clarify what the most prudent solution is.


