diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2009-02-02 11:33:41 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-02-02 22:34:23 -0500 |
commit | 0a3db1cec5d476804185114ff5d1845aed3936b3 (patch) | |
tree | 17fa66bc283519e04919c514cb3cfd3a3a438c65 /drivers/acpi/osl.c | |
parent | 18e352e4a73465349711a9324767e1b2453383e2 (diff) | |
download | op-kernel-dev-0a3db1cec5d476804185114ff5d1845aed3936b3.zip op-kernel-dev-0a3db1cec5d476804185114ff5d1845aed3936b3.tar.gz |
ACPI: Skip the first two elements in the _BCL package
According to the Spec the first two elements in the _BCL package won't be
regarded as the available brightness level. The first is the brightness when
full power is connected to the box(It means that the AC adapter is plugged).
The second is the brightness level when the box is on battery.
If the first two elements are still used while finding the next brightness
level, it will fall back to the lowest level when keeping on pressing
hotkey. (On some boxes the brightness will be changed twice when hotkey is
pressed once. One is in the ACPI video driver. The other is changed by sys I/F.
In the ACPI video driver the first two elements will be used while changing
the brightness. But the first two elements is skipped while using sys I/F.
In such case there exists the inconsistency).
So he first two elements had better be skipped while showing the available
brightness or finding the next brightness level.
http://bugzilla.kernel.org/show_bug.cgi?id=12450
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
0 files changed, 0 insertions, 0 deletions