[alsa-devel] [PATCH - powermac] Allow input from microphone on Tumbler

Risto Suominen risto.suominen at gmail.com
Mon Feb 28 09:38:45 CET 2011


From: Risto Suominen <Risto.Suominen at gmail.com>

Allow input from microphone on remaining PowerBooks and iBooks with Tumbler.
Tested only with PowerBook G4 Gigabit Ethernet (PowerBook3,3).

Signed-off-by: Risto Suominen <Risto.Suominen at gmail.com>
---
Kernel version 2.6.32 (probably any 2.6), ALSA 1.0.22.1.

The patch is available here, too:
http://ristosu.wippiespace.com/pub/alsa-pmac-1.0.22.1-p1.diff

--- a/alsa-kernel/ppc/pmac.c.org	2009-12-28 16:21:33.000000000 +0200
+++ b/alsa-kernel/ppc/pmac.c	2011-02-27 21:42:53.000000000 +0200
@@ -1034,7 +1034,11 @@ static int __devinit snd_pmac_detect(str
 	if (of_device_is_compatible(sound, "tumbler")) {
 		chip->model = PMAC_TUMBLER;
 		chip->can_capture = machine_is_compatible("PowerMac4,2")
-				|| machine_is_compatible("PowerBook4,1");
+				|| machine_is_compatible("PowerBook3,2")
+				|| machine_is_compatible("PowerBook3,3")
+				|| machine_is_compatible("PowerBook4,1")
+				|| machine_is_compatible("PowerBook4,2")
+				|| machine_is_compatible("PowerBook4,3");
 		chip->can_duplex = 0;
 		// chip->can_byte_swap = 0; /* FIXME: check this */
 		chip->num_freqs = ARRAY_SIZE(tumbler_freqs);


More information about the Alsa-devel mailing list