HP mute LED not working

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
masemoel
Level 1
Level 1
Posts: 4
Joined: Thu Oct 14, 2021 10:40 am

HP mute LED not working

Post by masemoel »

Hello to all the Linux Mint users here :)
I have installed Linux Mint Cinnamon EDGE 20.2 on my laptop HP Pavilion 15-EC2014NS.
Everything is working fine here except for a function I lose in relation to Windows: the mute LED.
It works fine on Windows - whenever I mute the sound, the light is on - but on Linux I've never got it working.
I hope someone knows any solution, as this is a bit annoying for me :D

I've already tried doing a patch, according to what I've investigated at Google, in

Code: Select all

/etc/modprobe.d/mute.conf
with the following attempts:

Code: Select all

options snd-hda-intel model=alc295-hp-x360
options snd-hda-intel model=alc295-hp-ec2xxx
options snd-hda-intel model=alc295-hp-ec2014ns
options snd-hda-intel model=alc285-hp-x360
options snd-hda-intel model=hp-mute-led-mic3
But none of them worked.
The output of

Code: Select all

cat /proc/asound/card*/codec* | grep Codec
is:

Code: Select all

Codec: Nvidia GPU 94 HDMI/DP
Codec: Realtek ALC285
Thanks in advanced!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31711
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: HP mute LED not working

Post by SMG »

masemoel wrote: Thu Oct 14, 2021 10:57 amI have installed Linux Mint Cinnamon EDGE 20.2 on my laptop HP Pavilion 15-EC2014NS.
Welcome to the forum, masemoel.

You have very new hardware and it may be that you need a kernel even newer than the 5.11 available in the Edge ISO to get all the functions to work properly. You can try the 5.13-oem kernel to see if that helps.

Install the latest 5.13-oem kernel with sudo apt install linux-oem-20.04c and then reboot to see if that resolves your issue.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
masemoel
Level 1
Level 1
Posts: 4
Joined: Thu Oct 14, 2021 10:40 am

Re: HP mute LED not working

Post by masemoel »

SMG wrote: Wed Oct 20, 2021 9:28 pm
masemoel wrote: Thu Oct 14, 2021 10:57 amI have installed Linux Mint Cinnamon EDGE 20.2 on my laptop HP Pavilion 15-EC2014NS.
Welcome to the forum, masemoel.

You have very new hardware and it may be that you need a kernel even newer than the 5.11 available in the Edge ISO to get all the functions to work properly. You can try the 5.13-oem kernel to see if that helps.

Install the latest 5.13-oem kernel with sudo apt install linux-oem-20.04c and then reboot to see if that resolves your issue.
Okay, I have already installed 5.13.0-1017-oem kernel and rebooted, but the mute LED is still not working. I have reverted all the changes I made days ago when I posted this. What can I do now?
User avatar
SMG
Level 25
Level 25
Posts: 31711
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: HP mute LED not working

Post by SMG »

The only other idea I have is to make sure you are running the most recent BIOS/UEFI. I do not know how HP has that button wired to know what is making it light up.

Maybe someone else will have ideas.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
masemoel
Level 1
Level 1
Posts: 4
Joined: Thu Oct 14, 2021 10:40 am

Re: HP mute LED not working

Post by masemoel »

UPDATE:

Months later, I have finally found a real fix for my model. Seems like it's kernel related. I found some commands here (https://forum.manjaro.org/t/mute-switch ... /103658/17) that turned on and off my mute LED button!.

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

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

According to that forum, the patch looks to be already included in the kernel, but that patch needs to be addressed for each specific audio model. I have already added my model (https://github.com/masemoel/linux/commi ... 26edacbe8a). I just need to find how to compile kernel in order to check that the patch works. In the forum attached above, I could find how to take my exact audio model id with alsa-info.
User avatar
SMG
Level 25
Level 25
Posts: 31711
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: HP mute LED not working

Post by SMG »

masemoel wrote: Sun Nov 13, 2022 7:42 am UPDATE:

Months later, I have finally found a real fix for my model. Seems like it's kernel related. I found some commands here (https://forum.manjaro.org/t/mute-switch ... /103658/17) that turned on and off my mute LED button!.
If I am reading this correctly, the last post in the topic indicates the fix was put in the 5.18 rc6 kernel.

Have you upgraded to LM21 yet? You can get kernels newer than that if you are using LM21.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
masemoel
Level 1
Level 1
Posts: 4
Joined: Thu Oct 14, 2021 10:40 am

Re: HP mute LED not working

Post by masemoel »

SMG wrote: Mon Nov 14, 2022 12:04 am
masemoel wrote: Sun Nov 13, 2022 7:42 am UPDATE:

Months later, I have finally found a real fix for my model. Seems like it's kernel related. I found some commands here (https://forum.manjaro.org/t/mute-switch ... /103658/17) that turned on and off my mute LED button!.
If I am reading this correctly, the last post in the topic indicates the fix was put in the 5.18 rc6 kernel.

Have you upgraded to LM21 yet? You can get kernels newer than that if you are using LM21.
Yes, I updated to Linux Mint 21. I have 5.19 and 6.0.8 kernel installed, but it's not working anyway. As I told above, I have to add my audio model [103c:88dd] to the kernel patch. I am going to try building kernel with that, and see if works now.
User avatar
SMG
Level 25
Level 25
Posts: 31711
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: HP mute LED not working

Post by SMG »

masemoel wrote: Mon Nov 14, 2022 4:30 amYes, I updated to Linux Mint 21. I have 5.19 and 6.0.8 kernel installed, but it's not working anyway.
Those sound like mainline kernels and not Canonical/Ubuntu/Mint kernels. When I said you could get newer kernels, I meant newer Ubuntu/Mint kernels.

However, looking again through the links you provided, I see you have a different model than what is referenced in the bug reports so it is likely that is not yet in any kernel.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
MathMachine4
Level 3
Level 3
Posts: 115
Joined: Thu Jan 06, 2022 8:10 pm

Re: HP mute LED not working

Post by MathMachine4 »

Those commands didn't work for me. Even after installing alsa-tools, these commands don't seem to do anything. The 7778 (enable) just outputs

Code: Select all

nid = 0x20, verb = 0x500, param = 0xb
value = 0x0
nid = 0x20, verb = 0x400, param = 0x7778
value = 0x0
but doesn't actually change anything, while the 7774 (disable) just outputs

Code: Select all

nid = 0x20, verb = 0x500, param = 0xb
value = 0x0
nid = 0x20, verb = 0x400, param = 0x7774
value = 0x0
and, again, doesn't actually do anything. Not sure what to do :/
User avatar
SMG
Level 25
Level 25
Posts: 31711
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: HP mute LED not working

Post by SMG »

MathMachine4 wrote: Wed Nov 30, 2022 6:59 pmNot sure what to do :/
Please follow forum rules and create your own topic for your issue. Make sure to provide your system information in the first post.

The information posted in this topic is for a very specific computer model. There's no reason to think it will work for every computer model.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Hardware Support”