Messages in this thread | | | From | Shem Multinymous <> | Subject | [PATCH 00/12] ThinkPad embedded controller and hdaps drivers | Date | Sun, 06 Aug 2006 10:26:45 +0300 |
| |
This patch series does three related things:
- Introduces a new driver, thinkpad_ec, for the ThinkPad embedded controller (additional non-ACPI interface). - Changes the existing hdaps driver to use thinkpad_ec instead of direct (and incorrect) port access. - Several fixes and improvements to the hdaps driver.
Applies to git head.
Most of the patches in this series depend on previous ones. Any point in this series will compile and was briefly tested (this required introducing some code that gets overwritten by later patches). The *combination* of all these patches was extensively tested as part of the out-of-kernel tp_smapi package [1], and verified to work on dozens of ThinkPad models (thousands of sf.net downloads and no unresolved bugs). Note that the tp_smapi package includes another driver, to be submitted later, which also depends the thinkpad_ec driver introduced here.
For some context and the necessity for a separate thinkpad_ec module, see LKML thread "tp_smapi conflict with IDE, hdaps" on Dec. 2005.
I would like to thank the many testers and contributors who helped in the development, and in particular Henrique de Moraes Holschuh and ThinkWiki.org users Whoopie and Spiney.
[1] http://thinkwiki.org/wiki/tp_smapi http://tpctl.sourceforge.net/rel/tp_smapi-0.27.tgz
Summary:
[PATCH 01/12] thinkpad_ec: New driver for ThinkPad embedded controller access [PATCH 02/12] hdaps: Use thinkpad_ec instead of direct port access [PATCH 03/12] hdaps: Unify and cache hdaps readouts [PATCH 04/12] hdaps: Correct readout and remove nonsensical attributes [PATCH 05/12] hdaps: Remember keyboard and mouse activity [PATCH 06/12] hdaps: Limit hardware query rate [PATCH 07/12] hdaps: delay calibration to first hardware query [PATCH 08/12] hdaps: Add explicit hardware configuration functions [PATCH 09/12] hdaps: Add new sysfs attributes [PATCH 10/12] hdaps: Power off accelerometer on suspend and unload [PATCH 11/12] hdaps: Stop polling timer when suspended [PATCH 12/12] hdaps: Simplify whitelist
drivers/hwmon/hdaps.c | 758 ++++++++++++++++++++++++----------------- drivers/firmware/Kconfig | 3 drivers/firmware/Makefile | 1 drivers/firmware/thinkpad_ec.c | 444 ++++++++++++++++++++++++ drivers/hwmon/Kconfig | 1 include/linux/thinkpad_ec.h | 47 ++ 6 files changed, 940 insertions(+), 314 deletions(-) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |