LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* mac mini alsa hack
@ 2005-02-04 19:59 john stultz
  0 siblings, 0 replies; only message in thread
From: john stultz @ 2005-02-04 19:59 UTC (permalink / raw)
  To: linuxppc-dev

Hey all,
	This clearly isn't the right fix, but it allows my mac mini to play
audio. It works, but is still somewhat broken, as any time I start
playing audio X hangs for a second or so. Also using alsamixer is very
slow. 

Its likely this patch also breaks whatever else uses "AOAKeylargo".

Anyway, just wanted to start the discussion on what the proper fix would
be.

thanks
-john

===== sound/ppc/pmac.c 1.36 vs edited =====
--- 1.36/sound/ppc/pmac.c	2004-12-20 18:52:47 -08:00
+++ edited/sound/ppc/pmac.c	2005-02-04 01:44:05 -08:00
@@ -964,7 +964,7 @@
 	if (device_is_compatible(sound, "AOAKeylargo")) {
 		/* Seems to support the stock AWACS frequencies, but has
 		   a snapper mixer */
-		chip->model = PMAC_SNAPPER;
+		chip->model = PMAC_SCREAMER;
 		// chip->can_byte_swap = 0; /* FIXME: check this */
 		chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */
 	}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-04 20:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-04 19:59 mac mini alsa hack john stultz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox