Bug 114102

Summary: Sound does not work
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Miguel Duarte <miguelduarte>
Component: SoundAssignee: Takashi Iwai <tiwai>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Beta 3   
Target Milestone: ---   
Hardware: PowerPC   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: modprobe.d sound file
/etc/sysconfig/sound

Description Miguel Duarte 2005-08-30 12:38:59 UTC
After installing Beta 3 on my iBook, sound does not work.  
Modules inserted:  
  
snd_powermac  
snd_pcm  
snd_timer  
snd  
i2c_keywest  
snd_page_alloc  
soundcore  
  
LOAD_OSS_EMUL_MODULES is set to yes, yet those modules are not inserted.  
I have to modprobe them by hand.
Comment 1 Miguel Duarte 2005-08-30 12:40:18 UTC
Created attachment 48159 [details]
modprobe.d sound file
Comment 2 Miguel Duarte 2005-08-30 12:41:16 UTC
Created attachment 48160 [details]
/etc/sysconfig/sound
Comment 3 Takashi Iwai 2005-08-30 12:44:35 UTC
Check /proc/asound/cards.  If the model is Tumbler or Snapper, the bug is
already fixed (#105448).
Comment 4 Miguel Duarte 2005-08-30 12:57:58 UTC
miguelduarte:~ # cat /proc/asound/cards 
0 [Snapper        ]: PMac Snapper - PowerMac Snapper 
                     PowerMac Snapper (Dev 38) Sub-frame 0 
 
So it seems, but fixed where? 
 
 
Comment 5 Miguel Duarte 2005-08-30 12:59:16 UTC
Oops... Didn't see the bug #... Sorry. 
Comment 6 Takashi Iwai 2005-08-30 13:00:12 UTC
Try kernel-of-the-day (KOTD), ftp://ftp.suse.com/pub/people/mantel/kotd
Comment 7 Miguel Duarte 2005-08-30 13:03:52 UTC
After reading the bug mentioned above, I still have some doubts...   
If I modprobe snd-pcm-oss, sound works ok.   
The problem is that SuSE doesn't insert that module by itself.   
I have to do it by hand, even checking if "LOAD_OSS_EMUL_MODULES" is set to  
"yes".  
 
Does a new kernel solve this? 
 
Comment 8 Takashi Iwai 2005-08-30 13:23:08 UTC
Do you mean that the sound works if snd-pcm-oss module is loaded even with the
older kernel?  Isn't the module loaded after a fresh boot, too?

If it's not loaded, then try to boot with runlevel 3, login, and check lsmod
whether snd-powermac driver is already loaded at this stage.
Comment 9 Miguel Duarte 2005-08-30 13:26:11 UTC
With the Beta 3 stock kernel, yast autodetects the sound card, but only 
snd-powermac is inserted. The snd-pcm-oss module is never loaded, as far as I 
can tell. 
 
 
Comment 10 Takashi Iwai 2005-08-30 13:29:18 UTC
Let me ask again: Do you mean that the sound works if snd-pcm-oss module is
loaded even with the older kernel?
Comment 11 Miguel Duarte 2005-08-30 13:39:23 UTC
Yes. 
 
Now I've updated to the KOTD. 
And I think I messed things up, because now alsasound start doesn't load any 
modules... 
 
Comment 12 Takashi Iwai 2005-08-30 13:43:44 UTC
"alsasound start" won't load the alsa modules but only oss-emulation modules.
The main ALSA modules are loaded via udev/hotplug stuff.
(But you can still run "alsasound restart" to force to load modules.)

Anyway, please reboot the system on runlevel 3, and check whether the module is
loaded as described above.
Comment 13 Miguel Duarte 2005-08-30 13:57:26 UTC
After rebooting into runlevel 3:   
   
-Alsa modules are not loaded.   
-Doing a alsasound restart loads them, execept for snd-pcm-oss, although now   
it seems I have sound even without it (snd-pcm-oss).  
Comment 14 Takashi Iwai 2005-08-30 14:06:57 UTC
The bug with "alsasound restart" was already fixed.  Will be available on beta4.

The fact that the modules are not loaded at boot implies that it's a
udev/hotplug problem.


*** This bug has been marked as a duplicate of 113158 ***