Realtek ALC275

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

 



Hello All,

The new Vaio F series has a Realtek ALC 275, which is currently setup
in patch_realtek.c to use the 269 configuration. Unfortunately this
does not correctly enable the internal microphone, and the line-in is
not tied to any mixer control. The attached file will enable the
internal microphone, but will do so at the expense of the line-in.

According to Takashi, "The problem is that the digital-mic of pin 0x12
has the exclusive connection to the selector 0x22, followed to ADC
0x11, while other analog input pins are connected to 0x23/0x24, to ADC
0x08/0x09. Thus, the driver requires the dynamic switching of ADCs,
which isn't fully guaranteed to work. A similar situation is found for
Conexant codecs, and a same style hack would be needed for the realtek
codec."

This bug is being tracked here:
http://code.google.com/p/vaio-f11-linux/issues/detail?id=2 and here:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4909 .

I'm wondering if anyone has any advice on how to implement the
necessary dynamic ADC switching.

Thanks,
Jason Donenfeld
From 198d791792a15c8128dee7cc02c03eb8107921ee Mon Sep 17 00:00:00 2001
From: Jason A. Donenfeld <Jason@xxxxxxxxx>
Date: Wed, 10 Feb 2010 18:49:16 -0500
Subject: [PATCH] Force ALC269 to use internal microphone on VPCF11.


Signed-off-by: Jason A. Donenfeld <Jason@xxxxxxxxx>
---
 sound/pci/hda/patch_realtek.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index da34095..e62c5a7 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -13119,11 +13119,11 @@ static int patch_alc268(struct hda_codec *codec)
 
 static hda_nid_t alc269_adc_nids[1] = {
 	/* ADC1 */
-	0x08,
+	0x11,
 };
 
 static hda_nid_t alc269_capsrc_nids[1] = {
-	0x23,
+	0x22,
 };
 
 /* NOTE: ADC2 (0x07) is connected from a recording *MIXER* (0x24),
-- 
1.6.6.1

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux