Skip to contentSkip to conversation

ALSA: hda/realtek: Add quirk for Lenovo Legion 7 16ITHg6 (17aa:3811)

PATCH New Ala Al-Sanea 1 participant 1 message May 26

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: hda/realtek: Add quirk for Lenovo Legion 7 16ITHg6 (17aa:3811)

*Summary*: ALSA: hda/realtek: Add quirk for Lenovo Legion 7 16ITHg6 (PCI SSID 17aa:3811) — internal speakers silent

*Hardware*:

* Machine: Lenovo Legion 7 16ITHg6 (82K6)
* CPU: Intel Core i9-11980HK
* Audio codec: Realtek ALC287 (vendor 0x10ec0287, subsystem 0x17aa3855)
* Speaker amp: Cirrus Logic CS35L41 x2 (i2c-CLSA0101:00, Revision B2)

*Kernel*: 6.12+ / 7.0.9-arch1-1
*OS*: EndeavourOS (Arch-based)

*Problem*:
Internal speakers produce no sound. |dmesg| shows |speaker_outs=0| — the ALC287 gets a generic fixup because PCI SSID |17aa:3811| has no entry in |alc269_fixup_tbl| in |patch_realtek.c|. The two CS35L41 amps are detected and initialized (|cs35l41-hda| driver loads, firmware |cs35l41-dsp1-spk-prot-17aa3855| is present) but never activated because the HDA codec fixup chain is never triggered.

*Expected*:
|ALC287_FIXUP_CS35L41_I2C_2| applied for this SSID, same as neighboring Legion/Yoga models.

*Workaround*:

|options snd-hda-intel model=,17aa:3855|

in |/etc/modprobe.d/alsa-fix.conf| — restores speaker output.

*Proposed fix* in |sound/pci/hda/patch_realtek.c|:

|SND_PCI_QUIRK(0x17aa,0x3811,"Lenovo Legion 7 16ITHg6",ALC287_FIXUP_CS35L41_I2C_2),|

*ALSA info*: http://alsa-project.org/db/?f=e3286cb5a795436306aa591696808a4339d21368 <http://alsa-project.org/db/?f=e3286cb5a795436306aa591696808a4339d21368>