mac mini alsa hack
john stultz
johnstul at us.ibm.com
Sat Feb 5 06:59:58 EST 2005
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 */
}
More information about the Linuxppc-dev
mailing list