I ran into a new problem while working on my BLFS system. I am using
version 6.2 of the book, but in this case just as a guide. I have
compiled ALSA-lib, ALSA-utils, ALSA-plugins and in my case,
ALSA-driver. I have deviated from the book in that I am using ALSA
version 1.0.15, mainly because I could not get version 1.0.13 to work.
My problem is that I can get everything working fine as "root", but get
the following error when I try "speaker-test" as a normal user.
/speaker-test 1.0.15
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3510:(_snd_config_evaluate) function
snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat
returned error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer
returned error: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
Playback open error: -19,No such device
/I have also installed mpg123 per the book instructions. If I play an
mp3 file as "root" it plays just fine. If I try to play the same file
as a normal user I get the following.
/smart [ ~/storage/music ]$ mpg123 Rise.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 0.60; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3510:(_snd_config_evaluate) function
snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat
returned error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer
returned error: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
audio_open(): cannot open device default
audio: No such file or directory
/I have tried searching google, and have read all of the README's in the
ALSA tarballs and cannot seem to find an answer. I am hoping that one
of you can point me in the right direction. If it matters, I am using
kernel 2.6.23.12 with my sound card compiled as a module. The card, as
identified with "lspci" is as follows.
/00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio
(rev a2)/
The output of "lsmod" is as follows.
/Module Size Used by
nvidia 7847200 24
k8temp 8192 0
snd_hda_intel 271904 0
snd_pcm 64644 1 snd_hda_intel
snd_timer 20484 1 snd_pcm
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
snd_hwdep 10500 1 snd_hda_intel
snd 44004 4 snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
forcedeth 45832 0
pata_amd 13444 0
/If there is any other information that I can provide, please let me know.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page