[Lenovo Ideapad 310][80SM, Conexant CX20751/2, Mic, Internal] Inverted internal microphone

Bug #2011623 reported by Claudio Tiecher
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The internal mic does not work out-of-the-box. The recorded sound is barely audible on many apps, such as Skype, Teams, Zoom.

Quick fix is to mute one of the channel.

Same issue as described here: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1002978

SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaRecordingTest: ALSA recording test through plughw:PCH successful
Symptom_Card: Built-in Audio - HDA Intel PCH
Symptom_Jack: Mic, Internal
Symptom_PulseAudioRecordingTest: PulseAudio recording test through plughw:PCH successful
Symptom_Type: None of the above
Tags: jammy
Title: [80SM, Conexant CX20751/2, Mic, Internal] Recording problem
Uname: Linux 5.15.0-67-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
_MarkForUpload: True
dmi.bios.date: 03/21/2016
dmi.bios.release: 1.23
dmi.bios.vendor: LENOVO
dmi.bios.version: 0XCN23WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: Toronto 5A2
dmi.board.vendor: LENOVO
dmi.board.version: 31900002 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo ideapad 310-15ISK
dmi.ec.firmware.release: 1.23
dmi.modalias: dmi:bvnLENOVO:bvr0XCN23WW:bd03/21/2016:br1.23:efr1.23:svnLENOVO:pn80SM:pvrLenovoideapad310-15ISK:rvnLENOVO:rnToronto5A2:rvr31900002WIN:cvnLENOVO:ct10:cvrLenovoideapad310-15ISK:skuLENOVO_MT_80SM_BU_idea_FM_Lenovoideapad310-15ISK:
dmi.product.family: IDEAPAD
dmi.product.name: 80SM
dmi.product.sku: LENOVO_MT_80SM_BU_idea_FM_Lenovo ideapad 310-15ISK
dmi.product.version: Lenovo ideapad 310-15ISK
dmi.sys.vendor: LENOVO
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: janclod 1105 F.... pulseaudio
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: XFCE
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2023-03-07 (7 days ago)
InstallationMedia: Xubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
MachineType: LENOVO 80SM
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-67-generic root=UUID=73afdd96-ca5a-45fd-bd9f-d12d53abf7c0 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.15.0-67.74-generic 5.15.85
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-67-generic N/A
 linux-backports-modules-5.15.0-67-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.10
Tags: jammy
Uname: Linux 5.15.0-67-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 03/21/2016
dmi.bios.release: 1.23
dmi.bios.vendor: LENOVO
dmi.bios.version: 0XCN23WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: Toronto 5A2
dmi.board.vendor: LENOVO
dmi.board.version: 31900002 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo ideapad 310-15ISK
dmi.ec.firmware.release: 1.23
dmi.modalias: dmi:bvnLENOVO:bvr0XCN23WW:bd03/21/2016:br1.23:efr1.23:svnLENOVO:pn80SM:pvrLenovoideapad310-15ISK:rvnLENOVO:rnToronto5A2:rvr31900002WIN:cvnLENOVO:ct10:cvrLenovoideapad310-15ISK:skuLENOVO_MT_80SM_BU_idea_FM_Lenovoideapad310-15ISK:
dmi.product.family: IDEAPAD
dmi.product.name: 80SM
dmi.product.sku: LENOVO_MT_80SM_BU_idea_FM_Lenovo ideapad 310-15ISK
dmi.product.version: Lenovo ideapad 310-15ISK
dmi.sys.vendor: LENOVO

Related branches

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 2011623

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected jammy
description: updated
Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : IwConfig.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : Lspci.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : Lspci-vt.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : Lsusb.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : Lsusb-t.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : Lsusb-v.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : PaInfo.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : ProcEnviron.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : ProcModules.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : PulseList.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : RfKill.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : UdevDb.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : WifiSyslog.txt

apport information

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Claudio Tiecher (claudiotiecher) wrote (last edit ):

I did try to debug this a little bit (newbie here).

Based on the kernel documentation of the sound subsystem (https://www.kernel.org/doc/html/latest/sound/hd-audio/notes.html), I managed to narrow down the issue to the /sound/pci/hda/patch_conexant.c

When I do the following the mic correctly works without needing to mute one channel:
 - $ systemctl --user stop pulseaudio.socket
 - $ systemctl --user stop pulseaudio.service
 - # echo inv_dmic_split=yes > /sys/class/sound/hwC0D0/hints
 - # echo 1 > /sys/class/sound/hwC0D0/reconfig
 - $ systemctl --user start pulseaudio.service
 - $ systemctl --user start pulseaudio.socket

However there is background noise. Am I on a good track?

I was thinking to add to the kernel this line of code to patch_conexant.c:
 SND_PCI_QUIRK(0x17aa, 0x3828, "Lenovo IdeaPad 310", CXT_FIXUP_STEREO_DMIC),

Does it seem a good approach?

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote :

I did some more testing, this seems to fix the mic issue, add the following line of code (note different subsystem ID compared to above):
SND_PCI_QUIRK(0x17aa, 0x3815, "Lenovo IdeaPad 310", CXT_FIXUP_STEREO_DMIC)

I did compile the module and overwritten the file inside the kernel folder. After rebooting the mic works without needing to mute one channel. However there is high background noise. Any suggestion on reducing background noise?

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote :
tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.