diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-07-18 22:45:46 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-21 23:50:05 -0400 |
commit | 3d6f99ca00ccf861305fd8630a21f2e696886708 (patch) | |
tree | 9c22295bbcccf8325cc690c691cf16f28bfeb3a4 | |
parent | a8fba3da3d11d808137be7ebeb3b6938a42f011f (diff) |
ACPI: thinkpad-acpi: make EC-based thermal readings non-experimental
Reading the 16 thermal sensors directly from the EC has been stable for
about one year, in all supported ThinkPad models. Remove its
"experimental" label.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r-- | Documentation/thinkpad-acpi.txt | 18 | ||||
-rw-r--r-- | drivers/misc/thinkpad_acpi.c | 2 |
2 files changed, 6 insertions, 14 deletions
diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt index 5d827ded34d1..3eb949e14a02 100644 --- a/Documentation/thinkpad-acpi.txt +++ b/Documentation/thinkpad-acpi.txt | |||
@@ -710,23 +710,15 @@ Temperature sensors | |||
710 | procfs: /proc/acpi/ibm/thermal | 710 | procfs: /proc/acpi/ibm/thermal |
711 | sysfs device attributes: (hwmon) temp*_input | 711 | sysfs device attributes: (hwmon) temp*_input |
712 | 712 | ||
713 | Most ThinkPads include six or more separate temperature sensors but | 713 | Most ThinkPads include six or more separate temperature sensors but only |
714 | only expose the CPU temperature through the standard ACPI methods. | 714 | expose the CPU temperature through the standard ACPI methods. This |
715 | This feature shows readings from up to eight different sensors on older | 715 | feature shows readings from up to eight different sensors on older |
716 | ThinkPads, and it has experimental support for up to sixteen different | 716 | ThinkPads, and up to sixteen different sensors on newer ThinkPads. |
717 | sensors on newer ThinkPads. | ||
718 | |||
719 | EXPERIMENTAL: The 16-sensors feature is marked EXPERIMENTAL because the | ||
720 | implementation directly accesses hardware registers and may not work as | ||
721 | expected. USE WITH CAUTION! To use this feature, you need to supply the | ||
722 | experimental=1 parameter when loading the module. When EXPERIMENTAL | ||
723 | mode is enabled, reading the first 8 sensors on newer ThinkPads will | ||
724 | also use an new experimental thermal sensor access mode. | ||
725 | 717 | ||
726 | For example, on the X40, a typical output may be: | 718 | For example, on the X40, a typical output may be: |
727 | temperatures: 42 42 45 41 36 -128 33 -128 | 719 | temperatures: 42 42 45 41 36 -128 33 -128 |
728 | 720 | ||
729 | EXPERIMENTAL: On the T43/p, a typical output may be: | 721 | On the T43/p, a typical output may be: |
730 | temperatures: 48 48 36 52 38 -128 31 -128 48 52 48 -128 -128 -128 -128 -128 | 722 | temperatures: 48 48 36 52 38 -128 31 -128 48 52 48 -128 -128 -128 -128 -128 |
731 | 723 | ||
732 | The mapping of thermal sensors to physical locations varies depending on | 724 | The mapping of thermal sensors to physical locations varies depending on |
diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c index f74d7d600d83..84a1000e4cec 100644 --- a/drivers/misc/thinkpad_acpi.c +++ b/drivers/misc/thinkpad_acpi.c | |||
@@ -2709,7 +2709,7 @@ static int __init thermal_init(struct ibm_init_struct *iibm) | |||
2709 | 2709 | ||
2710 | acpi_tmp7 = acpi_evalf(ec_handle, NULL, "TMP7", "qv"); | 2710 | acpi_tmp7 = acpi_evalf(ec_handle, NULL, "TMP7", "qv"); |
2711 | 2711 | ||
2712 | if (thinkpad_id.ec_model && experimental) { | 2712 | if (thinkpad_id.ec_model) { |
2713 | /* | 2713 | /* |
2714 | * Direct EC access mode: sensors at registers | 2714 | * Direct EC access mode: sensors at registers |
2715 | * 0x78-0x7F, 0xC0-0xC7. Registers return 0x00 for | 2715 | * 0x78-0x7F, 0xC0-0xC7. Registers return 0x00 for |