Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
thinkpad x1 carbon LEDs
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
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2541
Location: Near Toronto

PostPosted: Sun May 22, 2016 3:26 pm    Post subject: thinkpad x1 carbon LEDs Reply with quote

I wonder if anyone has insight into this (tiny) issue

My new x1 carbon (4th generation) has an audio mute LED and
a microphone mute LED on the keyboard (Fn-F1 and Fn-F4).

They don't light up in gentoo (the audio mute key works to mute
sound; the mic mute key does nothing).

In ubuntu (I have a triple boot gentoo / ubuntu / windows) the LEDs
work.

Curiously, I found a patch for thinkpad_acpi.c which fixes the mic mute LED
in gentoo; it is simply a substitution:

Code:
sed -i -e 's/"tpacpi::thinkvantage",/"tpacpi::thinkvantage",\n\t"tpacpi::unknown_led4",\n\t"tpacpi::micmute",/g' -e 's/0x1081U/0x5081U/g' -e 's/0x1fffU/0x5fffU/g' thinkpad_acpi.c


Once I recompiled the thinkpad_acpi module the mic mute LED could be controlled (via a acpi event).

But the audio mute LED remains non-functional in gentoo ... and I can't find any such patch

But perhaps someone here knows more about this ... (e.g. how to find the magic numbers as in the above
that control the audio mute button)
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Mon May 23, 2016 5:53 am    Post subject: Re: thinkpad x1 carbon LEDs Reply with quote

albright wrote:
In ubuntu (I have a triple boot gentoo / ubuntu / windows) the LEDs
work.
Do they work in http://sysresccd.org? You know, it's based on Gentoo.
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