[alsa-devel] Conexant CX20588 in Acer 3830TG fix for internal mic amps
Takashi Iwai
tiwai at suse.de
Sun Jan 5 11:30:25 CET 2014
At Sat, 28 Dec 2013 23:56:52 +0100,
Christopher K. wrote:
>
> Hi,
>
> the internal mic in my notebook does not work (has never worked with
> pulse) with the default driver settings. Setting Node 0x23 (internal
> mic boost volume) from
>
> Amp-In vals: [0x03 0x03]
> to
> Amp-In vals: [0x02 0x00]
>
> makes it work in Skype and shows peaks in pulseaudio.
> I have no idea what these numbers represent, but apparently it doesn't
> work if they're the same.
> Is there any way to figure out what this does and which settings are correct?
>
> Info: http://www.alsa-project.org/db/?f=be2d83a353d47586ac2197fdb56d2085eec61b3f
>
> Any help would be greatly appreciated.
Could you try the patch below?
Then you'll have a new mixer control "Inverted Mic", and mute this
should fix the stereo digital mic problem.
Takashi
---
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index 6df4c35b48c5..2fdbc7a0f98b 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -3236,7 +3236,7 @@ enum {
CXT_FIXUP_INC_MIC_BOOST,
CXT_FIXUP_HEADPHONE_MIC_PIN,
CXT_FIXUP_HEADPHONE_MIC,
- CXT_FIXUP_GPIO1,
+ CXT_FIXUP_ASPIRE_3830,
CXT_FIXUP_THINKPAD_ACPI,
};
@@ -3481,7 +3481,7 @@ static const struct hda_fixup cxt_fixups[] = {
.type = HDA_FIXUP_FUNC,
.v.func = cxt_fixup_headphone_mic,
},
- [CXT_FIXUP_GPIO1] = {
+ [CXT_FIXUP_ASPIRE_3830] = {
.type = HDA_FIXUP_VERBS,
.v.verbs = (const struct hda_verb[]) {
{ 0x01, AC_VERB_SET_GPIO_MASK, 0x01 },
@@ -3489,6 +3489,8 @@ static const struct hda_fixup cxt_fixups[] = {
{ 0x01, AC_VERB_SET_GPIO_DATA, 0x01 },
{ }
},
+ .chained = true,
+ .chain_id = CXT_FIXUP_STEREO_DMIC,
},
[CXT_FIXUP_THINKPAD_ACPI] = {
.type = HDA_FIXUP_FUNC,
@@ -3503,7 +3505,7 @@ static const struct snd_pci_quirk cxt5051_fixups[] = {
static const struct snd_pci_quirk cxt5066_fixups[] = {
SND_PCI_QUIRK(0x1025, 0x0543, "Acer Aspire One 522", CXT_FIXUP_STEREO_DMIC),
- SND_PCI_QUIRK(0x1025, 0x054c, "Acer Aspire 3830TG", CXT_FIXUP_GPIO1),
+ SND_PCI_QUIRK(0x1025, 0x054c, "Acer Aspire 3830TG", CXT_FIXUP_ASPIRE_3830),
SND_PCI_QUIRK(0x1043, 0x138d, "Asus", CXT_FIXUP_HEADPHONE_MIC_PIN),
SND_PCI_QUIRK(0x17aa, 0x20f2, "Lenovo T400", CXT_PINCFG_LENOVO_TP410),
SND_PCI_QUIRK(0x17aa, 0x215e, "Lenovo T410", CXT_PINCFG_LENOVO_TP410),
More information about the Alsa-devel
mailing list