LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   C-Media 9880 : No sound except 2.1 (https://www.linuxquestions.org/questions/slackware-14/c-media-9880-no-sound-except-2-1-a-603842/)

duryodhan 12-01-2007 10:20 PM

C-Media 9880 : No sound except 2.1
 
Hey,
I have a ASUS P5GDC-V motherboard with C-Media 9880 Onboard high def audio.

alsaconf setup my sound with the snd-hda-intel module and everything is working fine. Then I tested out new 5.1 speakers and found that I was only getting output for the front 2 speakers and the woofer. No output was coming from any of the other channels. I get output on all channels in Windows.

The alsa documentation in the kernel states in the snd-hda-intel part :
Quote:

CMI9880
__________minimal_______3-jack in back
__________min_fp________3-jack in back, 2-jack in front
__________full__________6-jack in back, 2-jack in front
__________full_dig______6-jack in back, 2-jack in front, SPDIF I/O
__________allout________5-jack in back, 2-jack in front, SPDIF out
__________auto__________auto-config reading BIOS (default)

(underlines added as (quote) removes spaces.
the full_dig matches my case. I need to know how do I force the kernel module to use CMI9880 and full_dig automatically. Is there anyway I can do this ?



Anyone manage to get C-Media to output on all channels in their linux boxes ?

the sound works fine in windows, so its not a H/W problem.


Another thing, I don't know whether this is related.. I don't have any file named /dev/dsp or /dev/audio .

I am on kernel 2.6.23 .. self compiled .


I tried
Quote:

modprobe snd-hda-intel model=cmi9880
but that doesn't seem to do anything.

Peacedog 12-02-2007 04:28 PM

Hi duryodhan, You might try adding the following to your /etc/modprobe.conf.
Code:

options snd-intel-hda index=0 model=full_dig
Good luck. ;-)

duryodhan 12-02-2007 09:45 PM

Hey

It seems to be working fine now ... I will have to get some true 6.1 movies/mp3s to check it fully ... but in normal mp3s some sound is coming from the other channels too

thanks a lot!!

I realise why you added model=full_dig ... but why did you add index=0 ?

duryodhan 12-02-2007 10:08 PM

and shouldn't it be snd-hda-intel ?

lsmod gives
Quote:

bash-3.1# lsmod
Module Size Used by
i915 23936 2
fuse 38420 8
snd_hda_intel 257308 2
snd_pcm 64516 1 snd_hda_intel
snd_timer 20484 1 snd_pcm
snd 38008 7 snd_hda_intel,snd_pcm,snd_timer
soundcore 9440 1 snd
snd_page_alloc 11144 2 snd_hda_intel,snd_pcm
so I changed it to snd-hda-intel and kept the other line too /


Also, I added it to /etc/modprobe.d/sound as modprobe.conf is deprecated , just thought you would like to know ...

evilDagmar 12-03-2007 02:58 AM

For future reference, use something like this to test:

speaker-test -c6 -Dsurround51 -t wav

Peacedog 12-03-2007 07:15 AM

Quote:

Originally Posted by duryodhan (Post 2978064)
and shouldn't it be snd-hda-intel ?

Sorry, typo error, :D glad it's sorted.
Good luck. ;-)


All times are GMT -5. The time now is 04:44 PM.