diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-04-27 21:00:09 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-04-28 21:41:14 -0400 |
commit | ecf2a80a97b3d38ae008fa8a3cb98cd540ac1eae (patch) | |
tree | 2984d40ad016e7e9bb8aa05f63e238dea3bc817b /Documentation | |
parent | 7d5a015eece8be9186d3613d595643a520555e33 (diff) |
ACPI: thinkpad-acpi: add a fan-control feature master toggle
Len Brown considers that an active by default fan control interface in
laptops may be too close to giving users enough rope. There is a good
chance he is quite correct on this, especially if someone decides to use
that interface in applets and users are not aware of its risks.
This patch adds a master switch to thinkpad-acpi that enables or disables
the entire fan-control feature as a module parameter: "fan_control". It
defaults to disabled. Set it to non-zero to enable fan control.
Also, the patch removes the expermiental status from fan control, since it
is stable enough to not be called experimental, and the master switch makes
it safe enough to do so.
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 | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt index eab4997efc0f..bca50d78a425 100644 --- a/Documentation/thinkpad-acpi.txt +++ b/Documentation/thinkpad-acpi.txt | |||
@@ -38,7 +38,7 @@ detailed description): | |||
38 | - Experimental: embedded controller register dump | 38 | - Experimental: embedded controller register dump |
39 | - LCD brightness control | 39 | - LCD brightness control |
40 | - Volume control | 40 | - Volume control |
41 | - Experimental: fan speed, fan enable/disable | 41 | - Fan control and monitoring: fan speed, fan enable/disable |
42 | - Experimental: WAN enable and disable | 42 | - Experimental: WAN enable and disable |
43 | 43 | ||
44 | A compatibility table by model and feature is maintained on the web | 44 | A compatibility table by model and feature is maintained on the web |
@@ -681,21 +681,20 @@ distinct. The unmute the volume after the mute command, use either the | |||
681 | up or down command (the level command will not unmute the volume). | 681 | up or down command (the level command will not unmute the volume). |
682 | The current volume level and mute state is shown in the file. | 682 | The current volume level and mute state is shown in the file. |
683 | 683 | ||
684 | EXPERIMENTAL: fan speed, fan enable/disable | 684 | Fan control and monitoring: fan speed, fan enable/disable |
685 | ------------------------------------------- | 685 | --------------------------------------------------------- |
686 | 686 | ||
687 | procfs: /proc/acpi/ibm/fan | 687 | procfs: /proc/acpi/ibm/fan |
688 | sysfs device attributes: (hwmon) fan_input, pwm1, pwm1_enable | 688 | sysfs device attributes: (hwmon) fan_input, pwm1, pwm1_enable |
689 | 689 | ||
690 | This feature is marked EXPERIMENTAL because the implementation | 690 | NOTE NOTE NOTE: fan control operations are disabled by default for |
691 | directly accesses hardware registers and may not work as expected. USE | 691 | safety reasons. To enable them, the module parameter "fan_control=1" |
692 | WITH CAUTION! To use this feature, you need to supply the | 692 | must be given to thinkpad-acpi. |
693 | experimental=1 parameter when loading the module. | ||
694 | 693 | ||
695 | This feature attempts to show the current fan speed, control mode and | 694 | This feature attempts to show the current fan speed, control mode and |
696 | other fan data that might be available. The speed is read directly | 695 | other fan data that might be available. The speed is read directly |
697 | from the hardware registers of the embedded controller. This is known | 696 | from the hardware registers of the embedded controller. This is known |
698 | to work on later R, T and X series ThinkPads but may show a bogus | 697 | to work on later R, T, X and Z series ThinkPads but may show a bogus |
699 | value on other models. | 698 | value on other models. |
700 | 699 | ||
701 | Fan levels: | 700 | Fan levels: |