* sound on dual G4 powermac
@ 2003-08-26 4:38 Paul Mackerras
2003-08-27 16:46 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Paul Mackerras @ 2003-08-26 4:38 UTC (permalink / raw)
To: Takashi Iwai; +Cc: linuxppc-dev
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: sound on dual G4 powermac
2003-08-26 4:38 sound on dual G4 powermac Paul Mackerras
@ 2003-08-27 16:46 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2003-08-27 16:46 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-27 16:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-26 4:38 sound on dual G4 powermac Paul Mackerras
2003-08-27 16:46 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).