sound on dual G4 powermac

2 messages, 2 authors, 2003-08-27 · open the first message on its own page

sound on dual G4 powermac

From: Paul Mackerras <hidden>
Date: 2003-08-26 04:38:08

I have been using this patch in 2.5/2.6 kernels on my dual G4 powermac
for some time.  Without it, I get no sound at all, even after
unmuting.  I don't know exactly why this fixes it, but this is what I
came up with in the process of doing a binary search between a kernel
that worked and one that didn't.

Paul.

diff -urN linux-2.5/sound/ppc/tumbler.c pmac-2.5/sound/ppc/tumbler.c
--- linux-2.5/sound/ppc/tumbler.c	2003-08-02 09:37:36.000000000 +1000
+++ pmac-2.5/sound/ppc/tumbler.c	2003-08-09 09:53:12.000000000 +1000
@@ -976,6 +976,9 @@
 	chip->mixer_data = mix;
 	chip->mixer_free = tumbler_cleanup;

+	if ((err = tumbler_init(chip)) < 0)
+		return err;
+
 	/* set up TAS */
 	tas_node = find_devices("deq");
 	if (tas_node == NULL)
@@ -1022,9 +1025,6 @@
 	if ((err = snd_ctl_add(chip->card, chip->speaker_sw_ctl)) < 0)
 		return err;

-	if ((err = tumbler_init(chip)) < 0)
-		return err;
-
 #ifdef CONFIG_PMAC_PBOOK
 	chip->resume = tumbler_resume;
 #endif
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: sound on dual G4 powermac

From: Takashi Iwai <hidden>
Date: 2003-08-27 16:46:04

At Tue, 26 Aug 2003 14:38:08 +1000,
Paul Mackerras wrote:
I have been using this patch in 2.5/2.6 kernels on my dual G4 powermac
for some time.  Without it, I get no sound at all, even after
unmuting.  I don't know exactly why this fixes it, but this is what I
came up with in the process of doing a binary search between a kernel
that worked and one that didn't.
thanks, i updated the driver on ALSA cvs.
Jaroslav will submit the patches later for 2.6 kernel.


Takashi

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help