[PATCH] ASoC: amd: yc: Add DMI quirk for MSI Thin A15 B7UCX

Zhang Heng posted 1 patch 6 days, 12 hours ago
sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
1 file changed, 7 insertions(+)
[PATCH] ASoC: amd: yc: Add DMI quirk for MSI Thin A15 B7UCX
Posted by Zhang Heng 6 days, 12 hours ago
Add a DMI quirk for the MSI Thin A15 B7UCX fixing the issue
where the internal microphone was not detected.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=220833
Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
---
 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..3e6341286358 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -864,6 +864,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Thin A15 B7UC"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "Micro-Star International Co., Ltd."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Thin A15 B7UCX"),
+		}
+	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {
-- 
2.25.1
Re: [PATCH] ASoC: amd: yc: Add DMI quirk for MSI Thin A15 B7UCX
Posted by Mark Brown 3 days, 13 hours ago
On Fri, Sep 18, 2026 at 06:49:44PM +0800, Zhang Heng wrote:
> Add a DMI quirk for the MSI Thin A15 B7UCX fixing the issue
> where the internal microphone was not detected.

I think this is already covered by the change in e2aa5ad3be41a (ASoC:
amd: yc: Add DMI entry for MSI Thin A15 B7UC) which is already on it's
way to mainline - it has a substring of your product name so should
already match.  Can you confirm if this is still needed?
Re: [PATCH] ASoC: amd: yc: Add DMI quirk for MSI Thin A15 B7UCX
Posted by Zhang Heng 3 days, 11 hours ago
DMI_BOARD_VENDOR: Micro-Star International Co., Ltd.
DMI_BOARD_NAME: MS-16RK
DMI_PRODUCT_NAME: Thin A15 B7UCX

This is the DMI information provided by the reporter.The Launchpad bug 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2167333 also 
mentions the "Thin A15 B7UC" quirk, and their names are indeed different.
Re: [PATCH] ASoC: amd: yc: Add DMI quirk for MSI Thin A15 B7UCX
Posted by Mark Brown 3 days, 10 hours ago
On Mon, Sep 21, 2026 at 08:22:37PM +0800, Zhang Heng wrote:
> DMI_BOARD_VENDOR: Micro-Star International Co., Ltd.
> DMI_BOARD_NAME: MS-16RK
> DMI_PRODUCT_NAME: Thin A15 B7UCX
> 
> This is the DMI information provided by the reporter.The Launchpad bug
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2167333 also mentions
> the "Thin A15 B7UC" quirk, and their names are indeed different.

The names are different, but DMI matches work on substrings so a match
on B7UC will also hit for a system with B7UCX.
Re: [PATCH] ASoC: amd: yc: Add DMI quirk for MSI Thin A15 B7UCX
Posted by Zhang Heng 3 days, 10 hours ago
You're right, DMI_MATCH uses strstr() for matching, so the existing 
"Thin A15 B7UC" entry already covers "Thin A15 B7UCX". This patch is 
unnecessary; please ignore it.
Re: [PATCH] ASoC: amd: yc: Add DMI quirk for MSI Thin A15 B7UCX
Posted by Mark Brown 3 days, 10 hours ago
On Mon, Sep 21, 2026 at 08:52:32PM +0800, Zhang Heng wrote:

> You're right, DMI_MATCH uses strstr() for matching, so the existing "Thin
> A15 B7UC" entry already covers "Thin A15 B7UCX". This patch is unnecessary;
> please ignore it.

Great, thanks for confirming.  Hopefully the existing change will make
it back to user kernels soon enough.