Bug 331659

Summary: Sound does not work in iBook G4
Product: [openSUSE] openSUSE 11.0 Reporter: Alexander Graf <alex>
Component: SoundAssignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: hwasungmars, lslezak, sbrabec, SchwartzkopffD
Version: Beta 1   
Target Milestone: ---   
Hardware: Macintosh   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: hwinfo --sound output

Description Alexander Graf 2007-10-07 19:35:43 UTC
After having installed openSUSE 10.3 on my iBook, sound did not work. Apparently snd-powermac does not get loaded automatically.
Comment 1 Takashi Iwai 2007-10-11 09:55:50 UTC
To be sure: after you load snd-powermac module, does the sound work again?

If yes, it's a question of module loading.  On 10.3, all hardware-related drivers are loaded via udev while /etc/sysconfig/hardware/* was used on earlier versions.  And, there seems no automatic loading method for snd-powermac so far.

As a simple workaround, you can add snd-powermac to $MODULES_LOADED_ON_BOOT in /etc/sysconfig/kernel file...
Comment 2 Alexander Graf 2007-10-11 15:34:36 UTC
After I load the snd-powermac module, everything works fine. The same effect can be seen on the Pismo Powerbooks (olh posesses).

It would be great if that could be done automatically. I doubt the average user wants to edit config files to have sound ;-).
Comment 3 Takashi Iwai 2007-10-15 14:11:12 UTC
OK, another question is whether YaST detects the driver properly in the sound configuration.  How about it?

If it can find, then YaST could add the corresponding entry to /etc/sysconfig/kernel appropriately.  (Basically there is the same problem for non-PnP ISA and other static cards...)
Comment 4 Alexander Graf 2007-10-16 21:06:44 UTC
It detects the sound card correctly (shows the entry in the menu), /etc/sysconfig/kernel#MODULES_LOADED_ON_BOOT is empty though.
Comment 5 Alexander Graf 2007-10-16 21:09:27 UTC
Oh, 'could add the entry'. Sorry, I misread that one. Yes, I think that should work. If you need a device to test that with, I am sure our friendly Olafs can help you out ;-).
Comment 6 Olaf Hering 2007-10-18 14:22:04 UTC
what gives hwinfo --sound when snd-powermac is not loaded?
I think sound worked ok for me on the pismo.
Comment 7 Alexander Graf 2007-10-18 19:21:47 UTC
Created attachment 179313 [details]
hwinfo --sound output
Comment 8 Olaf Hering 2007-10-19 09:17:03 UTC
maybe you have to enable full udev debug, and run udevtrigger and parse /var/log/messages for the culprit. could be a hwup bug.
Comment 9 Dirk Schwartzkopff 2007-10-22 13:05:23 UTC
I've got the same problem. I can "solve" it if I go (after each boot) to the sound module of yast, delete the entry and select Bearbeiten (configure?) and Weiter (continue?). The sound is working but only if I start the application (xine, kaffeine, etc) with root.
Comment 10 Olaf Hering 2007-11-07 12:26:10 UTC
something writes /etc/sysconfig/hardware/hwcfg-static-sound-0 during a fresh install, but this file is not processed. As a result, snd-powermac is not loaded.

 /etc/sysconfig/hardware/hwcfg-static-sound-0
# YaST configured sound card snd-card-0
# iPir.BzOrCJ79erD:Integrated Sound (screamer)
MODULE='snd-powermac'
STARTMODE='auto'
Comment 11 Takashi Iwai 2007-11-12 10:32:52 UTC
It's likely YaST that wrote that file.  It's a missing feature on 10.3 that YaST doesn't set up properly for static assigned sound cards.

Ladislav, can you change YaST sound module to modify /etc/sysconfig/kernel:MODULES_LOADED_ON_BOOT to add (and remove) the sound module instead of writing a dead hwcfg file?
Comment 12 Ladislav Slezák 2007-11-12 11:22:11 UTC
That's a leftover from the old configuration concept, MODULES_LOADED_ON_BOOT should be used now.
Comment 13 Hwasung Lee 2007-11-16 22:05:53 UTC
I am sorry, I was reading the bug entry because I have the same problem. After reading the comments, looks like somebody resolved the problem. Can somebody please give a step-by-step procedure how to fix this? I have just switched to Linux from MacOS X, so it would be great if it is user friendly.
Comment 14 Dirk Schwartzkopff 2007-11-19 10:33:11 UTC
Edit the file /etc/sysconfig/kernel (with root authority) and change the line MODULES_LOADED_ON_BOOT="" to MODULES_LOADED_ON_BOOT="snd-powermac". After reboot sound should working.
Comment 15 Ladislav Slezák 2008-04-25 14:52:47 UTC
Still not fixed.
Comment 16 Ladislav Slezák 2008-04-30 08:57:58 UTC
Should be fixed in yast2-sound-2.16.10.

Please try Beta3 (when it's available later) or FACTORY
Comment 17 Ladislav Slezák 2008-05-14 14:36:55 UTC
*** Bug 131606 has been marked as a duplicate of this bug. ***