Bug 127738

Summary: No Sound after upgrade to 10.0; CMI8738/C3DX PCI sound card
Product: [openSUSE] SUSE LINUX 10.0 Reporter: John Bailo <jabailo>
Component: SoundAssignee: Ladislav Slezák <lslezak>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: diprob, jabailo, jsrain, matz, tiwai, wstephenson
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description John Bailo 2005-10-11 23:40:02 UTC
After upgrading from 9.3 to 10.0, my sound stopped working. 
 
KMix shows a white X on red circle. 
 
Cannot run tests in Control Center Hardware or Sound sections. 
 
My card is identified as 
 
CMI8738/C3DX PCI sound card 
 
I bought this card specifically because it was fully supported according to 
the Suse Hardware compatibility list.
Comment 1 Andreas Scherf 2005-10-17 16:25:33 UTC
Same here .. the sound comes again if i delete the sound card in YaST and run the configure procedure again ...
Comment 2 Takashi Iwai 2005-10-18 12:36:21 UTC
It's likely an update problem.  Once remove the card via yast2 and reconfigure it again as described in #1.  See README.SuSE in alsa package.
Comment 3 John Bailo 2005-10-18 13:37:31 UTC
Confirmed.  I did just that and it works great.
Comment 4 Andreas Scherf 2005-10-19 19:21:14 UTC
But after rebooting the sound is missing again. And after that i couldn't reproduce that effect described in #1. I didn't see the Starting audio device message while booting since SuSE 10.0 ... too bad.
Comment 5 John Bailo 2005-10-19 21:01:31 UTC
(In reply to comment #4)
> But after rebooting the sound is missing again. And after that i couldn't
> reproduce that effect described in #1. I didn't see the Starting audio device
> message while booting since SuSE 10.0 ... too bad.
> 

What I notice with Suse is that if you reboot without a full shutdown (that is, turn off the power) then it won't retain any of the configuration settings.

I don't know how to "force" a configuration change save, but anytime I make a signification change, I do a full shutdown and reboot to "lock in" the changes.
Comment 6 Takashi Iwai 2005-10-20 10:29:18 UTC
To comment #4:  alsasound init script never shows such a message any more at boot, because it is not alsasound init script who loads the driver.
Please make clear what you mean "sound is missing".  If /proc/asound/cards is missing or its entry is empty, it's a problem at loading sound modules.  OTOH, if /proc/asound/cards shows the right entry, it's just a mixer setting problem.

In the former case, check /etc/sysconfig/hardware/hwcfg-* files whether any of them contains your module (snd-cmipci).  If not, run yast sound dialog, delete the current one, and quit once. (Note that this quit step is important.)  Then, restart yast and reconfigure the sound device again.

In the latter case, you have to adjust mixer setting once, and do either a clean shutdown, or save the mixer status manually via "/usr/sbin/alsactl store" as root.

To comment #5:
Of course, if you don't do a clean shutdown, the system will be instable.
At a clean shutdown, alsasound init script saves the current mixer status to /etc/asound.state.  If this is skipped, the last-saved /etc/asound.state is used to restore the mixer state.  That's the only difference.
Comment 7 Andreas Scherf 2005-10-20 20:18:05 UTC
To answer your questions ... 
/proc/asound/cards --> didn't exists .. even /proc/asound is not here.

/etc/sysconfig/hardware/hwcfg- * didn't shows the soundcard anymore ..
but yast shows 2 cards (but i think that was my fault beause i used alsconf to add a soundcard instead of yast. But now yast soundconfig didn't do anything ..
it shows 2 cards. Two columns:
|blank|sound card|
|not configures|cm8738|
But if i want to delete or edit one of the entrys it does nothing. if i press 
'configure' it exits the yast sound module without any message. 
The only thing that works now is running alsconf and starting the sound device manually after each start .. 
I have removed the card from the computer and rebooted but nothing helped here.
Yast shows this 2 entries .. and i could remove them anymore .. i think this is a yast problem or ??

Comment 8 Andreas Scherf 2005-10-23 19:57:19 UTC
Hello, i found a solution for this mess. 
First delete the sound* files in /etc/modeprobe.d/ (i think it t worth to delete the *.yast_safe file too).
Now reboot SuSE 10 and reconfigure the sound card via yast and ... it work.
I tested it and it worked. It seems that yast has problems with the old sound installation files ...
I hope this help you.
Comment 9 Takashi Iwai 2005-10-25 14:02:37 UTC
That can be the reason.  Possibly, an old configuration file was read and override...

Ladislav, does yast save the module config file with a strange extension?
Comment 10 Ladislav Slezák 2005-10-26 09:06:29 UTC
Yast uses .YaST2save suffix which is ignored by modprobe - so no problem here.

Please, don't mix alsaconf with the yast module, yast doesn't support alsaconf configured cards properly (see bug #117066).

Could anybody attach /etc/modeprobe.d/sound, 'hwinfo --sound' output, hwcfg-* file and y2log when this problem occurs?
Comment 12 Will Stephenson 2006-01-10 16:54:13 UTC
Btw, the attached info regards a SBLive not a CMI8738.
Comment 13 Cristian Rodríguez 2006-09-25 04:29:50 UTC
*** Bug 207903 has been marked as a duplicate of this bug. ***
Comment 14 Jiri Srain 2007-05-21 11:36:15 UTC
*** Bug 116427 has been marked as a duplicate of this bug. ***
Comment 15 Jiri Srain 2007-06-07 11:23:44 UTC
This is update problem from 9.3 and older. Since the problem doesn't occurre if upgrading from 10.0 or newer, will not solve this issue any more.