mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrey Starostin <ndrstrstn@gmail.com>
To: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Cc: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>,
	Mark Brown <broonie@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
	Andrey Starostin <ndrstrstn@gmail.com>
Subject: [PATCH] ASoC: amd: yc: Add DMI entry for Acer Extensa 215-23
Date: Mon, 14 Sep 2026 16:16:10 +0300	[thread overview]
Message-ID: <20260914131610.46732-1-ndrstrstn@gmail.com> (raw)

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


             reply	other threads:[~2026-09-14 13:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-14 13:16 Andrey Starostin [this message]
2026-09-15 14:30 ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260914131610.46732-1-ndrstrstn@gmail.com \
    --to=ndrstrstn@gmail.com \
    --cc=Vijendar.Mukunda@amd.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=venkataprasad.potturu@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®