mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ASoC: amd: yc: Add DMI entry for Acer Extensa 215-23
@ 2026-09-14 13:16 Andrey Starostin
  2026-09-15 14:30 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Starostin @ 2026-09-14 13:16 UTC (permalink / raw)
  To: Vijendar Mukunda
  Cc: Venkata Prasad Potturu, Mark Brown, Liam Girdwood, linux-sound,
	linux-kernel, Andrey Starostin

The Acer Extensa 215-23 has an internal digital microphone connected to
the AMD ACP6x audio coprocessor, but its BIOS does not expose the DMIC
through ACPI (_WOV / AcpDmicConnected). acp6x_probe() therefore falls
back to the DMI quirk table, finds no match and returns -ENODEV, so no
DMIC sound card is created and the internal microphone is unusable.

Add a DMI entry for this model.

Assisted-by: LLM
Signed-off-by: Andrey Starostin <ndrstrstn@gmail.com>
---
Tested on the affected machine, running 7.2.3 with this change built as
an out-of-tree module. Before: writing to the driver's "bind" attribute
for acp_yc_mach.0 fails with -ENODEV and no DMIC card exists. After:
"acp_yc_mach acp_yc_mach.0: Enabling ACP DMIC support via DMI", a card
"acp6x" with "DMIC capture dmic-hifi-0" appears, and arecord/PipeWire
capture live audio from the internal microphone. Speaker output via the
HDA codec is unaffected.

DMI strings of the machine:
  sys_vendor:      Acer
  product_name:    Extensa 215-23
  product_version: V1.18
  board_vendor:    MDC
  board_name:      HerbagEX_MDU
  bios_version:    V1.18 (06/18/2024)

Per Documentation/process/generated-content.rst: the diagnosis (HDA pin
defaults, acp6x_probe() failure path) and this patch were produced with
the help of an AI coding assistant (Claude); the change was reviewed and
tested by me on the hardware.

 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 385fede6d77f..246e18c66272 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -52,6 +52,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Aspire AG14-22P"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Extensa 215-23"),
+		}
+	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {
-- 
2.55.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-15 16:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-14 13:16 [PATCH] ASoC: amd: yc: Add DMI entry for Acer Extensa 215-23 Andrey Starostin
2026-09-15 14:30 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®