View previous topic :: View next topic |
Author |
Message |
sad_dam n00b
Joined: 07 May 2018 Posts: 23
|
Posted: Mon May 07, 2018 6:06 pm Post subject: Leds on audio/mic mute buttons |
|
|
On my laptop there are buttons with LEDs that mute the audio/microphone. Is it possible to manually light these LEDs in the system? The problem is that the buttons work (I bound them to the required functionality in my WM), and the LEDs do not. To test, when i booted from some live cd with DE, the buttons with LEDs were working. |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Mon May 07, 2018 7:14 pm Post subject: |
|
|
Hi,
What is your laptop brand and model? What DM did you test? _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
sad_dam n00b
Joined: 07 May 2018 Posts: 23
|
Posted: Mon May 07, 2018 7:24 pm Post subject: |
|
|
xaviermiller wrote: | Hi,
What is your laptop brand and model? What DM did you test? |
Lenovo thinkpad t420. DM - Display Manager? In Gentoo i use xinit, tested buttons in Mint. |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Mon May 07, 2018 7:46 pm Post subject: |
|
|
Try to enable thinkpad ACPI config in the kernel
Code: | CONFIG_THINKPAD_ACPI=m
CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
# CONFIG_THINKPAD_ACPI_DEBUGFACILITIES is not set
# CONFIG_THINKPAD_ACPI_DEBUG is not set
# CONFIG_THINKPAD_ACPI_UNSAFE_LEDS is not set
CONFIG_THINKPAD_ACPI_VIDEO=y
CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
|
It works on my thinkpad _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
sad_dam n00b
Joined: 07 May 2018 Posts: 23
|
Posted: Mon May 07, 2018 8:09 pm Post subject: |
|
|
Enabled. What should be the location of leds in /proc or /sys? |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
|
Back to top |
|
|
sad_dam n00b
Joined: 07 May 2018 Posts: 23
|
Posted: Mon May 07, 2018 8:24 pm Post subject: |
|
|
xaviermiller wrote: | I don't know, they are lit when the appropriate function is on (mic/speaker muted for example) |
Mine not, maybe it's pre configured in DE, but i dont have DE, i think i need somehow to set them up manually.
I looked, but i did not find a solution there. therefore i decided to ask on the forum. |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Tue May 08, 2018 7:04 am Post subject: |
|
|
no, it's not related to DE, it runs on my terminal too.
do you have acpid service running? _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
sad_dam n00b
Joined: 07 May 2018 Posts: 23
|
Posted: Wed May 09, 2018 12:27 am Post subject: |
|
|
xaviermiller wrote: | no, it's not related to DE, it runs on my terminal too.
do you have acpid service running? |
Yes |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed May 09, 2018 8:43 am Post subject: |
|
|
Do you see the LED lit when you mute the mic/speaker with alsamixer? _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
sad_dam n00b
Joined: 07 May 2018 Posts: 23
|
Posted: Thu May 10, 2018 12:19 am Post subject: |
|
|
xaviermiller wrote: | Do you see the LED lit when you mute the mic/speaker with alsamixer? |
No, they did not work, but after rebuilding the kernel and activating everything that is possible in it, they are working now, the problem is solved. Thank you. (Of course the buttons do not work as they should, but this is not a question of this topic.) |
|
Back to top |
|
|
|