mac mini alsa hack

From: john stultz <hidden>
Date: 2005-02-04 20:24:46

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 */
 	}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help