Bug 219533
Summary: | Builtin microphone doesn't work on Thinkpad p14s Gen 5 (21MES00B00) | ||
---|---|---|---|
Product: | Drivers | Reporter: | Ilya Zverev (ilya) |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | REOPENED --- | ||
Severity: | normal | CC: | ilya, yaro330 |
Priority: | P3 | ||
Hardware: | AMD | ||
OS: | Linux | ||
Kernel Version: | 6.11.8 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | Patch that possibly fixes the issue |
Description
Ilya Zverev
2024-11-26 07:49:46 UTC
Just tested the patch, and it works fine, I get sound from the mic. Both the short "21ME" and the long "21MES00B00" work for the product name, although I don't understand why. The problem is, I don't see "acp6x" in the dmesg output. Should I? $ sudo dmesg | grep 'acp6x\|DMIC\|snd\|udio' [ 6.000040] snd_hda_intel 0000:c4:00.1: enabling device (0000 -> 0002) [ 6.000324] snd_hda_intel 0000:c4:00.1: Handle vga_switcheroo audio client [ 6.003989] snd_hda_intel 0000:c4:00.6: enabling device (0000 -> 0002) [ 6.016977] snd_hda_intel 0000:c4:00.1: bound 0000:c4:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu]) [ 6.041615] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:c4:00.1/sound/card0/input15 [ 6.041725] input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:c4:00.1/sound/card0/input16 [ 6.041828] input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:08.1/0000:c4:00.1/sound/card0/input17 [ 6.068296] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC257: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 6.068301] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 6.068303] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0) [ 6.068304] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0 [ 6.068306] snd_hda_codec_realtek hdaudioC1D0: inputs: [ 6.068307] snd_hda_codec_realtek hdaudioC1D0: Mic=0x19 [ 6.068317] snd_pci_ps 0000:c4:00.5: enabling device (0000 -> 0002) [ 6.108190] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:08.1/0000:c4:00.6/sound/card1/input18 [ 6.108296] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:c4:00.6/sound/card1/input19 Patch submitted: https://lore.kernel.org/all/20241127134420.14471-1-ilya@zverev.info/ In the next kernel: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/?id=b682aa788e5f9f1ddacdfbb453e49fd3f4e83721 Frankly, five months later, I don't think this patch has worked. Nether 21ME, not the full 21MES00B00 product ids enable the microphone after a reboot. They do for a short time, but it just does not stick. Yeah there's something weird going on with the mic on that platform, I am on the X13 Gen 4, we definitely do not this quirk, as it only really seems to be needed on the AMD 6xxx series with Zen 3+, they might be using the DSP from 7xxx series, but are detected as 5xxx, not sure. I had to set the sensitivity to 100% for people to hear me, which I do not think is ideal, but it begun cutting out entirely now. As mentioned here: all that's (supposedly) needed is enabling the driver in the defconfig, but there's something wonky going on here. https://github.com/torvalds/linux/commit/861b3415e4dee06cc00cd1754808a7827b9105bf |