Originally posted by newbuntu
Hardware: ASUS P5AD2-E Deluxe motherboard with onboard HDA-Intel/C-Media CMI9880 soundcard (which has 7.1 audio)
Distro: Ubuntu Hoary-Hedgehog
Problem: After getting the sound driver [snd_hda_intel] installed (see details below), I am unable to get:
1. sound out of the card (after initially getting some sound)
2. control of output channels other than the PCM / PC Speaker channels.
Here's what I've down so far (simplified):
1. I downloaded, compiled and installed the latest version of the alsa drivers, libraries and utilities (alsa-driver-1.0.9rc4a, alsa-lib-1.0.9rc4, alsa-utils-1.0.9rc4a). I also ran ./snddevices in the alsa-driver directory to create /devfs nodes.
2. I used alsaconf to workout what type of audio card I had.
3. I then used 'alsamixer' to try to set the audio levels -- whilst all channels are visible (PCM / Surround / Center / LFE / Side / IEC958 / PC Speaker / Input Sound), I can only adjust the PCM and PC Speaker levels.
At one point, I managed to get sound out of the side speakers by running 'esd' at the command prompt (and by using the speaker-test program in the alsa utils), but that seems to have gone away now.
I tried installing: alsa-oss, alsaplayer-esd, alsaplayer-alsa, alsaplayer. None of these things seem to make any difference.
I know the card is there and the driver is talking to it because of the entries in /proc and because alsamixer recoginses it.
$> cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xcadf4000 irq 16
I have the P5AD2 Premium which is basically the same motherboard (without 1066bus) so i guess everything about the
sound card are the same.
Firstly, do u use the alsa as modules or installed in the kernel ?
If installed as modules use "insmod snd-hda-intel model=full"
In ubuntu i guess you should put the option "model=full" to /etc/modules if i remember correctly. (I use Slackware)
This option is needed for 5.1/7.1 sound. without it didn't work for me.
If you don't use it, you get sound but not surround, so it is not rellevant to your problem. I just mention it in case you need it
When u add the module, try alsamixer
I can also change only PC speaker/PCM levels. I don't know why is that but the sound works perfectly.
Alsa is muted by default, so u need to press "m" to unmute them.
Then run "speaker-test -c N" where N=2 for stereo,6 for 5.1,8 for 7.1 depending on what type of speakers you have.
I have 5.1 speakers and hear everything fine.
If you don't hear correctly the try "speaker-test -c N -D plug:surround51" (again for 5.1 speakers)
If you want to have the regular mixer/player programs to work you need alsa oss emulation too.
I use the driver since early CVS stage (it was called snd-azx then, now snd-hda-intel) and it works perfectly.
The modules i load are the following:
Module Size Used by
snd_hda_intel 13696 0
snd_pcm_oss 48544 0
snd_mixer_oss 17664 1 snd_pcm_oss
snd_hda_codec 69248 1 snd_hda_intel
snd_pcm 80648 3 snd_hda_intel,snd_pcm_oss,snd_hda_codec
snd_timer 20484 1 snd_pcm
snd 44772 6 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_hda_codec,snd_pcm,snd_timer
snd_page_alloc 8712 2 snd_hda_intel,snd_pcm
It worked relatively easy for me (and for my friend) so i can't guess what is your problem. If you post what error do you get,
maybe i can tell you what is the fault.
I hope i helped.