Hi -
I got my RealTek AC97 sound card to work. This is how I did it:
Compiled and installed latest stable kernel (2.6.11.4 at time of writing) with usual sound modules (don't forget to do a “make modules-install”)
Compiled and installed latest alsa code from
www.alsa-project.org – although I'm not sure if this is necessary (alsa-driver-1.0.4rc1 at time of writing).
Replaced my “/etc/modutils/alsa-base” file with the text I've shown below- this information I got from the driver download on the RealTek web site. This was on Ubunto Linux 5.0.4. Other systems will have different module configuration files (such as /etc/modules.conf) – it may be necessary to cut and paste the text below over the appropriate sound configuration section of your modules file.
Good luck
Below: Some debug info and the contents of my /etc/modutils/alsa-base file.
# lspci
...
0000:00:1b.0 0403: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
...
root@ginger:/proc/asound # cat cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xcfdfc000 irq 16
root@ginger:/etc/modutils # cat alsa-base
#
# =========== START OF /etc/modutils/alsa-base ========
#
#alias sound-slot-0 via82cxxx_audio //remark this line, this is default audio driver
#====== added those lines =============
alias char-major-116 snd
options snd major=116 cards_limit=1
# -- Azalia controller -----------------------------
alias snd-card-0 snd-azalia
options snd-azalia index=0 id="Azalia"
#--- Intel 8x0 , SiS 7012 and NVidia----------
#alias snd-card-0 snd-intel8x0
#options snd-intel8x0 index=0 id="ICH"
#--- Via8233 Via686a -------------------------------
#alias snd-card-0 snd-via82xx
#options snd-via82xx index=0 id="VIA"
#--- ATI -------------------------------
#alias snd-card-0 snd-atiixp
#options snd-atiixp index=0 id="ATI"
//=================================
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
#=================================
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
# END