[ltp] thinkpad-acpi release for 2.6.24-rc2
Henrique de Moraes Holschuh
linux-thinkpad@linux-thinkpad.org
Mon, 19 Nov 2007 23:57:08 -0200
On Mon, 19 Nov 2007, Yves-Alexis Perez wrote:
> I'll try rc3 with this patch and report back. The correct behavior would
> be for brightness keys to be processed "in kernel" by video module,
> without userspace intervention? What should be thinkpad-acpi role in
> that case? Report lid events to be processed by acpid?
thinkpad-acpi is not supposed to need to do absolutely *anything* related to
backlight brightness control, for it to work "just right". The firmware and
standard ACPI video (video.c) and LID handling should do everything that is
required for the backlight to operate correctly in a thinkpad.
And the thinkpad issues standard LID ACPI events, so you shouldn't even need
to bother with the thinkpad-specific ones some versions of thinkpad-acpi
will let through. In fact, DON'T depend on them, the latest versions of
thinkpad-acpi will filter out those events on purpose.
thinkpad-acpi backlight support can be used to control the brightness from a
script (say, set the default brightness according to time of day, whatever),
and to query the current backlight level for on-screen-display purposes.
But if video.c is able to do it in your thinkpad, you should use video.c
instead.
--
"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