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

            Bug ID: 221226
           Summary: ASUS Zenbook S16 (UM5606GA) - Audio not working -
                    Incorrect acp-audio-config-flag (0x10 instead of
                    0x00) for ACP 7.0
           Product: ACPI
           Version: 2.5
          Hardware: AMD
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: BIOS
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Hardware Information:
 - Laptop: ASUS Zenbook S16 UM5606GA
 - CPU: AMD Ryzen AI 9 HX 370 (Strix Point)
 - Audio Coprocessor: ACP 7.0 (PCI ID 1022:15e2, rev 70)
 - Audio Setup: SoundWire-based with Cirrus Logic CS42L43 codec and 4x CS35L56
amplifiers.


Description of the Problem:

The internal audio (speakers and jack) does not work on Linux kernels (tested
up to 6.19.6). The system defaults to a "Dummy Output". 

Upon investigation, the issue is caused by the ACPI tables (specifically
SSDT10) setting the acp-audio-config-flag property to 0x10
(FLAG_AMD_LEGACY_ONLY_DMIC). This causes the snd_pci_ps (SoundWire) driver to
reject the device, while the snd_acp_pci (Legacy) driver binds to it but fails
to find a matching ASoC machine driver for this platform.

Evidence/Workaround:
I have successfully fixed the audio by applying an ACPI SSDT override. 
- Original ACPI SSDT: acp-audio-config-flag = 0x10
- Patched ACPI SSDT: acp-audio-config-flag = 0x00 (and incremented Revision
from 1 to 2)

Once the flag is set to 0x00, the snd_pci_ps driver correctly initializes the
SoundWire bus, discovers the CS42L43 codec and the 4x CS35L56 amplifiers, and
the audio works perfectly.

Could a DMI-based quirk be added to the kernel (sound/soc/amd/acp-config.c or
similar) to force FLAG_AMD_SOUNDWIRE mode for the "Zenbook S16 UM5606GA"
regardless of the BIOS-provided ACPI flag?

DMI Strings:
 - System Vendor: ASUSTeK COMPUTER INC.
 - Product Name: Zenbook S16 UM5606GA
 - Board Name: UM5606GA

-- 
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