Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208166 - pmac.c broken sound on powerbooks 3.5 titanium linux kernel
Summary: pmac.c broken sound on powerbooks 3.5 titanium linux kernel
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Jorge Manuel B. S. Vicetto
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-30 12:39 UTC by issiahhill
Modified: 2012-04-17 09:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description issiahhill 2008-01-30 12:39:48 UTC
I found a patch pmac.c.diff from this url that enables sound to work. Im not shure if it works for all new kernels, but it is reported to work from 2.6.21 to 2.6.23. I have used it to get my sound working, but it is sort of noisy on different players, but it works. Can you have someone check out this diff file and see if it can be useful to get into all related kernels if it can be used as a work around. Also please give credit to the original author of the patch source. Im just passing it on, because I never could get sound working on powerbook 3.5 titanium after 2.6.19 kernels. now it works, so check into tis patch and why it works.Here is the writeup below. Maybe you can get it to work right.

Ubuntu bug reporting
Bug #87652:
No sound in linux-image-2.6.20-8-powerpc G4
 thh wrote on 2008-01-12: (permalink)

    * Patch for broken sound on G4 PowerMac (5.3 KiB, text/plain)

I have the same problem on my PowerMac G4. After reading the note from Dave Vasilevsky, I also checked the status in the snd_pmac_pcm_update function, and it seems that the failing DMA transfer has the status DEAD.
I've then checked the old OSS powermac sound driver in sound/oss/dmasound/dmasound_awacs.c (which used to work with newer kernels) - and yes, this driver handles DEAD DMA transfers!

So I've spent some time porting the DEAD DMA transfer handling code from the old driver to the new one - and now sound it working for me again with kernels 2.6.22 / Ubuntu 7.10.

I've attached my patch, would be nice if other users here could try it out, too!


Reproducible: Always

Actual Results:  
This patch got sound working but has some distorting.

Expected Results:  
clean sound playback

Use gstreamer, gentoo hardened-sources-2.6.23-r4 ppc
cd players,
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-07-12 03:52:59 UTC
@kernel / @hardened:

I doubt this is still relevant, but can you please take a look at this?

issiahhill:

I'm very sorry for the long time it took us to react - I just stumbled on this bug while looking at userrel bugs.
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-07-12 04:12:57 UTC
Reassigning to myself as this isn't a userrel bug. If anyone wants the bug, feel free to reassign it.
Comment 3 Pacho Ramos gentoo-dev 2012-04-17 09:27:17 UTC
(In reply to comment #1)
> @kernel / @hardened:
> 
> I doubt this is still relevant, but can you please take a look at this?
> 
> issiahhill:
> 
> I'm very sorry for the long time it took us to react - I just stumbled on
> this bug while looking at userrel bugs.

Please retest with latest