I have just stuck in alsa here. OSS used work fine on any distro, but now that's no more, and I need alsa as a dependency. The box is LFS-5.0 (and later) with kernel 2.6.12.1, gcc-3.3.1, and alsa-1.0.11 as per the book. I get no files at all in /etc, and no sound. Even pinching a few from a nearby RHEL installation didn't help. I read a bit, did an su - root, and loosened permissions on the devices. No /dev/snd exists, but /dev/dsp, dsp1 and a whole lot of nutty ones do (mixer, mpu401, midi, etc).
[root@genius ~]# alsaconf
which: no dialog in (/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/ssl/bin:/usr/jre1.5.0_01/bin:/opt/bin)
which: no whiptail in (/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/ssl/bin:/usr/jre1.5.0_01/bin:/opt/bin)
Error, dialog or whiptail not found.
[root@genius ~]# alsamixer
alsamixer: function snd_ctl_open failed for default: No such device
[root@genius ~]# amixer
amixer: Mixer attach default error: No such device
[root@genius ~]# cd /usr/share/sounds/alsa
[root@genius /usr/share/sounds/alsa]# aplay Noise.wav
ALSA lib confmisc.c:670
snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3479
_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391
snd_func_concat) error evaluating strings
ALSA lib conf.c:3479
_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070
snd_func_refer) error evaluating name
ALSA lib conf.c:3479
_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3947
snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2146
snd_pcm_open_noupdate) Unknown PCM default
aplay: main:547: audio open error: No such device
The CMIPCI 8738 shows up on the pci bus,, modules load and tag along nicely. I gather nobody else needs dialog or whiptail. Why am I being asked for them?
[root@genius /usr/share/sounds/alsa]# grep CMI /etc/asound.state
state.CMI8738MC6 {
[root@genius /usr/share/sounds/alsa]# ls /scili/etc/asound.*
/etc/asound.state (Should ther be another?)
Yes, of course it's a mess. What's the way out??
Thanks for any thoughts