Bug 31886 - Lenovo G50-30 inverted internal microphone
: Lenovo G50-30 inverted internal microphone
Status: NEW
: Branch p7
(All bugs in Branch p7/kernel-image-un-def)
: не указана
: all Linux
: P3 normal
Assigned To:
:
: https://bugs.launchpad.net/ubuntu/+so...
:
:
:
  Show dependency tree
 
Reported: 2016-03-14 17:12 by
Modified: 2016-06-29 21:37 (History)


Attachments
ALSA info (24.80 KB, text/plain)
2016-03-14 17:12, Andrey Liakhovets
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2016-03-14 17:12:38
Created an attachment (id=6673) [details]
ALSA info

The internal microphone of Lenovo G50-30 is affected by Ubuntu bug 1002978,
see https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1002978
and links from this bug to specific notebooks bugs.

OS:
ALT Linux Simply, updated to the current P7 branch.

Kernel:
4.1.19-un-def-alt0.M70P.1 #1 SMP PREEMPT Wed Mar 9 11:02:42 UTC 2016 x86_64
GNU/Linux
(the same must be true for kernel 4.4.5-un-def-alt1 from Sisyphus).

ALSA info applied.

This patch (after David Henningsson) fixes this behaviour:

Add a quirk to fix inverted internal stereo mic channel of Lenovo G50-30.

Signed-off-by: Andrey Liakhovets <liakh@dol.ru>

diff -Napru a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
--- a/sound/pci/hda/patch_conexant.c 2016-03-13 14:23:23.250305306 +0000
+++ b/sound/pci/hda/patch_conexant.c 2016-03-13 14:48:10.378464731 +0000
@@ -819,6 +819,7 @@ static const struct snd_pci_quirk cxt506
        SND_PCI_QUIRK(0x17aa, 0x21da, "Lenovo X220", CXT_PINCFG_LENOVO_TP410),
        SND_PCI_QUIRK(0x17aa, 0x21db, "Lenovo X220-tablet",
CXT_PINCFG_LENOVO_TP410),
        SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo IdeaPad Z560",
CXT_FIXUP_MUTE_LED_EAPD),
+       SND_PCI_QUIRK(0x17aa, 0x3905, "Lenovo G50-30", CXT_FIXUP_STEREO_DMIC),
        SND_PCI_QUIRK(0x17aa, 0x390b, "Lenovo G50-80", CXT_FIXUP_STEREO_DMIC),
        SND_PCI_QUIRK(0x17aa, 0x3975, "Lenovo U300s", CXT_FIXUP_STEREO_DMIC),
        SND_PCI_QUIRK(0x17aa, 0x3977, "Lenovo IdeaPad U310",
CXT_FIXUP_STEREO_DMIC),

Background:

Threads with discussions and patches (Conexant, Realtek, differential):
http://mailman.alsa-project.org/pipermail/alsa-devel/2012-February/049647.html
http://mailman.alsa-project.org/pipermail/alsa-devel/2012-June/052794.html
http://mailman.alsa-project.org/pipermail/alsa-devel/2012-June/052853.html
Corrections and sound cards additions:
http://mailman.alsa-project.org/pipermail/alsa-devel/2013-October/067250.html
http://mailman.alsa-project.org/pipermail/alsa-devel/2015-October/098881.html
http://mailman.alsa-project.org/pipermail/alsa-devel/2015-December/101612.html
http://mailman.alsa-project.org/pipermail/alsa-devel/2016-January/102883.html

Various advices to mute one channel of the internal microphone:
https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#No_microphone_input_on_Acer_Aspire_One
http://superuser.com/questions/644314/internal-microphone-no-sound-level-in-pavucontrol-but-record-with-arecord-paca
http://unix.stackexchange.com/questions/168200/fix-skype-audio-input-in-mint-17-cinnamon
http://askubuntu.com/questions/552010/lenovo-g50-30-mic-built-in-volume-problem
http://forum.ubuntu.ru/index.php?topic=259447.0
...