[alsa-devel] [PATCH - snd-powermac 1/1] Allow input from mic in iBook G3 Dual-USB (older kernels)

Risto Suominen Risto.Suominen at gmail.com
Tue Jan 20 21:02:56 CET 2009


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

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

diff --git a/ppc/pmac_old.c b/ppc/pmac_old.c
index 1bb65fe..c6ebc11 100644
--- a/ppc/pmac_old.c
+++ b/ppc/pmac_old.c
@@ -964,7 +964,8 @@ static int __init snd_pmac_detect(struct snd_pmac *chip)
 	}
 	if (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