https://bugzilla.kernel.org/show_bug.cgi?id=221226

Alex Ungur ([email protected]) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #16 from Alex Ungur ([email protected]) ---
Could this patch be used for ASUS Vivobook S 16 M5606WA_M5606WA as well?

I did an attempt with the below, on 7.1-rc4:

```
diff --git a/sound/soc/amd/acp-config.c b/sound/soc/amd/acp-config.c
index 1604ed679..845786336 100644
--- a/sound/soc/amd/acp-config.c
+++ b/sound/soc/amd/acp-config.c
@@ -30,6 +30,12 @@ static const struct dmi_system_id
acp70_acpi_flag_override_table[] = {
            DMI_MATCH(DMI_PRODUCT_NAME, "HN7306EA"),
        },
    },
+   {
+       .matches = {
+           DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."),
+           DMI_MATCH(DMI_BOARD_NAME, "M5606WA"),
+       },
+   },
    {}
 };

diff --git a/sound/soc/amd/acp/acp-sdw-legacy-mach.c
b/sound/soc/amd/acp/acp-sdw-legacy-mach.c
index 0f21e5f64..84f58d192 100644
--- a/sound/soc/amd/acp/acp-sdw-legacy-mach.c
+++ b/sound/soc/amd/acp/acp-sdw-legacy-mach.c
@@ -135,6 +135,15 @@ static const struct dmi_system_id soc_sdw_quirk_table[] =
{
        },
        .driver_data = (void *)(ASOC_SDW_ACP_DMIC),
    },
+   {
+       .callback = soc_sdw_quirk_cb,
+       .matches = {
+           DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."),
+           DMI_EXACT_MATCH(DMI_BOARD_NAME, "M5606WA"),
+       },
+       .driver_data = (void *)(ASOC_SDW_ACP_DMIC),
+
+   },
    {}
 };
```

I no longer get the "platform acp_asoc_acp70.0: warning: No matching ASoC
machine driver found" warning but it still looks generic: 

```
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC294 Analog [ALC294 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
```

and

```
$ cat /proc/asound/cards
 0 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xdc4c8000 irq 85
 1 [Generic_1      ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xdc4c0000 irq 86
```

FWIW, in my case, that flag

```
                Package (0x02)
                {
                    "acp-audio-config-flag",
                    0x10
                }
```

is found in /sys/firmware/acpi/tables/SSDT8

Also, I could be missing kernel modules :-) I may have stripped it down a bit
too much. If anyone would be kind enough to share a working kernel config so
that I can fill in my missing settings, I would really appreciate it.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to