[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1452614830.376787.489968026.5FAEDB86@webmail.messagingengine.com>
Date: Tue, 12 Jan 2016 14:07:10 -0200
From: Henrique de Moraes Holschuh <hmh@....eng.br>
To: Johannes Stezenbach <js@...21.net>,
Pali Rohár <pali.rohar@...il.com>
Cc: Darren Hart <dvhart@...radead.org>, Pavel Machek <pavel@....cz>,
ibm-acpi-devel@...ts.sourceforge.net,
platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
"Fabio D'Urso" <fabiodurso@...mail.it>
Subject: Re: [PATCH] thinkpad_acpi: Add support for keyboard backlight
On Mon, Jan 11, 2016, at 19:12, Johannes Stezenbach wrote:
> On Mon, Jan 11, 2016 at 09:03:01PM +0100, Pali Rohár wrote:
> > On Monday 11 January 2016 20:28:00 Henrique de Moraes Holschuh wrote
> > > The two features are not the same (and are handled differently by the
> > > firmware, for whatever reason), although they do serve the same
> > > purpose. I don't think a thinkpad will ever have both features at
> > > the same time, so I have no idea why they changed the firmware
> > > interface.
> ...
> > And more important, I was told that ThinkPad x230 comes in variant with
> > both ThinkLight (that LED upper the display) and keyboard backlight
> > (under they keyboard).
>
> I can confirm this, my x230 has both. FWIW, BIOS hotkey
> Fn+Space cycles through off, dim backlight, full backlight
> and full thinklight. /sys/class/leds/tpacpi::thinklight/brightness
> can be read (showing either 0 or 255) but writes are ignored.
> Dito for /proc/acpi/ibm/light.
We likely need to integrate better (future work) the new backlight
control with the thinklight control and the firmware interface in the
x230.
Is the ACPI AML for fn+space readable enough, or is it trapping directly
into SMM? Because if it interacts with the traditional higher-level
ACPI AML we already use to talk to the thinklight (and now to the
backlight), it should be relatively easy to fix the driver to better
support the x230.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
Powered by blists - more mailing lists