[alsa-devel] [PATCH - snd-powermac 4/5] Allow input from mic in iBook G3 Dual-USB

Risto Suominen Risto.Suominen at gmail.com
Tue Jan 20 21:01:16 CET 2009


Allow input from microphone on iBook G3 Dual-USB (Tumbler).

Signed-off-by: Risto Suominen <Risto.Suominen at gmail.com>

diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c
index af76ee8..bd8f92b 100644
--- a/sound/ppc/pmac.c
+++ b/sound/ppc/pmac.c
@@ -1033,7 +1033,8 @@ static int __init snd_pmac_detect(struct snd_pmac *chip)
 	}
 	if (of_device_is_compatible(sound, "tumbler")) {
 		chip->model = PMAC_TUMBLER;
-		chip->can_capture = machine_is_compatible("PowerMac4,2");
+		chip->can_capture = machine_is_compatible("PowerMac4,2")
+				|| machine_is_compatible("PowerBook4,1");
 		chip->can_duplex = 0;
 		// chip->can_byte_swap = 0; /* FIXME: check this */
 		chip->num_freqs = ARRAY_SIZE(tumbler_freqs);
-- 
1.5.4.3



More information about the Alsa-devel mailing list