* [PATCH] ALSA: hda/realtek: Fix mute LEDs on ThinkPad X1 Carbon 6th
@ 2026-11-26 10:07 Zhang Heng
2026-11-26 10:27 ` sashiko-bot
0 siblings, 1 reply; 2+ messages in thread
From: Zhang Heng @ 2026-11-26 10:07 UTC (permalink / raw)
To: tiwai
Cc: perex, linux-sound, linux-kernel, stable, helamonster,
regressions, Zhang Heng
ALC285_LENOVO_DAC_RENAME is not chained to ALC269_FIXUP_THINKPAD_ACPI,
so the vendor fallback that registers the mute LEDs is skipped. Chain
it to restore the LEDs.
Fixes: 108704eecab9 ("ALSA: hda/realtek: Rename Line Out control to Headphone on ThinkPad X1 Carbon 6th")
Cc: <stable@vger.kernel.org>
Reported-by: Jeremy Bryan Smith <helamonster@gmail.com>
Closes: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2174970
Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
---
sound/hda/codecs/realtek/alc269.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index 147e97f..a00b1b2 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -7476,6 +7476,8 @@ static const struct hda_fixup alc269_fixups[] = {
[ALC285_LENOVO_DAC_RENAME] = {
.type = HDA_FIXUP_FUNC,
.v.func = alc285_lenovo_dac_rename,
+ .chained = true,
+ .chain_id = ALC269_FIXUP_THINKPAD_ACPI,
},
[ALC287_FIXUP_YOGA9_SPEAKER2_TO_DAC1] = {
.type = HDA_FIXUP_FUNC,
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ALSA: hda/realtek: Fix mute LEDs on ThinkPad X1 Carbon 6th
2026-11-26 10:07 [PATCH] ALSA: hda/realtek: Fix mute LEDs on ThinkPad X1 Carbon 6th Zhang Heng
@ 2026-11-26 10:27 ` sashiko-bot
0 siblings, 0 replies; 2+ messages in thread
From: sashiko-bot @ 2026-11-26 10:27 UTC (permalink / raw)
To: Zhang Heng; +Cc: linux-sound
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] ALSA: hda/realtek: ALC285_LENOVO_DAC_RENAME chain skips noise
fixups
--
commit 4c036af7c1383440b00bb1ed09a1398a8257668b
Author: Zhang Heng <zhangheng@kylinos.cn>
ALSA: hda/realtek: Fix mute LEDs on ThinkPad X1 Carbon 6th
This commit chains ALC285_LENOVO_DAC_RENAME to ALC269_FIXUP_THINKPAD_ACPI
to restore the mute and mic-mute LEDs on the ThinkPad X1 Carbon 6th Gen.
> diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
> index f906fce39c111..e54fd1b414715 100644
> --- a/sound/hda/codecs/realtek/alc269.c
> +++ b/sound/hda/codecs/realtek/alc269.c
> @@ -7578,6 +7578,8 @@ static const struct hda_fixup alc269_fixups[] = {
> [ALC285_LENOVO_DAC_RENAME] = {
> .type = HDA_FIXUP_FUNC,
> .v.func = alc285_lenovo_dac_rename,
> + .chained = true,
> + .chain_id = ALC269_FIXUP_THINKPAD_ACPI,
> },
> [ALC287_FIXUP_YOGA9_SPEAKER2_TO_DAC1] = {
> .type = HDA_FIXUP_FUNC,
[Severity: Medium]
Should ALC285_LENOVO_DAC_RENAME chain to
ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE rather than directly to
ALC269_FIXUP_THINKPAD_ACPI?
Before 108704eecab9 ("ALSA: hda/realtek: Rename Line Out control to
Headphone on ThinkPad X1 Carbon 6th") added the 0x17aa:0x225c entry to
alc269_fixup_tbl, this machine matched alc269_pin_fixup_tbl:
sound/hda/codecs/realtek/alc269.c:alc269_pin_fixup_tbl[] {
...
SND_HDA_PIN_QUIRK(0x10ec0285, 0x17aa, "Lenovo", ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE,
{0x12, 0x90a60130},
{0x14, 0x90170110},
{0x19, 0x04a11040},
{0x21, 0x04211020}),
...
}
That pin quirk chains ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE (which disables
PCBEEP-IN passthrough noise via COEF 0x36) ->
ALC285_FIXUP_LENOVO_HEADPHONE_NOISE (alc285_fixup_invalidate_dacs(), which
disables DAC 0x03 to prevent headphone click noise) ->
ALC269_FIXUP_THINKPAD_ACPI.
Chaining directly to ALC269_FIXUP_THINKPAD_ACPI still skips both noise
fixups. Because "Line Out Playback Volume" is only created when
alc285_fixup_invalidate_dacs() forces Speaker and Headphone to share DAC
0x02, alc285_lenovo_dac_rename() is currently a no-op. Also, once DAC
0x02 is shared between Speaker and Headphone, renaming "Line Out Playback
Volume" to "Headphone Playback Volume" causes PipeWire/PulseAudio ACP to
mute "Headphone Playback Volume" when switching to the Speaker port,
silencing the internal speakers (unlike a port-neutral name as used in
alc285_fixup_thinkpad_x1_gen7()).
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126100731.903504-1-zhangheng@kylinos.cn?part=1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-26 10:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 10:07 [PATCH] ALSA: hda/realtek: Fix mute LEDs on ThinkPad X1 Carbon 6th Zhang Heng
2026-11-26 10:27 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox