[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#299694: Kernel 2.6.8-powerpc has no sound on Mac Mini



Package:  kernel
Version:  2.6.8-powerpc

This kernel does not provide sound for the new Mac Mini.  Others have
worked out a partial fix, and various lists give the following
suggestions.

The first possibility is:

===== 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 */
 	}

This prospect has the disadvantage that the system hangs for a few
moments from time to time.  Very noticeable at boot; one might first
think the system has frozen altogether.

A better possibility is:

===== 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_AWACS;
 		// chip->can_byte_swap = 0; /* FIXME: check this */
 		chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */
 	}

This prospect doesn't cause the system to hang.

I have to make a few disclaimers:

1.  I tried this change on the 2.6.11.3 kernel.  I don't know about
2.6.8.  It worked for me on 2.6.11.3 with this change.

2.  I am not a kernel or device driver developer, and I do NOT know what
I am doing.  I am making an obvious and huge mistake, please bear with
me.

3.  I don't know if the proposed change would break other hardware which
works; e.g. other Mac and PowerPC products.

4.  I don't know if this bug would be important for Sarge rc2.

Thank you very much for all of your effort!

Marc Abel
US telephone:  (513) 275-4124
US toll free:  (866) 732-3537





Reply to: