Discussion:
Bug#1087673: linux-image-6.12-rc6-amd64: Builtin microphone doesn't work on Lenovo Thinkpad T14s Gen 6 21M1CTO1WW
(too old to reply)
AFB
2024-11-17 00:30:01 UTC
Permalink
Package: linux-image-6.12-rc6-amd64
Severity: normal
Tags: upstream

From: Tova <***@laposte.net>
To: Debian Bug Tracking System <***@bugs.debian.org>
X-Debbugs-Cc: ***@laposte.net
Subject: linux-image-6.12-rc6-amd64: Builtin microphone doesn't work on
Lenovo Thinkpad T14s Gen 6 21M1CTO1WW



Hi all,

I noticed the same problem (undetected built in microphone) as this
topic on my
relatively new AMD laptop :

<https://bugzilla.kernel.org/show_bug.cgi?id=218216>

Fixing the lack of microphone detection would require editing the
acp6x-mach
kernel file :
<https://github.com/torvalds/linux/blob/master/sound/soc/amd/yc/acp6x-mach.c>

I believe the laptop model's manufacturer and product should be added
to the
yc_acp_quirk_table with :

{
.driver_data = &acp6x_card,
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
DMI_MATCH(DMI_PRODUCT_NAME, "21M1"),
}
},


Here's dmidecode -t baseboard for reference :

# dmidecode 3.6
Getting SMBIOS data from sysfs.
SMBIOS 3.4.0 present.

Handle 0x0018, DMI type 2, 15 bytes
Base Board Information
Manufacturer: LENOVO
Product Name: 21M1CTO1WW
Version: Not Defined
Serial Number: L1HF4AF003Y
Asset Tag: Not Available
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Not Available
Chassis Handle: 0x0019
Type: Motherboard
Contained Object Handles: 0
Uwe Kleine-König
2024-11-22 08:10:01 UTC
Permalink
Add a quirk for Tova's Lenovo Thinkpad T14s with product name 21M1.

Suggested-by: Tova <***@laposte.net>
Link: https://bugs.debian.org/1087673
Signed-off-by: Uwe Kleine-König <***@debian.org>
---
sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 1b9834ee5d46..6439c175552a 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -220,6 +220,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "21J6"),
}
},
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "21M1"),
+ }
+ },
{
.driver_data = &acp6x_card,
.matches = {

base-commit: cfba9f07a1d6aeca38f47f1f472cfb0ba133d341
--
2.45.2
Mark Brown
2024-11-25 14:30:02 UTC
Permalink
Post by Uwe Kleine-König
Add a quirk for Tova's Lenovo Thinkpad T14s with product name 21M1.
Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: amd: yc: Add quirk for microphone on Lenovo Thinkpad T14s Gen 6 21M1CTO1WW
commit: cbc86dd0a4fe9f8c41075328c2e740b68419d639

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

Loading...