diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-07-19 04:45:30 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-22 05:37:59 +0200 |
commit | 9b010de59cb6dcab7e167dd2a0fa5d3b31447fea (patch) | |
tree | 44b5e548c0d9a4ad06011816aa6f8ded3a95457b /Documentation | |
parent | ACPI: thinkpad-acpi: enable more hotkeys (diff) | |
download | linux-9b010de59cb6dcab7e167dd2a0fa5d3b31447fea.tar.xz linux-9b010de59cb6dcab7e167dd2a0fa5d3b31447fea.zip |
ACPI: thinkpad-acpi: export hotkey maximum masks
The firmware knows how many hot keys it supports, so export this
information in a sysfs attribute.
And the driver knows which keys are always handled by the firmware in all
known ThinkPad models too, so export this information as well in a sysfs
attribute. Unless you know which events need to be handled in a passive
way, do *not* enable hotkeys that are always handled by the firmware.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/thinkpad-acpi.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt index 2f30db0e0db5..142a14fa1d91 100644 --- a/Documentation/thinkpad-acpi.txt +++ b/Documentation/thinkpad-acpi.txt @@ -214,6 +214,19 @@ sysfs notes: key (see above). Returns the current status of the hot keys mask, and allows one to modify it. + hotkey_all_mask: + bit mask that should enable event reporting for all + supported hot keys, when echoed to hotkey_mask above. + Unless you know which events need to be handled + passively (because the firmware *will* handle them + anyway), do *not* use hotkey_all_mask. Use + hotkey_recommended_mask, instead. You have been warned. + + hotkey_recommended_mask: + bit mask that should enable event reporting for all + supported hot keys, except those which are handled by + the firmware. Echo it to hotkey_mask above, to use. + Bluetooth --------- |