All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip van der Matten <kernel@reeltoreel.nl>
To: tiwai@suse.com
Cc: perex@perex.cz, linux-sound@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Philip van der Matten <kernel@reeltoreel.nl>
Subject: [PATCH] ALSA: hda/realtek: Add mute LED quirk for HP OmniBook 5 16-ag1xxx
Date: Sat, 28 Nov 2026 17:36:41 +0100	[thread overview]
Message-ID: <20261128163641.135876-1-kernel@reeltoreel.nl> (raw)

The HP OmniBook 5 Laptop 16-ag1xxx (board 8DF4, ALC245, subsystem ID
103c:8df4) has no quirk entry, so the speaker mute LED (F5) and the
mic mute LED (F8) are not driven.

ALC245_FIXUP_HP_X360_MUTE_LEDS matches the hardware: the mute LED is
controlled by COEF 0x0b bits 3:2 and the mic mute LED by GPIO 0x04.

Tested on kernel 7.3.5 with "options snd-hda-intel model=,103c:8756",
which selects the same fixup: both LEDs work. This patch itself has
not been build-tested.

The register layout was found and this patch was prepared with the help
of an AI assistant (Claude); the LEDs were verified on the machine by
the submitter.

Signed-off-by: Philip van der Matten <kernel@reeltoreel.nl>
---
 sound/hda/codecs/realtek/alc269.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index a4b4333..bf4e755 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -8198,6 +8198,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x103c, 0x8def, "HP EliteBook 660 G12", ALC236_FIXUP_HP_GPIO_LED),
 	SND_PCI_QUIRK(0x103c, 0x8df0, "HP EliteBook 630 G12", ALC236_FIXUP_HP_GPIO_LED),
 	SND_PCI_QUIRK(0x103c, 0x8df1, "HP EliteBook 630 G12", ALC236_FIXUP_HP_GPIO_LED),
+	SND_PCI_QUIRK(0x103c, 0x8df4, "HP OmniBook 5 Laptop 16-ag1xxx", ALC245_FIXUP_HP_X360_MUTE_LEDS),
 	SND_PCI_QUIRK(0x103c, 0x8df7, "HP Z66 G6", ALC236_FIXUP_HP_GPIO_LED),
 	SND_PCI_QUIRK(0x103c, 0x8dfb, "HP EliteBook 6 G1a 14", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF),
 	SND_PCI_QUIRK(0x103c, 0x8dfc, "HP EliteBook 645 G12", ALC236_FIXUP_HP_GPIO_LED),
-- 
2.56.1


             reply	other threads:[~2026-11-28 16:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 16:36 Philip van der Matten [this message]
2026-12-01  7:55 ` [PATCH] ALSA: hda/realtek: Add mute LED quirk for HP OmniBook 5 16-ag1xxx Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261128163641.135876-1-kernel@reeltoreel.nl \
    --to=kernel@reeltoreel.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.