* [PATCH] ALSA: hda/realtek: add new quirk for HP OmniBook 7 Laptop 16-bh0xxx
@ 2026-03-23 3:05 Zhang Heng
2026-03-23 3:13 ` Zhang Heng
0 siblings, 1 reply; 3+ messages in thread
From: Zhang Heng @ 2026-03-23 3:05 UTC (permalink / raw)
To: tiwai, perex, chris.chiu, kailang, sbinding
Cc: linux-sound, linux-kernel, Zhang Heng, stable,
Artem S . Tashkinov
The alc245 on this machine requires this quirk to control the mute LED.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=221214
Cc: <stable@vger.kernel.org>
Tested-by: Artem S. Tashkinov <aros@gmx.com>
Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
---
sound/hda/codecs/realtek/alc269.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index 327f4dc1b09f..482489caf565 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -4102,6 +4102,7 @@ enum {
ALC233_FIXUP_LENOVO_GPIO2_MIC_HOTKEY,
ALC245_FIXUP_BASS_HP_DAC,
ALC245_FIXUP_ACER_MICMUTE_LED,
+ ALC245_FIXUP_CS35L41_I2C_2_MUTE_LED,
};
/* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -6631,6 +6632,12 @@ static const struct hda_fixup alc269_fixups[] = {
.v.func = alc285_fixup_hp_coef_micmute_led,
.chained = true,
.chain_id = ALC2XX_FIXUP_HEADSET_MIC,
+ },
+ [ALC245_FIXUP_CS35L41_I2C_2_MUTE_LED] = {
+ .type = HDA_FIXUP_FUNC,
+ .v.func = alc245_fixup_hp_mute_led_coefbit,
+ .chained = true,
+ .chain_id = ALC287_FIXUP_CS35L41_I2C_2,
}
};
@@ -7155,6 +7162,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x103c, 0x8e37, "HP 16 Piston OmniBook X", ALC287_FIXUP_CS35L41_I2C_2),
SND_PCI_QUIRK(0x103c, 0x8e3a, "HP Agusta", ALC287_FIXUP_CS35L41_I2C_2),
SND_PCI_QUIRK(0x103c, 0x8e3b, "HP Agusta", ALC287_FIXUP_CS35L41_I2C_2),
+ HDA_CODEC_QUIRK(0x103c, 0x8e60, "HP OmniBook 7 Laptop 16-bh0xxx", ALC245_FIXUP_CS35L41_I2C_2_MUTE_LED),
SND_PCI_QUIRK(0x103c, 0x8e60, "HP Trekker ", ALC287_FIXUP_CS35L41_I2C_2),
SND_PCI_QUIRK(0x103c, 0x8e61, "HP Trekker ", ALC287_FIXUP_CS35L41_I2C_2),
SND_PCI_QUIRK(0x103c, 0x8e62, "HP Trekker ", ALC287_FIXUP_CS35L41_I2C_2),
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ALSA: hda/realtek: add new quirk for HP OmniBook 7 Laptop 16-bh0xxx
2026-03-23 3:05 [PATCH] ALSA: hda/realtek: add new quirk for HP OmniBook 7 Laptop 16-bh0xxx Zhang Heng
@ 2026-03-23 3:13 ` Zhang Heng
2026-03-27 9:39 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: Zhang Heng @ 2026-03-23 3:13 UTC (permalink / raw)
To: tiwai, perex, chris.chiu, kailang, sbinding
Cc: linux-sound, linux-kernel, stable, Artem S . Tashkinov
Please help me check whether it is more appropriate to add a new quirk
or replace the existing one:
SND_PCI_QUIRK(0x103c, 0x8e60, "HP Trekker ", ALC287_FIXUP_CS35L41_I2C_2)
with
SND_PCI_QUIRK(0x103c, 0x8e60, "HP OmniBook 7 Laptop 16-bh0xxx",
ALC245_FIXUP_CS35L41_I2C_2_MUTE_LED)
Both the PCI subsystem ID and the HDA subsystem ID are 0x103c8e60.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ALSA: hda/realtek: add new quirk for HP OmniBook 7 Laptop 16-bh0xxx
2026-03-23 3:13 ` Zhang Heng
@ 2026-03-27 9:39 ` Takashi Iwai
0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2026-03-27 9:39 UTC (permalink / raw)
To: Zhang Heng
Cc: tiwai, perex, chris.chiu, kailang, sbinding, linux-sound,
linux-kernel, stable, Artem S . Tashkinov
On Mon, 23 Mar 2026 04:13:01 +0100,
Zhang Heng wrote:
>
> Please help me check whether it is more appropriate to add a new quirk
> or replace the existing one:
>
> SND_PCI_QUIRK(0x103c, 0x8e60, "HP Trekker ", ALC287_FIXUP_CS35L41_I2C_2)
>
> with
>
> SND_PCI_QUIRK(0x103c, 0x8e60, "HP OmniBook 7 Laptop 16-bh0xxx",
> ALC245_FIXUP_CS35L41_I2C_2_MUTE_LED)
>
> Both the PCI subsystem ID and the HDA subsystem ID are 0x103c8e60.
I believe we can replace it as it seems using the same Cirrus s-codec
and setup. So I skip this one for now and expect you'll submit a new
one instead.
thanks,
Takashi
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-27 9:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-23 3:05 [PATCH] ALSA: hda/realtek: add new quirk for HP OmniBook 7 Laptop 16-bh0xxx Zhang Heng
2026-03-23 3:13 ` Zhang Heng
2026-03-27 9:39 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox