From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.5) Gecko/20041112 Firefox/1.0 Description of problem: Running system-config-soundcard application, I would expect the sound card to be detected and configured appropriately. The sound card is not detected as it is not PCI or USB, it uses the MACIO bus. After diving around, it seems like the mechanism to scan the MACIO bus was not being used, however this feature was available in kudzu. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. run system-config-soundcard 2. application replies "no soundcard found" 3. Actual Results: no soundcard is found, and no soundcard is configured Expected Results: Soundcard to be found and configured Additional info: I've taken a stab at fixing this bug, and a somewhat working RPM is available from: http://blog.subverted.net/personal/code/system-config-soundcard-ppc/
It is probably quite an ugly fix, but the long and the short is that this application is not written to search the MACIO bus. Create diffs against soundcard.py and soundcardBackend.py to see what has been changed. If necessary, I'll provide diffs if need be.
Does the soundcard show up at any point in kudzu? Could you paste the bit of your /etc/sysconfig/hwconf that relates to this card?
/etc/sysconfig/hwdata relevant section .... - class: AUDIO bus: MACIO detached: 0 driver: snd_powermac desc: "Apple Computer Inc.|PowerMac Sound" - You will find that kudzu does not search the MACIO bus.
Created attachment 110639 [details] s-c-soundcard-pmac.patch Look in the MACIO drivers as well, please test this patch.
While now it does detect the card, the volume channels are not the same on a mac as they are in a standard x86 machine. (I might be wrong, but this is how I see it) I'm running Feb 2 rawhide of ppc. Shows the correct soundcard, the correct module is shown, yet no sound is heard. $ system-config-soundcard amixer: Mixer attach default error: No such file or directory amixer: Mixer attach default error: No such file or directory aplay: main:508: audio open error: No such file or directory Here is the patch that gets it mostly working.. Is it just me or is the current http://download.fedora.redhat.com/pub/fedora/linux/core/development/ppc/SRPMS/ system-config-soundcard* really broken ? It doesnt seem to load modules, or save anything to /etc/modules.conf, seems really strange to me. Here is a patch from a semi working version. It tends to double up information in modules.conf when you run the application multiple times.. Here is something that mostly works, except for the dupicated info in modrobe.conf.. feel free to pull it apart.. its probably quite messy. http://blog.subverted.net/personal/code/system-config-soundcard-ppc/sc-working.patch Wade Mealing
Created attachment 110692 [details] patch to get it .. somewhat working.. I dont expect this to be complete You'll need to hack this up, but you should see what im getting at. It sets the correct volume controls for the snd_powermac module.
From what I have found out, my patch doesnt work for the imac mini, I'm going to do a little more research into exactly which volume controls that need to be changed. Changing the master volume isnt enough for Apple hardware.
Fixed in CVS. 2005-04-02 Bastien Nocera <hadess> * src/soundcard.py: remove use of deprecated gtk.FALSE and gtk.True (Closes: #153053) * src/soundcardBackend.py: scan the ISA bus (Closes: #146888), and the MacIO bus. Also set the "DRC Range" mixer to on for Macs (Closes: #146357)
CLOSED RAWHIDE huh...are you sure the CVS change above has made it into a rawhide package yet? system-config-soundcard-1.2.11-2 doesn't seem to fix the problem - no soundcard detected on a Mac Mini. Wade's earlier patches (when they weren't official) worked fine on the same system.
Ignore that, I see Wade's comment that the current fix doesn't work on a Mac Mini. Should the bug be considered closed yet?
Open another bug if you're certain the bug isn't fixed for the Mac Mini. Please also attach the output of "kudzu -p -c AUDIO" if you were to open a bug (note, if it doesn't show anything, that means that it isn't against system-config-soundcard that you should file a bug...).
(In reply to comment #11) > Open another bug if you're certain the bug isn't fixed for the Mac Mini. > Please also attach the output of "kudzu -p -c AUDIO" if you were to open a bug > (note, if it doesn't show anything, that means that it isn't against > system-config-soundcard that you should file a bug...). Done just that: bug #157932