View previous topic :: View next topic |
Author |
Message |
Bjosch Tux's lil' helper
Joined: 04 Feb 2004 Posts: 148
|
Posted: Sun Jan 15, 2006 1:00 pm Post subject: No sound card detected on PowerMac [SOLVED] |
|
|
I can't get sound working on my PowerMac G4.The system does not detect any sound card with alsaconf. That has never been a problem with the other Gentoo installations. I think I have compiled everything into the kernel that's needed, I always used snd-powermac as module and I only remember the choice of PowerMac sound:
Quote: | # Sound
#
CONFIG_SOUND=m
CONFIG_DMASOUND_PMAC=m
CONFIG_DMASOUND=m
#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_GENERIC_DRIVER=y
#
# Generic devices
#
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
[...]
# ALSA PowerMac devices
#
CONFIG_SND_POWERMAC=m
CONFIG_SND_POWERMAC_AUTO_DRC=y |
Does anybody find an error, is there something missing? Into MacOS I could not find any specifications of the sound card, but I'm sure it's PCI.
Last edited by Bjosch on Sat Jan 21, 2006 4:22 pm; edited 1 time in total |
|
Back to top |
|
|
Bjosch Tux's lil' helper
Joined: 04 Feb 2004 Posts: 148
|
Posted: Sun Jan 15, 2006 3:43 pm Post subject: |
|
|
I tried this (compiled hard into, not as module SND_POWERMAC):
Quote: | # ALSA PowerMac devices
#
CONFIG_SND_POWERMAC=y
CONFIG_SND_POWERMAC_AUTO_DRC=y |
But it did not help. In /var/log/messages I found this:
Quote: | Jan 15 16:20:22 Aemilia PowerMac Snapper DMA sound driver rev 016 installed
Jan 15 16:20:22 Aemilia ALSA sound/ppc/pmac.c:1216: pmac: can't request resource 0!
Jan 15 16:20:22 Aemilia ALSA sound/ppc/pmac.c:1414: BUG? (sleeping_pmac == chip) (called from f101c844)
Jan 15 16:22:41 Aemilia rc-scripts: Usage: alsasound { start|stop|restart|save|restore }
Jan 15 16:22:41 Aemilia rc-scripts: alsasound without arguments for full help
Jan 15 16:23:23 Aemilia ALSA sound/ppc/pmac.c:1216: pmac: can't request resource 0!
Jan 15 16:23:23 Aemilia ALSA sound/ppc/pmac.c:1414: BUG? (sleeping_pmac == chip) (called from f101c844) |
Is it a bug in the kernel? |
|
Back to top |
|
|
Bjosch Tux's lil' helper
Joined: 04 Feb 2004 Posts: 148
|
Posted: Thu Jan 19, 2006 8:07 pm Post subject: |
|
|
Booting with the Install-CD I get informed about the sound card:
Quote: | Apple DMASOUND
driver = dmasound_pmac |
Now I tried with dma_sound enabled as module and compiled into it but nothing changes. With alsaconf or lspci no sound card is detected. I tried with dmasound_pmac as modules in /etc/module.autoload.d/ and with snd-powermac (with wich in the older system it worked fine. Is there a problem with the kernel, has anyone to give a hint where to start from? |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
|
Back to top |
|
|
Bjosch Tux's lil' helper
Joined: 04 Feb 2004 Posts: 148
|
Posted: Sat Jan 21, 2006 4:19 pm Post subject: |
|
|
Thanks, indeed I had forgotten to control the FAQs; the one thing irritating was that I remembered to compile ALSA as module, when I did it otherwise (on x86) it definitely did not work out. Now it was the contrary, as module it did not work, compiled hardly into the kernel there are no problems, I could configure with alsamixer everything and sound is working great!! Even better than ever!
Thanks a lot!
PS Even I have to say that in MacOS sound remains "clear" when going up to volume maximum, in linux it gets strange... |
|
Back to top |
|
|
fb l33t
Joined: 08 Dec 2003 Posts: 636 Location: New Zealand
|
Posted: Sun Jan 22, 2006 3:43 am Post subject: |
|
|
Bjosch wrote: | PS Even I have to say that in MacOS sound remains "clear" when going up to volume maximum, in linux it gets strange... |
If it is like my iMac G4 and a number of ppc machine around, you need to set
DRC range to the maximum. You should find this setting in any mixer. As far as
I know that ppc specific. |
|
Back to top |
|
|
Bjosch Tux's lil' helper
Joined: 04 Feb 2004 Posts: 148
|
Posted: Tue Jan 24, 2006 6:16 pm Post subject: |
|
|
Thanks for the advice, but I do this always. Anyway, sound is not very good under Linux/PPC. I can't remember how it was on x86 but if I want really good and clear sound I have to use MacOS X. |
|
Back to top |
|
|
|