Re: [ibm-acpi-devel] [PATCH 1/1] thinkpad_acpi: Add support for status (external cover) LED
Linux kernel driver for ThinkPad laptops
Brought to you by:
akw,
hmholschuh
From: Adam G. <ag...@go...> - 2017-01-31 19:49:58
|
On Thu, Jan 19, 2017 at 12:21 PM, Adam Goode <ag...@go...> wrote: > This allows the control of the red status LED, which is the dot of the "i" > in the word "ThinkPad" on the outside cover of newer models. > > In the manual, both this LED and the power LED are referred to as > the "system-status indicators" without distinction between the two, so > I chose "status" as the LED name. > > Signed-off-by: Adam Goode <ag...@go...> > > diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/ > thinkpad_acpi.c > index cacb43fb1df7..6577bf8e5635 100644 > --- a/drivers/platform/x86/thinkpad_acpi.c > +++ b/drivers/platform/x86/thinkpad_acpi.c > @@ -5611,11 +5611,11 @@ static const char * const > tpacpi_led_names[TPACPI_LED_NUMLEDS] = { > "tpacpi::standby", > "tpacpi::dock_status1", > "tpacpi::dock_status2", > - "tpacpi::unknown_led2", > + "tpacpi::status", > "tpacpi::unknown_led3", > "tpacpi::thinkvantage", > }; > -#define TPACPI_SAFE_LEDS 0x1081U > +#define TPACPI_SAFE_LEDS 0x1481U > > static inline bool tpacpi_is_led_restricted(const unsigned int led) > { > -- > 2.11.0.390.gc69c2f50cf-goog > > ping ? |