diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-07-18 22:45:30 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-21 23:37:59 -0400 |
commit | 9b010de59cb6dcab7e167dd2a0fa5d3b31447fea (patch) | |
tree | 44b5e548c0d9a4ad06011816aa6f8ded3a95457b /Documentation/thinkpad-acpi.txt | |
parent | ae92bd17ff703b3703562148c73b4d6833e6a326 (diff) |
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/thinkpad-acpi.txt')
-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: | |||
214 | key (see above). Returns the current status of the hot | 214 | key (see above). Returns the current status of the hot |
215 | keys mask, and allows one to modify it. | 215 | keys mask, and allows one to modify it. |
216 | 216 | ||
217 | hotkey_all_mask: | ||
218 | bit mask that should enable event reporting for all | ||
219 | supported hot keys, when echoed to hotkey_mask above. | ||
220 | Unless you know which events need to be handled | ||
221 | passively (because the firmware *will* handle them | ||
222 | anyway), do *not* use hotkey_all_mask. Use | ||
223 | hotkey_recommended_mask, instead. You have been warned. | ||
224 | |||
225 | hotkey_recommended_mask: | ||
226 | bit mask that should enable event reporting for all | ||
227 | supported hot keys, except those which are handled by | ||
228 | the firmware. Echo it to hotkey_mask above, to use. | ||
229 | |||
217 | 230 | ||
218 | Bluetooth | 231 | Bluetooth |
219 | --------- | 232 | --------- |