X86 platform drivers
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: platform-driver-x86@vger.kernel.org
Subject: [Bug 222044] hp-wmi: Mute and mic-mute LEDs not supported on HP Laptop 15-fc0xxx (board 8DC9)
Date: Mon, 30 Nov 2026 07:09:34 +0000	[thread overview]
Message-ID: <bug-222044-215701-zLk9Xtp0fL@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-222044-215701@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=222044

--- Comment #15 from Zhang Heng (zhangheng@kylinos.cn) ---
Hi Piyush,

Your analysis of the mic-mute LED is correct. The internal mic is the AMD
ACP6x DMIC on a separate card, so PipeWire's software mute never touches the
codec's analog Capture Switch. The audio-micmute trigger follows that codec
switch, which boots muted, so the LED stays on regardless of the real mic
state. This is not specific to 103c:8dc9.

You don't need a kernel fixup for this though - the LED sysfs interface
already does exactly what you're asking for:

  echo none > /sys/class/leds/hda::micmute/trigger
  echo 0   > /sys/class/leds/hda::micmute/brightness

After unbinding the trigger, the LED no longer follows any capture switch;
only writes to brightness change it. The GPIO callback still runs, so
hardware control is unaffected. Putting these in an early udev rule gives
you the "off at boot" default.

Alternatively, to force the mic LED off through the control-LED layer:

  echo off > /sys/class/sound/ctl-led/mic/mode

I would not change the ALSA quirk. ALC236_FIXUP_HP_MUTE_LED_MICMUTE_GPIO is
shared by several HP models, so changing its default trigger behaviour would
affect all of them, not just 103c:8dc9. A per-SSID quirk would also be the
wrong layer, since the symptom depends on the userspace sound server, not on
the board ID.

Your plan to do the sync in userspace is the right one: PipeWire (or the
desktop layer) should write /sys/class/leds/hda::micmute/brightness when it
mutes/unmutes the DMIC stream. No kernel change is needed for this SSID.

One caveat: the audio-micmute trigger aggregates all capture switches
carrying SNDRV_CTL_ELEM_ACCESS_MIC_LED, with "any unmuted turns the LED off".
The ASoC DMIC control doesn't carry that flag, so the HDA codec switch is the
only one it sees. Fixing that properly would mean teaching the ASoC side to
expose the flag too - a much bigger cross-subsystem change, not worth it for
one board.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2026-11-30  7:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21 15:05 [Bug 222044] New: hp-wmi: Mute and mic-mute LEDs not supported on HP Laptop 15-fc0xxx (board 8DC9) bugzilla-daemon
2026-09-24 18:42 ` [Bug 222044] " bugzilla-daemon
2026-09-25  2:06 ` bugzilla-daemon
2026-10-06  9:50 ` bugzilla-daemon
2026-10-06 10:27 ` bugzilla-daemon
2026-10-07  6:44 ` bugzilla-daemon
2026-10-07  7:12 ` bugzilla-daemon
2026-10-07  7:12 ` bugzilla-daemon
2026-10-07  7:12 ` bugzilla-daemon
2026-10-09  1:46 ` bugzilla-daemon
2026-10-09 17:55 ` bugzilla-daemon
2026-10-09 17:59 ` bugzilla-daemon
2026-10-09 18:01 ` bugzilla-daemon
2026-10-10 10:14 ` bugzilla-daemon
2026-10-14 10:23 ` bugzilla-daemon
2026-10-15  7:00 ` bugzilla-daemon
2026-11-27 13:27 ` bugzilla-daemon
2026-11-30  7:09 ` bugzilla-daemon [this message]
2026-11-30  8:57 ` bugzilla-daemon
2026-12-01 11:26 ` bugzilla-daemon
2026-12-01 11:39 ` bugzilla-daemon
2026-12-01 13:07 ` bugzilla-daemon

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=bug-222044-215701-zLk9Xtp0fL@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox