Mac mini and sound works!

Bret Hughes bhughes at elevating.com
Fri Mar 25 03:12:30 UTC 2005


I have heard sound from my mac mini line out and it is good.  Does
anyone have a clue how to get the speaker built into the mini to play?

I don't know enought to know how weel this works but I was able to turn
on the sound using amixer:

amixer sset Master 10 unmute
and 
amixer sset 'PC Speaker' 10 unmute

as I said Line out to my stereo receiver sounds great but nothing on the
speaker

this sound was heard using mplayer playing a mov (mpeg4) file.

For those interested, here is the diff to get alsa working on this box:

[root at minimac ppc]# diff -Naur pmac.c
/usr/src/linux/kernel-2.6.11/linux-2.6.11/sound/ppc/
--- pmac.c	2005-03-02 01:38:33.000000000 -0600
+++
/usr/src/linux/kernel-2.6.11/linux-2.6.11/sound/ppc/pmac.c	2005-03-21
23:40:35.000000000 -0600
@@ -964,7 +964,8 @@
 	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->model = PMAC_SNAPPER;
 		// chip->can_byte_swap = 0; /* FIXME: check this */
 		chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */
 	}


Any tips appreciated.

Bret




More information about the test mailing list