I'm running X/Kubuntu 6.06 with an Asus A8N motherboard (Realtek ALC850 onboard sound).
I tried to install Enemy Territory on it, and the sound didn't work. I downloaded ALSA and tried to install it.
I got make errors, googled them, and found that I needed to use the same version of gcc to compile ALSA as had been used for the Kernel.
I did the easy-ubuntu-way of pseudo-recompiling the kernel (apt-get install linux-headers etc.) and then tried making ALSA again. It all worked with no errors.
On exit, it said that everything was probably muted, and that I should use a mixer to set the levels up.
When I open alsamixergui, I get
alsamixer: function snd_ctl_open failed for default: No such device.
The 'no such devide' made me think I'd missed something (like a vital part of the install?)
When I open xine, i get
xine was unable to initialize any audio drivers.
Which made me fairly sure it wasn't alsamixergui being broken.
I know i've missed something, and I have a feeling i'm going to kick myself when I find out what it is. But I can't work it out.