linux-cachyos icon indicating copy to clipboard operation
linux-cachyos copied to clipboard

Request: Add Audio Quirk for HP Omen 16-ap0xxx (Board 8D26) - Ryzen AI 7 Strix Point (ACP 7.0)

Open samuelhm opened this issue 9 months ago • 32 comments

Description I am reporting a missing machine driver quirk for the internal microphone on a new HP Omen 16 laptop featuring the AMD Ryzen AI 7 (Strix Point) processor.

Hardware Details

  • Laptop: HP OMEN Gaming Laptop 16-ap0xxx
  • CPU: AMD Ryzen AI 7 (Strix Point)
  • Board Name (DMI): 8D26
  • Audio Chip: Realtek ALC245 + AMD ACP 7.0

Issue The internal microphone is not detected by the system. Kernel logs (dmesg) report: platform acp_asoc_acp70.0: warning: No matching ASoC machine driver found

Logs & diagnostics

  • cat /sys/class/dmi/id/board_name output: 8D26
  • alsa-info.sh: The script hangs indefinitely when trying to probe the AMD device, likely due to the driver deadlock.
  • lspci: Confirms AMD ACP 7.0 presence.

Context This appears to be the standard "missing quirk" issue for HP laptops on the new AMD ACP driver stack. Similar patches have been applied for previous generations (ACP6x) where the board ID needs to be explicitly added to the machine driver code.

Could you please add the quirk for board ID 8D26 in the next kernel build? I am available to test any test-kernels if needed.

samuelhm avatar Feb 12 '26 18:02 samuelhm

output of lspci -knn and aplay -l please

1Naim avatar Feb 12 '26 18:02 1Naim

This looks very similar to https://lore.kernel.org/linux-sound/[email protected]/#t

1Naim avatar Feb 12 '26 18:02 1Naim

❯ lspci -knn 00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Krackan Root Complex [1022:1122] Subsystem: Hewlett-Packard Company Device [103c:8d26] 00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Krackan IOMMU [1022:1123] Subsystem: Hewlett-Packard Company Device [103c:8d26] 00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1124] 00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1124] 00:02.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1126] Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453] Kernel driver in use: pcieport Kernel modules: shpchp 00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1126] Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453] Kernel driver in use: pcieport Kernel modules: shpchp 00:02.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1126] Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453] Kernel driver in use: pcieport Kernel modules: shpchp 00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1124] 00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1126] Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453] Kernel driver in use: pcieport Kernel modules: shpchp 00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1124] 00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Krackan Internal PCIe GPP Bridge 0 to Bus A [1022:1110] Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:150c] Kernel driver in use: pcieport Kernel modules: shpchp 00:08.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Krackan Internal PCIe GPP Bridge 0 to Bus B [1022:1111] Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:150c] Kernel driver in use: pcieport Kernel modules: shpchp 00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Krackan Internal PCIe GPP Bridge 0 to Bus C [1022:1112] pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:150c] Kernel driver in use: pcieport Kernel modules: shpchp 00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 71) Subsystem: Hewlett-Packard Company Device [103c:8d26] Kernel driver in use: piix4_smbus Kernel modules: i2c_piix4, sp5100_tco 00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51) Subsystem: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] 00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Krackan Data Fabric; Function 0 [1022:1248] 00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Krackan Data Fabric; Function 1 [1022:1249] 00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Krackan Data Fabric; Function 2 [1022:124a] 00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Krackan Data Fabric; Function 3 [1022:124b] Kernel driver in use: k10temp Kernel modules: k10temp 00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Krackan Data Fabric; Function 4 [1022:124c] 00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Krackan Data Fabric; Function 5 [1022:124d] 00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Krackan Data Fabric; Function 6 [1022:124e] 00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Krackan Data Fabric; Function 7 [1022:124f] 01:00.0 Non-Volatile memory controller [0108]: Phison Electronics Corporation PS5027-E27T PCIe4 NVMe Controller (DRAM-less) [1987:5027] (rev 01) Subsystem: Phison Electronics Corporation PS5027-E27T PCIe4 NVMe Controller (DRAM-less) [1987:5027] Kernel driver in use: nvme Kernel modules: nvme 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 16) DeviceName: OnBoard Enthernets Subsystem: Hewlett-Packard Company Device [103c:8d26] Kernel driver in use: r8169 Kernel modules: r8169 03:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak] [8086:2725] (rev 1a) Subsystem: Intel Corporation Wi-Fi 6 AX210 160MHz [8086:0024] Kernel driver in use: iwlwifi Kernel modules: iwlwifi 04:00.0 VGA compatible controller [0300]: NVIDIA Corporation GB206M [GeForce RTX 5060 Max-Q / Mobile] [10de:2d19] (rev a1) DeviceName: NVIDIA Graphics Device Subsystem: Hewlett-Packard Company Device [103c:8d26] Kernel driver in use: nvidia Kernel modules: nouveau, nvidia_drm, nvidia 04:00.1 Audio device [0403]: NVIDIA Corporation GB206 High Definition Audio Controller [10de:22eb] (rev a1) Subsystem: NVIDIA Corporation Device [10de:0000] Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 05:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Krackan [Radeon 840M / 860M Graphics] [1002:1114] (rev c2) DeviceName: Onboard IGD Subsystem: Hewlett-Packard Company Device [103c:8d26] Kernel driver in use: amdgpu Kernel modules: amdgpu 05:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Radeon High Definition Audio Controller [1002:1640] Subsystem: Hewlett-Packard Company Device [103c:8d26] Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 05:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Strix/Krackan/Strix Halo CCP/ASP [1022:17e0] Subsystem: Hewlett-Packard Company Device [103c:8d26] Kernel driver in use: ccp Kernel modules: ccp 05:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:1128] Subsystem: Hewlett-Packard Company Device [103c:8d26] Kernel driver in use: xhci_hcd Kernel modules: xhci_pci 05:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] Audio Coprocessor [1022:15e2] (rev 71) Subsystem: Hewlett-Packard Company Device [103c:8d26] Kernel driver in use: snd_acp_pci Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63, snd_sof_amd_acp70 05:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Ryzen HD Audio Controller [1022:15e3] Subsystem: Hewlett-Packard Company Device [103c:8d26] Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 06:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Krackan PCIe Dummy Function [1022:1116] Subsystem: Hewlett-Packard Company Device [103c:8d26] 06:00.1 Signal processing controller [1180]: Advanced Micro Devices, Inc. [AMD] Strix/Krackan/Strix Halo Neural Processing Unit [1022:17f0] (rev 20) Subsystem: Hewlett-Packard Company Device [103c:8d26] Kernel modules: amdxdna 07:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:1118] Subsystem: Hewlett-Packard Company Device [103c:8d26] Kernel driver in use: xhci_hcd Kernel modules: xhci_pci 07:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:111c] Subsystem: Hewlett-Packard Company Device [103c:8d26] Kernel driver in use: xhci_hcd Kernel modules: xhci_pci 07:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:111e] Subsystem: Hewlett-Packard Company Device [103c:8d26] Kernel driver in use: xhci_hcd Kernel modules: xhci_pci ~ ❯

❯ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: Generic_1 [HD-Audio Generic], device 0: ALC245 Analog [ALC245 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 ~ ❯

samuelhm avatar Feb 12 '26 18:02 samuelhm

It seems my HP Omen requires a similar SND_PCI_QUIRK entry to be added, likely within the AMD ACP 7.0 machine driver (similar to how acp6x required quirks for previous Omen models) to properly initialize the DMIC

samuelhm avatar Feb 12 '26 18:02 samuelhm

Okay, they're not related at all. I've been digging for the past hour or two but I could only find this. Try that workaround.

1Naim avatar Feb 13 '26 04:02 1Naim

I tried disabling UCM in WirePlumber/PipeWire config, but it had no effect. the internal microphone is still not detected in pavucontrol or alsa info.

samuelhm avatar Feb 13 '26 09:02 samuelhm

"I'm setting up a build environment to compile the kernel with the quirk for 0x8D26 added manually. I'll test it out and post the results here as soon as it's done."

samuelhm avatar Feb 13 '26 09:02 samuelhm

Can you send me a dump of your acpi tables?

sudo pacman -S acpica
sudo acpidump | paste-cachyos

1Naim avatar Feb 13 '26 14:02 1Naim

https://paste.cachyos.org/p/8805488

The sof-acp_7_0.ri file and its corresponding tplg don't exist. They show up in acp-config.c, but it seems AMD hasn't pushed the binary yet. Is it possible for this file to be referenced in the Linux kernel, but not exist yet? also, the line else if (pci->revision >= ACP_7_0_REV) return snd_amd_acp_acpi_find_config(pci); makes the changes I've tried useless.

samuelhm avatar Feb 13 '26 15:02 samuelhm

The sof-acp_7_0.ri file and its corresponding tplg don't exist. They show up in acp-config.c, but it seems AMD hasn't pushed the binary yet.

Your laptop doesn't use this, so no need to worry about that. I asked a kernel developer about this, and it could be a BIOS bug, so if you have any BIOS updates I suggest updating and rechecking. In the meantime, let me try diggin at the dump.

1Naim avatar Feb 13 '26 15:02 1Naim

The sof-acp_7_0.ri file and its corresponding tplg don't exist. They show up in acp-config.c, but it seems AMD hasn't pushed the binary yet.

SOF isn't used on most consumer AMD platforms. It's used in Chromebooks and in the Steam Deck.

https://paste.cachyos.org/p/8805488

acp-audio-config-flag is not even specified here. So the default behavior will be to set it 0x10 (legacy DMIC).

else if (pci->revision >= ACP_7_0_REV) return snd_amd_acp_acpi_find_config(pci); makes the changes I've tried useless.

What changes are you trying to make? Are you trying to quirk DMIC as disabled? Could you share exactly what you tried so I can understand?

Please share your full dmesg

alsa-info.sh: The script hangs indefinitely when trying to probe the AMD device, likely due to the driver deadlock.

Are you sure? Or is this just an LLM had a hard time with it? Does it generate any output? What does it get stuck at?

superm1 avatar Feb 13 '26 15:02 superm1

On the contrary, I first tried to force the internal mic to appear as connected even though the system thinks it's disconnected. Since that didn't work, I figured it might be a firmware issue.

Here is the full dmesg: https://paste.cachyos.org/p/30fa3a9

I did try using an LLM to modify the code and force the use of a different firmware (the previous AMD 6.3 version), but as I mentioned, it didn't work.

I am not using an LLM to run alsa-info. The script simply freezes after displaying the following line: cat: /tmp/alsa-info.EH1A0gyJcg/sdwstatus.tmp: No such file or directory

I've tried running it with various arguments shown in --help, but it doesn't change anything.

I apologize if I’m misidentifying the error. I’m still learning how firmware and the Linux kernel work, which is why I’m trying to figure out these kinds of issues—the same ones I've dealt with my whole life when using Linux with new hardware.

In any case, I noticed there's a new BIOS firmware available. I'm going to try to extract the image from the .exe and look for some flash programming software in Arch.

samuelhm avatar Feb 13 '26 16:02 samuelhm

Please keep this opened, atleast until its confirmed the firmware update fixes this. FYI, you can use fwupdtool to flash the firmware.

Assuming you have some .fd, .cap files or the like:

  1. Find the System Firmware Device ID via fwupdmgr get-devices
  2. Flash it with sudo fwupdtool install-blob <file> <dev-id>

Example: sudo fwupdtool install-blob WinJ4CN46WW.fd 65b621e09d093b512dcb1261dacd4397995204ff

1Naim avatar Feb 13 '26 16:02 1Naim

Regardless if you managed to flash the new firmware or not, please try the kernel from https://share.cachyos.org/x86_64_v3/kernel/6.19/ linux-cachyos 6.19.0-1 and send the dmesg.

I added some print statements there to hopefully get a better look at whats going on.

1Naim avatar Feb 13 '26 18:02 1Naim

Thank you, full dmesg: https://paste.cachyos.org/p/e725685

samuelhm avatar Feb 13 '26 19:02 samuelhm

Successfully installed BIOS ver F.11. Pavucontrol still marks the internal microphone as disconnected/unplugged. but alsa-info is working now:

http://alsa-project.org/db/?f=0ac81fb1561a78e37d5c4a010a4eac4127183d7a

Since alsa-info is functioning now, the situation might have changed. I might be able to force the microphone detection status. I will test this tomorrow.

new dmesg after bios update: https://paste.cachyos.org/p/d047475

maybe the issue is that I disabled the internal mic through the OMEN application prior to installing CachyOS. External headset via the audio jack works correctly.

samuelhm avatar Feb 13 '26 21:02 samuelhm

That could potentially explain why you are missing some of the typical acpi audio _DSD entries in your acpidump.

Could you check if you can re-enable using any of the HP drivers in Linux? If not. Please use Windows on USB key (windows to go IIRC) to re-enable.

superm1 avatar Feb 13 '26 22:02 superm1

I have encountered issues with driver installation on Windows To Go, limited only to the audio drivers. I am beginning to suspect a potential hardware fault. I plan to acquire a new SSD to perform testing on a clean installation. I expect to have results within two or three days.

samuelhm avatar Feb 16 '26 12:02 samuelhm

"I've been swamped with my studies, but I'll be carrying out the checks shortly in case the same issue occurs across all the new HP Omen gaming models. Sorry for the delay."

samuelhm avatar Feb 25 '26 13:02 samuelhm

Same issue on a different board. HP OmniBook X Flip 14-kc0xxx, board ID 8EA1. Same Strix Point / ACP 7.0, same nau8821 codec, same symptom: internal speakers silent, only a capture-only acppdmmach card plus HDMI playback. Still broken on linux-cachyos-rc 7.2.0-rc3-1 no analog playback device is created. No nau8821 firmware or probe errors in dmesg; the codec isn't erroring, the driver just never registers a speaker PCM.

8EA1 HP OmniBook X Flip Laptop 14-kc0xxx **** 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

Looks like board 8EA1 needs adding to the same ACP70 quirk path as 8EA2. Happy to test patches or pull logs.

TwoWordsPlease avatar Jul 17 '26 01:07 TwoWordsPlease