Re: RealTek Inverted Mic Patch

From: Nathanael D. Noblet
Date: Fri Aug 16 2013 - 11:28:50 EST


Hello,

Thanks for applying it - there is one more piece of hardware that needs the same type of fix. Here's an updated patch...
just the addition of

SND_PCI_QUIRK(0x1025, 0x022f, "Acer Aspire One", ALC662_FIXUP_INV_DMIC),

over and above what was already in the last patch..

On 08/16/2013 12:20 AM, Takashi Iwai wrote:
At Thu, 15 Aug 2013 14:27:07 -0600,
Nathanael D. Noblet wrote:

Hello,

I have hardware that suffers from an internal phase inverted mic that
isn't properly detected. Below is a patch that fixes the issue for my
particular hardware.

Pre patch alsa-info:

http://www.alsa-project.org/db/?f=a922c77ddf473a8f478ec334fa9dca684f213b59

Post patch alsa-info:
http://www.alsa-project.org/db/?f=14cd25b323d3bbb02fabbac78e62851569893c3f

Incase you care. The patch is small. I don't know if you need any kind
of signed off/written by etc for something so small. In any case there
is no intellectual property in this at all. Feel free to do as you wish
with it. However including it in the kernel would make my life easier.

Thanks, I fixed it in sound git tree now.


Takashi


Thanks,
--
Nathanael d. Noblet
t 403.875.4613
[2 alsa-realtek-inverted-mic.patch <text/x-patch (7bit)>]
--- a/sound/pci/hda/patch_realtek.c.org 2013-08-15 13:17:49.804492932 -0600
+++ b/sound/pci/hda/patch_realtek.c 2013-08-15 13:18:40.582364931 -0600
@@ -4208,6 +4208,7 @@
SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Ideapad Y550", ALC662_FIXUP_IDEAPAD),
SND_PCI_QUIRK(0x19da, 0xa130, "Zotac Z68", ALC662_FIXUP_ZOTAC_Z68),
SND_PCI_QUIRK(0x1b35, 0x2206, "CZC P10T", ALC662_FIXUP_CZC_P10T),
+ SND_PCI_QUIRK(0x1025, 0x034a, "Gateway LT27", ALC662_FIXUP_INV_DMIC),

#if 0
/* Below is a quirk table taken from the old code.



--
Nathanael d. Noblet
t 403.875.4613
--- a/sound/pci/hda/patch_realtek.c 2013-08-15 13:17:49.804492932 -0600
+++ b/sound/pci/hda/patch_realtek.c 2013-08-15 15:17:46.390273328 -0600
@@ -4208,6 +4208,8 @@
SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Ideapad Y550", ALC662_FIXUP_IDEAPAD),
SND_PCI_QUIRK(0x19da, 0xa130, "Zotac Z68", ALC662_FIXUP_ZOTAC_Z68),
SND_PCI_QUIRK(0x1b35, 0x2206, "CZC P10T", ALC662_FIXUP_CZC_P10T),
+ SND_PCI_QUIRK(0x1025, 0x034a, "Gateway LT27", ALC662_FIXUP_INV_DMIC),
+ SND_PCI_QUIRK(0x1025, 0x022f, "Acer Aspire One", ALC662_FIXUP_INV_DMIC),

#if 0
/* Below is a quirk table taken from the old code.