alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: "Jason A. Donenfeld" <jason@zx2c4.com>
To: alsa-devel@alsa-project.org
Subject: Realtek ALC275
Date: Wed, 10 Feb 2010 19:07:48 -0500	[thread overview]
Message-ID: <f8d7c6611002101607m7701aa8el4c85d84ef1b61f8@mail.gmail.com> (raw)
In-Reply-To: <f8d7c6611002101605k4a57581gfc0f36ed64adb1c7@mail.gmail.com>

[-- 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

           reply	other threads:[~2010-02-11  0:07 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <f8d7c6611002101605k4a57581gfc0f36ed64adb1c7@mail.gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f8d7c6611002101607m7701aa8el4c85d84ef1b61f8@mail.gmail.com \
    --to=jason@zx2c4.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).