[BUG] ASoC: amd: yc: HP Notebook 255R G10 (board 8D22) missing from quirk table
Alen Tišljar <[email protected]>
| Newsgroups | org.alsa-project.alsa-devel |
|---|---|
| Message-ID | <CAKxS5A_OhoDGvVXZUnvUtv=j0zQ5Txq8g9_ScCPw12ZKfrmxOw@mail.gmail.com> |
Hello,
The internal microphone on the HP Notebook 255R G10 does not work on
Linux because the board is missing from the ACP6x DMI quirk table in
sound/soc/amd/yc/acp6x-mach.c.
Hardware:
Laptop: HP Notebook 255R G10
Board name: 8D22 (HP)
Audio coprocessor: AMD ACP/ACP3X/ACP6x
Analog codec: Realtek ALC236 (working fine for speakers/headphones)
Symptoms:
Internal microphone is not captured.
No acp6x DMIC device appears in arecord -l — only the ALC236 analog
inputs are listed.
In dmesg, the ACP6x PCI device is enabled.
Tested on:
Ubuntu 24.04 LTS (board 8D22 is not present in the mainline
acp6x-mach.c as of today)
Relevant dmesg output:
snd_pci_acp6x 0000:03:00.5: enabling device (0000 -> 0002)
no further ACP6x/DMIC messages follow
arecord -l:
**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: ALC236 Analog [ALC236 Analog]
card 1: Generic_1 [HD-Audio Generic], device 2: ALC236 Alt Analog
[ALC236 Alt Analog]
Suggested fix:
Add the following entry to yc_acp_quirk_table[] in
sound/soc/amd/yc/acp6x-mach.c, analogous to commit 0c6498a59fbb
("ASoC: amd: yc: Add HP 255 G10 into quirk table") which handled the
closely related HP 255 G10 (board 8B2F):
{
.driver_data = &acp6x_card,
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
DMI_MATCH(DMI_BOARD_NAME, "8D22"),
}
},
I'm happy to test any proposed patch on this hardware. I'm not
currently set up to submit a formal patch via git send-email, but if
no one is able to pick this up, I'm willing to submit one myself.
Thank you,
Alen Tišljar