Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Leds on audio/mic mute buttons
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
sad_dam
n00b
n00b


Joined: 07 May 2018
Posts: 12

PostPosted: Mon May 07, 2018 6:06 pm    Post subject: Leds on audio/mic mute buttons Reply with quote

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
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7934
Location: ~Brussels - Belgique

PostPosted: Mon May 07, 2018 7:14 pm    Post subject: Reply with quote

Hi,

What is your laptop brand and model? What DM did you test?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
sad_dam
n00b
n00b


Joined: 07 May 2018
Posts: 12

PostPosted: Mon May 07, 2018 7:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7934
Location: ~Brussels - Belgique

PostPosted: Mon May 07, 2018 7:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
sad_dam
n00b
n00b


Joined: 07 May 2018
Posts: 12

PostPosted: Mon May 07, 2018 8:09 pm    Post subject: Reply with quote

Enabled. What should be the location of leds in /proc or /sys?
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7934
Location: ~Brussels - Belgique

PostPosted: Mon May 07, 2018 8:16 pm    Post subject: Reply with quote

I don't know, they are lit when the appropriate function is on (mic/speaker muted for example). For that, this is through the audio driver.

EDIT: take a look there:
https://www.thinkwiki.org/wiki/Table_of_thinkpad-acpi_LEDs
https://www.thinkwiki.org/wiki/Thinkpad-acpi
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
sad_dam
n00b
n00b


Joined: 07 May 2018
Posts: 12

PostPosted: Mon May 07, 2018 8:24 pm    Post subject: Reply with quote

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.

xaviermiller wrote:

EDIT: take a look there:
https://www.thinkwiki.org/wiki/Table_of_thinkpad-acpi_LEDs
https://www.thinkwiki.org/wiki/Thinkpad-acpi


I looked, but i did not find a solution there. therefore i decided to ask on the forum.
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7934
Location: ~Brussels - Belgique

PostPosted: Tue May 08, 2018 7:04 am    Post subject: Reply with quote

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
View user's profile Send private message
sad_dam
n00b
n00b


Joined: 07 May 2018
Posts: 12

PostPosted: Wed May 09, 2018 12:27 am    Post subject: Reply with quote

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
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7934
Location: ~Brussels - Belgique

PostPosted: Wed May 09, 2018 8:43 am    Post subject: Reply with quote

Do you see the LED lit when you mute the mic/speaker with alsamixer?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
sad_dam
n00b
n00b


Joined: 07 May 2018
Posts: 12

PostPosted: Thu May 10, 2018 12:19 am    Post subject: Reply with quote

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
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