Fwd: Request to Add DMI Quirk for Lenovo IdeaPad Pro 5 16AHP9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



this is a forward email due to HTML message rejection previously

---------- Forwarded message ---------
From: Sukai Huang <sukaih@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, Mar 27, 2024 at 10:48 AM
Subject: Re: Request to Add DMI Quirk for Lenovo IdeaPad Pro 5 16AHP9
To: Mark Brown <broonie@xxxxxxxxxx>
Cc: <linux-sound@xxxxxxxxxxxxxxx>


>From bfe53271fce81b87b8a0ff63c94f05dba2f39d43 Mon Sep 17 00:00:00 2001
Date: Wed, 27 Mar 2024 10:23:23 +1100
Subject: Request to ASoC: amd: yc: Fix non-functional mic on Lenovo 83D5

Like many other models, the Lenovo 83D5 (IdeaPad Pro 5 16AHP9) needs a
quirk entry for the internal microphone to function. Once added, DMIC
capture dmic-hifi-0 device can be found by `arecord -l`

Reported by: Sukai Huang <sukaih@xxxxxxxxxxxxxxxxxxxxxx>
---
 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 69c68d8e7a6b..a3fd83494e5a 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -269,6 +269,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
  DMI_MATCH(DMI_PRODUCT_NAME, "83AS"),
  }
  },
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "83D5"),
+ }
+ },
  {
  .driver_data = &acp6x_card,
  .matches = {
-- 

On Wed, Mar 27, 2024 at 3:45 AM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> On Wed, Mar 27, 2024 at 12:54:34AM +1100, Sukai Huang wrote:
>
> > *I have taken the initiative to compile the kernel myself and can confirm
> > that adding the DMI quirk for the Lenovo IdeaPad Pro 5 16AHP9 allows the
> > internal microphone to function correctly. This testing indicates that the
> > addition of this specific quirk will resolve the microphone issue for other
> > users of this model.*
> > I kindly request the addition of a DMI quirk for the Lenovo IdeaPad Pro 5
> > 16AHP9 to address the internal microphone functionality.
>
> Please send a patch for this with the code you've tested following the
> process in submitting-patches.rst (basically, format the patch with git
> format-patch then send it to me and linux-sound@xxxxxxxxxxxxxxx).






[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux