diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2009-09-12 20:22:18 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-09-19 06:54:34 +0200 |
commit | de4c8cc7bddd9c43dc1b85517ab445ffa8163058 (patch) | |
tree | 80397a4742e942dd05949267421d20f24885aeab /drivers/ide/ide-disk.c | |
parent | thinkpad-acpi: don't poll by default any of the reserved hotkeys (diff) | |
download | linux-de4c8cc7bddd9c43dc1b85517ab445ffa8163058.tar.xz linux-de4c8cc7bddd9c43dc1b85517ab445ffa8163058.zip |
thinkpad-acpi: report brightness events when required
Report KEY_BRIGHTNESSUP and KEY_BRIGHTNESSDOWN input events when the
ThinkPad is in "passive brightness control" mode (because either we or
ACPI video touched _BCL), and ACPI video is not processing these
events by itself.
This happens only on Lenovo ThinkPads with ACPI video support, when
operating with the ACPI video driver in acpi_backlight=vendor mode.
Issuing these events is the right thing to do, and will work around
bugzilla #13368, if userspace is properly configured and actively
handles these events.
For other ThinkPads, and when ACPI video is handling brightness
changes, thinkpad-acpi will continue NOT sending KEY_BRIGHTNESS*
events by default.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/ide/ide-disk.c')
0 files changed, 0 insertions, 0 deletions