Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Mute LED not working on HP EliteBook 850 G5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
alogim
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2015
Posts: 89

PostPosted: Tue Sep 18, 2018 7:33 am    Post subject: [SOLVED] Mute LED not working on HP EliteBook 850 G5 Reply with quote

I have a HP ElitEBook 850 G5 and on Windows, whenever I muted the audio (F5 key) a small led used to light up. While the key correctly mutes the volume, there is no LED feedback. I have both alsa and pulseaudio installed. When I run alsamixer, I see this, however there is no feedback.
Any help is appreciated. Thanks in advance.
_________________
AsRock Z77 Pro4 - Intel Core i5-3570k + Cooler Master Hyper 412 SLIM - Corsair Vengeance 2x4 GiB - Sapphire Radeon HD 7950 Dual-X with Boost - 500 GB WD Caviar Black - Dell SE2717H 27" - Logitech M280 - Trust GXT 18 | OnePlus 5T 8 GB RAM + 128 GB ROM


Last edited by alogim on Wed Sep 19, 2018 4:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 41404
Location: 56N 3W

PostPosted: Tue Sep 18, 2018 10:06 am    Post subject: Reply with quote

alogim,

The kernel has lots of LED drivers. You need to choose the right one, if there is one, for your system.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
alogim
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2015
Posts: 89

PostPosted: Tue Sep 18, 2018 10:24 am    Post subject: Reply with quote

NeddySeagoon wrote:
alogim,

The kernel has lots of LED drivers. You need to choose the right one, if there is one, for your system.

Yes, I know, however I am unable to find the right one, it seems. For example, I found this option (KEYBOARD_ATKBD_HP_KEYCODES), however I am unable to activate it.
Here is the result if I search for it inside menuconfig and here is what I get if I go in that menu.
_________________
AsRock Z77 Pro4 - Intel Core i5-3570k + Cooler Master Hyper 412 SLIM - Corsair Vengeance 2x4 GiB - Sapphire Radeon HD 7950 Dual-X with Boost - 500 GB WD Caviar Black - Dell SE2717H 27" - Logitech M280 - Trust GXT 18 | OnePlus 5T 8 GB RAM + 128 GB ROM
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 41404
Location: 56N 3W

PostPosted: Tue Sep 18, 2018 11:05 am    Post subject: Reply with quote

alogim,

I suspect that its separate from the keyboard driver.
You need the right keyboard driver too bet the LED is driven by the kernel separately. You could use the LED to indicate anything.

Have a look on the
Code:
  │ Symbol: LEDS_CLASS [=y]                                                          │ 
  │ Type  : tristate                                                                 │ 
  │ Prompt: LED Class Support                                                        │ 
  │   Location:                                                                      │ 
  │     -> Device Drivers                                                            │ 
  │ (9)   -> LED Support (NEW_LEDS [=y])
menu.

If you don't see anything there, press 'z' and the kernel will show you all the hidden options too.
That allows you to read the help to see why they are hidden.
The Depends on: boolean equation must evaluate to true for an option to be selectable.
Many of then are hidden because they don't make sense on x86/amd64
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
alogim
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2015
Posts: 89

PostPosted: Wed Sep 19, 2018 4:49 pm    Post subject: Reply with quote

NeddySeagoon wrote:
alogim,

I suspect that its separate from the keyboard driver.
You need the right keyboard driver too bet the LED is driven by the kernel separately. You could use the LED to indicate anything.

Have a look on the
Code:
  │ Symbol: LEDS_CLASS [=y]                                                          │ 
  │ Type  : tristate                                                                 │ 
  │ Prompt: LED Class Support                                                        │ 
  │   Location:                                                                      │ 
  │     -> Device Drivers                                                            │ 
  │ (9)   -> LED Support (NEW_LEDS [=y])
menu.

If you don't see anything there, press 'z' and the kernel will show you all the hidden options too.
That allows you to read the help to see why they are hidden.
The Depends on: boolean equation must evaluate to true for an option to be selectable.
Many of then are hidden because they don't make sense on x86/amd64

Thank you for your response. LED Support was already enabled, however, after an extensive search on a Ubuntu site collecting errors, I managed to find the solution.

In order to enable the Mute Trigger I had to create a new file /etc/modprobe.d/alsa-base.conf and insert the following content:
Code:
options snd-hda-intel model=mute-led-gpio
This has solved the problem.

To summarize, when I mute the volume a little led lights up inside the F5 button. Additionally, if I mute the microphone, a little led lights up inside the F8 button too.
_________________
AsRock Z77 Pro4 - Intel Core i5-3570k + Cooler Master Hyper 412 SLIM - Corsair Vengeance 2x4 GiB - Sapphire Radeon HD 7950 Dual-X with Boost - 500 GB WD Caviar Black - Dell SE2717H 27" - Logitech M280 - Trust GXT 18 | OnePlus 5T 8 GB RAM + 128 GB ROM
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum