No mic detected - Ubuntu 24.04 Beta

Bug #2061254 reported by Burnarz
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
In Progress
Medium
Hui Wang
Noble
In Progress
Medium
Hui Wang

Bug Description

On Ubuntu 23.10, my laptop microphone is detected/working fine, but can't be detected on Ubuntu 24.04.
Tried direct direct install of 24.04 and upgrade fromo 23.10, same problem

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: alsa-base 1.0.25+dfsg-0ubuntu7
ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
Uname: Linux 6.8.0-22-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/seq: burnarz 43101 F.... pipewire
 /dev/snd/controlC0: burnarz 43106 F.... wireplumber
 /dev/snd/controlC1: burnarz 43106 F.... wireplumber
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun Apr 14 01:04:10 2024
InstallationDate: Installed on 2024-04-13 (0 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Beta amd64 (20240412)
MachineType: LENOVO 83AR
PackageArchitecture: all
ProcEnviron:
 LANG=fr_FR.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: alsa-driver
Symptom: audio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/24/2024
dmi.bios.release: 1.33
dmi.bios.vendor: LENOVO
dmi.bios.version: MDCN33WW
dmi.board.asset.tag: No Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T76461 WIN
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: IdeaPad Pro 5 16APH8
dmi.ec.firmware.release: 1.33
dmi.modalias: dmi:bvnLENOVO:bvrMDCN33WW:bd01/24/2024:br1.33:efr1.33:svnLENOVO:pn83AR:pvrIdeaPadPro516APH8:rvnLENOVO:rnLNVNB161216:rvrSDK0T76461WIN:cvnLENOVO:ct10:cvrIdeaPadPro516APH8:skuLENOVO_MT_83AR_BU_idea_FM_IdeaPadPro516APH8:
dmi.product.family: IdeaPad Pro 5 16APH8
dmi.product.name: 83AR
dmi.product.sku: LENOVO_MT_83AR_BU_idea_FM_IdeaPad Pro 5 16APH8
dmi.product.version: IdeaPad Pro 5 16APH8
dmi.sys.vendor: LENOVO

Revision history for this message
Burnarz (burnarz) wrote :
affects: ubuntu → alsa-driver (Ubuntu)
Revision history for this message
Hui Wang (hui.wang) wrote :

Please cat /proc/asound/cards, this could show how many sound cards are detected.

Changed in alsa-driver (Ubuntu):
assignee: nobody → Hui Wang (hui.wang)
Revision history for this message
Burnarz (burnarz) wrote :

$ cat /proc/asound/cards
 0 [Generic ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0x795c8000 irq 93
 1 [Generic_1 ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0x795c0000 irq 94

Revision history for this message
Hui Wang (hui.wang) wrote :

According to #3, the sound card for dmic is not created.

please run this command:
$cd /sys/devices
$find . -iname acp_*
$find . -iname dmic-*

and paste the output of 2 commands.

Revision history for this message
alef (alef201) wrote (last edit ):

the same on Lenovo ThinkPad T14s G4 AMD, no microphone detected, on 23.10 mic was working.

cat /proc/asound/cards
 0 [Generic ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0x905c8000 irq 138
 1 [Generic_1 ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0x905c0000 irq 139

dmesg | grep sound
[ 2.785659] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0/input14
[ 2.785742] input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0/input15
[ 2.785825] input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0/input16
[ 2.871178] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:08.1/0000:c3:00.6/sound/card1/input17
[ 2.871275] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:c3:00.6/sound/card1/input18

dmesg | grep snd
[ 2.709810] snd_pci_acp6x 0000:c3:00.5: enabling device (0000 -> 0002)
[ 2.770657] snd_hda_intel 0000:c3:00.1: enabling device (0000 -> 0002)
[ 2.773092] snd_hda_intel 0000:c3:00.1: Handle vga_switcheroo audio client
[ 2.773231] snd_hda_intel 0000:c3:00.6: enabling device (0000 -> 0002)
[ 2.820076] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC257: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 2.820082] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 2.820085] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 2.820087] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
[ 2.820088] snd_hda_codec_realtek hdaudioC1D0: inputs:
[ 2.820090] snd_hda_codec_realtek hdaudioC1D0: Mic=0x19
[ 5.764272] snd_hda_intel 0000:c3:00.1: bound 0000:c3:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])

find . -iname acp_*
./pci0000:00/0000:00:08.1/0000:c3:00.5/acp_yc_mach.0
./pci0000:00/0000:00:08.1/0000:c3:00.5/acp_yc_pdm_dma.0

find . -iname dmic-*
./pci0000:00/0000:00:08.1/0000:c3:00.5/dmic-codec.0

c3:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
 Subsystem: Lenovo Family 17h/19h HD Audio Controller
 Flags: bus master, fast devsel, latency 0, IRQ 68, IOMMU group 20
 Memory at 905c0000 (32-bit, non-prefetchable) [size=32K]
 Capabilities: [48] Vendor Specific Information: Len=08 <?>
 Capabilities: [50] Power Management version 3
 Capabilities: [64] Express Endpoint, MSI 00
 Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
 Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
 Capabilities: [2a0] Access Control Services
 Kernel driver in use: snd_hda_intel
 Kernel modules: snd_hda_intel

Revision history for this message
Burnarz (burnarz) wrote :

Hello,

Here it is.

$ find . -iname acp_*
./pci0000:00/0000:00:08.1/0000:65:00.5/acp_yc_mach.0
./pci0000:00/0000:00:08.1/0000:65:00.5/acp_yc_pdm_dma.0

$ find . -iname dmic-*
./pci0000:00/0000:00:08.1/0000:65:00.5/dmic-codec.0

Revision history for this message
Hui Wang (hui.wang) wrote :

@alef & @Burnarz,

I reproduced the issue on a thinkpad x13-amd laptop. And the most recent mainline kernel already fixed this regression, I will backport the fix to ubuntu kernel.

thx.

Revision history for this message
Hui Wang (hui.wang) wrote :

I checked the latest ubuntu noble kernel, the fix is already merged to this kernel through this bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060531

Please wait for the upcoming release version of noble kernel.

commit 6a9156867a5ce4ded2967ca46b0a8d755d9a1ee7
Author: Jiawei Wang <email address hidden>
Date: Wed Mar 13 09:58:53 2024 +0800

    ASoC: amd: yc: Revert "add new YC platform variant (0x63) support"

    BugLink: https://bugs.launchpad.net/bugs/2060531

    commit 37bee1855d0e3b6dbeb8de71895f6f68cad137be upstream.

    This reverts commit 316a784839b21b122e1761cdca54677bb19a47fa,
    that enabled Yellow Carp (YC) driver for PCI revision id 0x63.

    Mukunda Vijendar [1] points out that revision 0x63 is Pink
    Sardine platform, not Yellow Carp. The YC driver should not
    be enabled for this platform. This patch prevents the YC
    driver from being incorrectly enabled.

    Link: https://<email address hidden>/ [1]

    Signed-off-by: Jiawei Wang <email address hidden>
    Link: https://<email address hidden>
    Signed-off-by: Mark Brown <email address hidden>
    Signed-off-by: Greg Kroah-Hartman <email address hidden>
    Signed-off-by: Paolo Pisati <email address hidden>

affects: alsa-driver (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Medium
Changed in linux (Ubuntu Noble):
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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