Re: VGN-P11Z_G (hda-intel ALC262) internal microphone not working

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

 



Hi, Takashi,

On Wed, Jan 13, 2010 at 12:28 PM, Christian Stöveken
<christian.stoeveken@xxxxxxxxx> wrote:
> sorry to get back to you so late - I tried again 5 minutes ago and it is now
> working with the false parameter removed (/etc/modules:9: snd-hda-intel
> model=vaio)
>
> working "model=auto":
> http://www.alsa-project.org/db/?f=67f6a692f0ccd70d6893665d36c8b90a51f4a577
>
> also with "power_save=10 power_save_controller=N model=auto":
> http://www.alsa-project.org/db/?f=618f4d4ae530957b4b6d2b66751871d4073df685
>
> I hope this is how you expected it to look like.
> Also the headphones now work correctly.

Attached is a patch against current sound-2.6 master HEAD that:

* adds Christian's SSID to the relevant quirk table,
* prefers BIOS autoprobing for existing Sony VAIO models matching 0x104d90xx.

The second change was made to ease backing out the change in case of
regressions.

Best,
-Dan
From 1372724cfb24d342c60d94cd18101164208b0044 Mon Sep 17 00:00:00 2001
From: Daniel T Chen <crimsun@xxxxxxxxxx>
Date: Wed, 13 Jan 2010 19:25:37 -0500
Subject: [PATCH] ALSA: hda: Default to BIOS autoprobe for existing 0x104d90xx entries
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Christian reported[0] that his laptop does not have audible capture by
default. Debugging the symptom revealed that his model needs the auto
quirk, so add his SSID to alc262_cfg_tbl[].

Since we've accumulated several 0x104d90xx entries in the above quirk
table that correspond to the model=auto quirk, just disable them and
trust the BIOSes do the right thing.

[0] http://mailman.alsa-project.org/pipermail/alsa-devel/2010-January/024327.html

Tested-by: Christian Stöveken <christian.stoeveken@xxxxxxxxx>
Signed-off-by: Daniel T Chen <crimsun@xxxxxxxxxx>
---
 sound/pci/hda/patch_realtek.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index de1c5fd..8356b9f 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -11750,11 +11750,12 @@ static struct snd_pci_quirk alc262_cfg_tbl[] = {
 	SND_PCI_QUIRK(0x104d, 0x1f00, "Sony ASSAMD", ALC262_SONY_ASSAMD),
 	SND_PCI_QUIRK(0x104d, 0x8203, "Sony UX-90", ALC262_HIPPO),
 	SND_PCI_QUIRK(0x104d, 0x820f, "Sony ASSAMD", ALC262_SONY_ASSAMD),
+#if 0 /* disable the quirk since model=auto works better in recent versions */
 	SND_PCI_QUIRK(0x104d, 0x9016, "Sony VAIO", ALC262_AUTO), /* dig-only */
 	SND_PCI_QUIRK(0x104d, 0x9025, "Sony VAIO Z21MN", ALC262_TOSHIBA_S06),
 	SND_PCI_QUIRK(0x104d, 0x9035, "Sony VAIO VGN-FW170J", ALC262_AUTO),
+	SND_PCI_QUIRK(0x104d, 0x9039, "Sony VAIO VGN-P11Z_G", ALC262_AUTO),
 	SND_PCI_QUIRK(0x104d, 0x9047, "Sony VAIO Type G", ALC262_AUTO),
-#if 0 /* disable the quirk since model=auto works better in recent versions */
 	SND_PCI_QUIRK_MASK(0x104d, 0xff00, 0x9000, "Sony VAIO",
 			   ALC262_SONY_ASSAMD),
 #endif
-- 
1.6.5

_______________________________________________
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