SUSE 11.2 no sound from SPDIF

Hi,

I just installed Suse 11.2, but I can not make SPDIF Out working.
The card is SpeedLink 8870 (based on C-Media CMI8768). For analog it is working fine without problem, but SPDIF is dead.

In YAST there is no volume for IEC, in kmix I unmuted all of them.

aplay -l is giving:
card 0: CMI8768 [C-Media CMI8768], device 0: CMI8738-MC8 [C-Media PCI DAC/ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CMI8768 [C-Media CMI8768], device 1: CMI8738-MC8 [C-Media PCI 2nd DAC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CMI8768 [C-Media CMI8768], device 2: CMI8738-MC8 [C-Media PCI IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0

So in my opinion it looks fine…
I tried mplayer -ao alsa:device=hw=0.2
So it should run device 2 as I understand. But it run with analog voice (just like mplayer -ao alsa:device=hw=0.0)

Aplay -L gave me this:

default:CARD=CMI8768
C-Media CMI8768, C-Media PCI DAC/ADC
Default Audio Device
front:CARD=CMI8768,DEV=0
C-Media CMI8768, C-Media PCI DAC/ADC
Front speakers
rear:CARD=CMI8768,DEV=0
C-Media CMI8768, C-Media PCI 2nd DAC
Rear speakers
surround40:CARD=CMI8768,DEV=0
C-Media CMI8768, C-Media PCI 2nd DAC
4.0 Surround output to Front and Rear speakers
surround41:CARD=CMI8768,DEV=0
C-Media CMI8768, C-Media PCI 2nd DAC
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CMI8768,DEV=0
C-Media CMI8768, C-Media PCI 2nd DAC
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CMI8768,DEV=0
C-Media CMI8768, C-Media PCI 2nd DAC
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CMI8768,DEV=0
C-Media CMI8768, C-Media PCI 2nd DAC
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CMI8768,DEV=0
C-Media CMI8768, C-Media PCI DAC/ADC
IEC958 (S/PDIF) Digital Audio Output
null
Discard all samples (playback) or generate zero samples (capture)

and I have no idea is it fine or not.

Can any one advice something?

>C-Media CMI8768, C-Media PCI DAC/ADC
> IEC958 (S/PDIF) Digital Audio Output
> null

This line does not look good, my suggestion is to try alsamixer and make sure all the iec958 devices are enabled. The fact that mplayer can not play over the spdif is also troubling. I would also suggest following the audio howto and you might need to modify your /etc/modprobe.d/sound file.

SDB:AudioTroubleshooting - openSUSE

I would pay close attention to step 5, it might be as simple as adding the proper model name to the sound file.

You could provide the information that is requested in the last half of our “multimedia” stickie:
Welcome to multimedia sub-area - openSUSE Forums
… and possibly that will give one of our users a better idea as to where help can be provided.

Alsamixer shows OO for all SPDIF, so it is OK, isn’t it?

I already thought about changing /etc/modprobe.d/sound file (/etc/modprobe.d/50-sound.conf, but i dont see any model values that I can put there for snd-cmipci.
Any idea where I can get them if they are not mentioned at http://hg.alsa-project.org/alsa-kernel/raw-file/5082de4abb26/Documentation/ALSA-Configuration.txt?
Or maybe they are, but I didn’t found them?

Hi,

I am refreshing this thread.
Anyone can help?

Merry Christmas,
Lustro

You could provide the information that is requested in the last half of our “multimedia” stickie:
Welcome to multimedia sub-area - openSUSE Forums
… and possibly that will give one of our users a better idea as to where help can be provided.

Merry Christmas.

Ok here you have it:

http://www.alsa-project.org/db/?f=4f90a97ada8874829b03bceefca47e290dcead16

rpm -qa ‘alsa

alsa-oss-32bit-1.0.17-25.2.x86_64
alsa-oss-1.0.17-25.2.x86_64
alsa-utils-1.0.21-3.1.x86_64
alsa-1.0.21-3.2.x86_64
alsa-plugins-32bit-1.0.21-3.3.x86_64
alsa-plugins-1.0.21-3.3.x86_64

rpm -qa ‘pulse

libpulse0-0.9.19-2.3.x86_64
libpulse-mainloop-glib0-0.9.19-2.3.x86_64
libxine1-pulse-1.1.16.1-7.6.x86_64
libpulse0-32bit-0.9.19-2.3.x86_64
linux-u2i5:~ # rpm -q libasound2
libasound2-1.0.21-3.2.x86_64

uname -a

Linux linux-u2i5 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/modprobe.d/50-sound.conf

options snd slots=snd-cmipci

Kaa7.leFtcOMtGx0:CMI8738/C3DX PCI Audio Device

alias snd-card-0 snd-cmipci

Thanks.

I did search on the alsa web site for the MSI 8768 and did not find any recent updates, although there are some for the CMI8330 and CMI8788 in versions 1.0.21 and 1.022 of alsa, where the 1.0.21 update provides some s/PDIF improvements to the CMI8788.

You could try updating alsa, where to do so you need to add these two repositories to your software pckage manager:

http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_11.2/

and

http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.2/

and then install all of the following:

  • alsa-driver-kmp-desktop
    and update
    *]alsa-oss-32bit, *]alsa-oss, *]alsa-utils, *]alsa, *]alsa-plugins-32bit, *]alsa-plugins.
    After they are installed/updated remove the two repositories from your software package manager (that is IMPORTANT), then reboot and test.

If that does not work then I recommend you write a bug report on openSUSE-11.2 component “sound”. There is guidance for writing such a bug report here: Submitting Bug Reports - openSUSE Such a bug report will come to the attention of the SuSE-GmbH packager for alsa, who is also an alsa-developer. Any fix that he produces will benefit all Linux distributions as he is very good at passing his fixes upstream.

After this operation sound card is not working at all…
As per YAST and kernel module snd-cmipci can not be loaded.

And just few motnhs ago everything was running fine… and I was so naive to perform full reinstall of SUSE after buying new hdd without saving old /etc and /home.

After this update, can you please provide the output of:

rpm -qa '*alsa*'
rpm -qa '*pulse*'
rpm -q libasound2
uname -a
cat /etc/modprobe.d/50-sound.conf

and also run the diagnostic script:

/usr/sbin/alsa-info.sh

and select SHARE/UPLOAD and provide the output URL it gives you.

Reference this comment, …

Please note that SuSE-GmbH package liveCDs.

What I ALWAYS do and what I recommend YOU do in the future, is download the liveCD and test from the liveCD before you install. A lot of effort was put into making liveCDs , in part for that purpose.

linux-u2i5:~ # rpm -qa ‘alsa
alsa-plugins-1.0.22-19.1.x86_64
alsa-oss-1.0.17-27.1.x86_64
alsa-oss-32bit-1.0.17-27.1.x86_64
alsa-1.0.22-51.1.x86_64
alsa-driver-unstable-kmp-default-1.0.22.20091225_2.6.31.5_0.1-1.1.x86_64
alsa-utils-1.0.21-19.1.x86_64
alsa-driver-kmp-default-1.0.22.20091225_2.6.31.5_0.1-1.1.x86_64
alsa-driver-kmp-desktop-1.0.22.20091225_2.6.31.5_0.1-1.1.x86_64
alsa-firmware-1.0.20-7.1.noarch
alsa-plugins-32bit-1.0.22-19.1.x86_64
linux-u2i5:~ # rpm -qa ‘pulse
libpulse0-0.9.19-2.3.x86_64
libpulse-mainloop-glib0-0.9.19-2.3.x86_64
libxine1-pulse-1.1.17-1.pm.23.3.x86_64
libpulse0-32bit-0.9.19-2.3.x86_64
linux-u2i5:~ # rpm -q libasound2
libasound2-1.0.21-3.2.x86_64
linux-u2i5:~ # uname -a
Linux linux-u2i5 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 x86_64 x86_64 x86_64 GNU/Linux
linux-u2i5:~ # cat /etc/modprobe.d/50-sound.conf

So it seems that kernel can not load module, right?

http://www.alsa-project.org/db/?f=a98f4886536607e7fac91e01f118caedc890379b

And regarding LiveCD usage - it was not change from 11.1 that caused troubles.
I had problems with SPDIF on my mainboard sound card before (11.0 as far as I remember) and after long fight I gave up and bought this SpeedLink card. It worked without problems - I was sure it is just working. After updating from 11.0 to 11.1 it still worked.
And after I installed the system on hew hdd I realised that it was working because of something that I did earlier, when trying to make integrated sound card work. But as it was 1 year earlier … I have no idea what was it. Maybe some kernel module?

This is a mistake. Remove alsa-driver-kmp-default and remove alsa-driver-unstable-kmp-default . You should ONLY have one driver for your kernel, not 3 different drivers for different kernels.

Then after removing the two inappropriate driver rpms, restart.

Note, you may also have to remove alsa-driver-kmp-desktop, and then re-install it.

Still can not load this module.

linux-u2i5:~ # rpm -qa ‘alsa
alsa-plugins-1.0.22-19.1.x86_64
alsa-oss-1.0.17-27.1.x86_64
alsa-oss-32bit-1.0.17-27.1.x86_64
alsa-1.0.22-51.1.x86_64
alsa-utils-1.0.21-19.1.x86_64
alsa-firmware-1.0.20-7.1.noarch
alsa-driver-kmp-desktop-1.0.22.20091225_2.6.31.5_0.1-1.1.x86_64
alsa-plugins-32bit-1.0.22-19.1.x86_64
linux-u2i5:~ # rpm -qa ‘pulse
libpulse0-0.9.19-2.3.x86_64
libpulse-mainloop-glib0-0.9.19-2.3.x86_64
libxine1-pulse-1.1.17-1.pm.23.3.x86_64
libpulse0-32bit-0.9.19-2.3.x86_64
linux-u2i5:~ # rpm -q libasound2
libasound2-1.0.21-3.2.x86_64
linux-u2i5:~ # uname -a
Linux linux-u2i5 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 x86_64 x86_64 x86_64 GNU/Linux
linux-u2i5:~ # cat /etc/modprobe.d/50-sound.conf

http://www.alsa-project.org/db/?f=fce824b7cf59d82596c3c858e3020f02276bd656

Please REMOVE “alsa-driver-kmp-desktop-1.0.22.20091225_2.6.31.5_0.1-1.1.x86_64” and then re-install “alsa-driver-kmp-desktop-1.0.22.20091225_2.6.31.5_0.1-1.1.x86_64” and then reboot and try again.

Could it be you installed “alsa-firmware” ?

Already did it.
However I was not rebooting between removing and installing.
Do you think it will help?

BTW you wrote:
“After they are installed/updated remove the two repositories from your software package manager (that is IMPORTANT), then reboot and test.”
Why is it important?

It is important because the old module needs to be unloaded and the new module loaded.

This is a COMPLETE WASTE OF TIME if you don’t do this.

I did, I just want to understand :slight_smile:

Its important because those new alsa rpms are very cutting edge, and sometimes they can break things worse.

So if one’s sound is working, one should stop. ie if it ain’t broke, don’t fix it.