Mute Switch LED not working Hp Omen 15

Mute Switch mutes the audio but the led indicator on the button doesn’t light up. The led works on windows.

inxi -Fxaa                                                                                                                                               ✔ 
System:
  Host: Ultron Kernel: 5.15.21-1-MANJARO x86_64 bits: 64 compiler: gcc
    v: 11.1.0 parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.15-x86_64
    root=UUID=ae8ac2cf-fbd1-473d-bfff-8e6b11a36512 rw rootflags=subvol=@
    quiet splash resume=UUID=7d46ec8f-c2ad-472b-b831-1e162c8d9316
    udev.log_priority=3
  Desktop: GNOME 41.3 tk: GTK 3.24.31 wm: gnome-shell dm: GDM 41.3
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: OMEN Laptop 15-en0xxx v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 8786 v: 22.58 serial: <superuser required> UEFI: AMI
    v: F.13 date: 03/04/2021
Battery:
  ID-1: BAT0 charge: 58.4 Wh (100.0%) condition: 58.4/58.4 Wh (100.0%)
    volts: 12.8 min: 11.6 model: Hewlett-Packard Primary type: Li-ion
    serial: N/A status: Full cycles: 525
CPU:
  Info: model: AMD Ryzen 5 4600H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 2 family: 0x17 (23) model-id: 0x60 (96) stepping: 1
    microcode: 0x8600106
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 8 MiB desc: 2x4 MiB
  Speed (MHz): avg: 1527 high: 2960 min/max: 1400/3000 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1397 2: 1397
    3: 1397 4: 1397 5: 1396 6: 1397 7: 1397 8: 1397 9: 1397 10: 2960 11: 1397
    12: 1397 bogomips: 71895
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional,
    IBRS_FW, STIBP: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile]
    vendor: Hewlett-Packard driver: nvidia v: 510.47.03
    alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:2191
    class-ID: 0300
  Device-2: AMD Renoir vendor: Hewlett-Packard driver: amdgpu v: kernel
    bus-ID: 07:00.0 chip-ID: 1002:1636 class-ID: 0300
  Device-3: Luxvisions Innotech Limited HP Wide Vision HD Camera type: USB
    driver: uvcvideo bus-ID: 3-3:2 chip-ID: 30c9:000e class-ID: 0e02
  Display: x11 server: X.org 1.21.1.3 compositor: gnome-shell driver:
    loaded: amdgpu,nvidia unloaded: modesetting,nouveau,radeon failed: ati
    alternate: fbdev,nv,vesa resolution: <missing: xdpyinfo>
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: NVIDIA TU116 High Definition Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:1aeb
    class-ID: 0403
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
    vendor: Hewlett-Packard driver: snd_rn_pci_acp3x v: kernel
    alternate: snd_pci_acp3x,snd_pci_acp5x bus-ID: 07:00.5 chip-ID: 1022:15e2
    class-ID: 0480
  Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel bus-ID: 07:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Sound Server-1: ALSA v: k5.15.21-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.45 running: no
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel port: e000 bus-ID: 02:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: 30:24:a9:89:55:7a
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 03:00.0
    chip-ID: 8086:2723 class-ID: 0280
  IF: wlo1 state: up mac: 78:2b:46:4a:91:60
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 3-4:3 chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 1.38 TiB used: 15.42 GiB (1.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SA2000M81000G
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: 50026B768474B93C
    rev: S5Z42109 temp: 24.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:2 vendor: Samsung
    model: MZVLB512HBJQ-000H1 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: S4GLNX0N998775
    rev: HPS0NEXF temp: 36.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 460.08 GiB size: 460.08 GiB (100.00%)
    used: 15.42 GiB (3.4%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:4
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 568 KiB (0.2%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:3
  ID-3: /home raw-size: 460.08 GiB size: 460.08 GiB (100.00%)
    used: 15.42 GiB (3.4%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:4
  ID-4: /var/log raw-size: 460.08 GiB size: 460.08 GiB (100.00%)
    used: 15.42 GiB (3.4%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:4
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 16.56 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme1n1p3 maj-min: 259:5
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A gpu: amdgpu temp: 37.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 347 Uptime: 24m wakeups: 1 Memory: 15.06 GiB
  used: 2.55 GiB (16.9%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: N/A Packages: pacman: 991 lib: 292 Shell: Zsh v: 5.8
  running-in: gnome-terminal inxi: 3.3.12

Any Solution???

On some models you need:

Probably that is what your model needs to, but maybe will not work.

Probably helpful and worth investigating https://wiki.archlinux.org/title/Laptop#Audio_mute_LED

Mine has a AMD Ryzen 5 4600H cpu in it.

We are interested in the audio driver.
For Device-1

For Device-3

lsmod | grep snd_hda_intel                                       ✔ 
snd_hda_intel          61440  7
snd_intel_dspcfg       32768  1 snd_hda_intel
snd_hda_codec         184320  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          118784  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_pcm               163840  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_hda_core,snd_acp3x_pdm_dma,snd_pcm_dmaengine
snd                   126976  27 snd_ctl_led,snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
grep Codec /proc/asound/card*/codec*                                                                                                                     ✔ 
/proc/asound/card0/codec#0:Codec: Nvidia GPU 99 HDMI/DP
/proc/asound/card1/codec#0:Codec: Realtek ALC245

So, i guess you need to create the /etc/modprobe.d/mute-led.conf
and append to it this line:

options snd-hda-intel model=snd_ctl_led

No, it is not working. Rebooted the laptop.

I can’t find this codec on above mentioned link

Well, that is why was just a

Maybe the led will be revealed by
lsmod | grep led

lsmod | grep led                                                 ✔ 
snd_ctl_led            24576  0
ledtrig_audio          16384  2 snd_ctl_led,snd_hda_codec_generic
snd                   126976  27 snd_ctl_led,snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
soundcore              16384  2 snd_ctl_led,snd

I have tried various models here but nothing is working so far.

But maybe you are have to change the module_name
From

to something else that corresponds to the parameter_name=parameter_value
I need to read more to fully understand …
https://wiki.archlinux.org/title/Kernel_module#Setting_module_options

Can not find anything else.
Upgraded the kernel to 5.16 but no luck.

Everything else is working perfectly fine. No manual configuration, nothing… Only the mute switch ( Win/Mod key + F5) LED is bugging me a lot. Though it mutes the audio just fine, I am missing the yellow/orange glowing light.

User on a another HP laptop ( Omen 15-en0044ur ) reported a similar problem to kernel developers
214735 – Audio mute led does not work on HP OMEN 15
And a kernel patch was created for this device
https://lkml.org/lkml/2021/11/15/1092

https://elixir.bootlin.com/linux/v5.15.21/source/sound/pci/hda/patch_realtek.c#L8748
SND_PCI_QUIRK(0x103c, 0x8788, “HP OMEN 15”, ALC285_FIXUP_HP_MUTE_LED)

But OMEN Laptop 15-en0xxx has a different subvendor ID code [103c:8787]
(confirmed from hardware scans for similar systems - AMD Family 17h/19h HD Audio Controller)
so the patch for the mute LED will not be used for this device automatically
and kernel developers did not create a model name for this patch to be used on other devices

I suggest you try using the hda-verb commands suggested in the Bugzilla report to try turning LED on and off
( Ensure package alsa-tools is installed for hda-verb tool )

214735 – Audio mute led does not work on HP OMEN 15
It turns out that

sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0x0B && sudo hda-verb /dev/snd/hwC1D0 0x20 0x400 0x7778

enables this LED and

sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0x0B && sudo hda-verb /dev/snd/hwC1D0 0x20 0x400 0x7774`

disables.

If the hda-verb commands work to change the LED, get ALSA information for both LED states

sudo alsa-info.sh

That would be more than sufficient evidence to support a Bugzilla request to kernel developers
to add a quirk for this device to use the same patch - ( SND_PCI_QUIRK(0x103c, 0x8787… )
Or a model option to allow use of the patch - ALC285_FIXUP_HP_MUTE_LED

3 Likes

Hey, those two commands turn the led on & off… Commands are working

This script requires amixer utility to continue

You should have package alsa-utils installed to provide alsa-info.sh script and amixer utility. Package is included on all Manjaro official ISOs

I suggest you install metapackage manjaro-alsa to ensure system has all the required ALSA packages

Yes that is already installed.