]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI: thinkpad-acpi: export hotkey maximum masks
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Thu, 19 Jul 2007 02:45:30 +0000 (23:45 -0300)
committerLen Brown <len.brown@intel.com>
Sun, 22 Jul 2007 03:37:59 +0000 (23:37 -0400)
commit9b010de59cb6dcab7e167dd2a0fa5d3b31447fea
tree44b5e548c0d9a4ad06011816aa6f8ded3a95457b
parentae92bd17ff703b3703562148c73b4d6833e6a326
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>
Documentation/thinkpad-acpi.txt
drivers/misc/thinkpad_acpi.c