Skip to contentSkip to conversation

ASoC: amd: yc: Add DMI entry for Acer Extensa 215-23

PATCH In review Andrey Starostin 2 participants 2 messages Sep 14 – Sep 15

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: amd: yc: Add DMI entry for Acer Extensa 215-23

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

---
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(+)
sound/soc/amd/yc/acp6x-mach.c +7 -0
index 385fede6d77f..246e18c66272 100644
@@ -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 = {
Signature · 1 line
2.55.0
maintainer
#1 lore raw
Quoted 1 line · Andrey Starostin

ASoC: amd: yc: Add DMI entry for Acer Extensa 215-23

Applied to

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

Thanks!

[1/1] ASoC: amd: yc: Add DMI entry for Acer Extensa 215-23

      https://git.kernel.org/broonie/sound/c/581289734a6d

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