[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sound on PowerBook G4 and iBook G4



On Thu, 19 Sep 2013, Stefan Gartner wrote:

>Hi,
>
>for some time audio has been broken on my PowerPC laptops (a PowerBook
>G4 12" identified as PowerBook6,4 and an iBook G4 12" identified as
>PowerBook6,5).
>
>After some trial and error I managed to get snd-aoa working for both of
>them with the attached patch against kernel 3.12-rc1.
>
>I have no idea if the patch is correct at all, but I thought it might
>be useful for other people experiencing the same problem on their
>PowerBooks.
>
>For some reason I had to add snd-aoa-i2sbus to /etc/modules to make
>sure the snd-aoa-* modules are loaded at startup.
>
>greetings,
>stefan

Hi Stefan

Many thanks for this patch.  It fixed sound on my iBook that had
previously used snd-powermac.

Do you think you could send it to the linuxppc-dev list like this
person did for a different version of the Powerbook 6,5 
https://www.mail-archive.com/linuxppc-dev%40lists.ozlabs.org/msg66841.html ?
That way it could get included in the kernel.

I made a slight modification to your patch:

+	{ .device_id = 38,
+	  .codecs[0] = {
+		.name = "tas",
+		.connections = tas_connections_noline,

since my machine has no external line-in/outs  For some reason though,
I still get a line-in showing in the sound mixers.  It's not a big
thing as I just need to select Microphone to record something.

Also, in pulseaudio the output port is always shown as headphones.
This is not really an issue since using snd-powermac it always shows
"speakers" even when the headphones are connected!

Like you, I also needed to add snd-aoa-i2sbus to /etc/modules.

If certain machines are migrating to snd-aoa then the debian installer
will need to be changed as discover-mac-io blacklists the snd-aoa
modules.  Has anybody got any ideas how this can be done?

Thanks 

Adam


Reply to: