alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Realtek ALC275
       [not found] <f8d7c6611002101605k4a57581gfc0f36ed64adb1c7@mail.gmail.com>
@ 2010-02-11  0:07 ` Jason A. Donenfeld
  0 siblings, 0 replies; only message in thread
From: Jason A. Donenfeld @ 2010-02-11  0:07 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]

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

[-- Attachment #2: enable-internal-microphone.patch --]
[-- Type: text/x-patch, Size: 849 bytes --]

From 198d791792a15c8128dee7cc02c03eb8107921ee Mon Sep 17 00:00:00 2001
From: Jason A. Donenfeld <Jason@zx2c4.com>
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@zx2c4.com>
---
 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


[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-11  0:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <f8d7c6611002101605k4a57581gfc0f36ed64adb1c7@mail.gmail.com>
2010-02-11  0:07 ` Realtek ALC275 Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).