summaryrefslogtreecommitdiff
path: root/drivers/char/hvc_console.c
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2006-11-24 13:47:14 (GMT)
committerLen Brown <len.brown@intel.com>2006-12-07 06:38:44 (GMT)
commit16663a87ad1df7022661bc8813b7a2e84e7f5e66 (patch)
treed78d869332bdfa8a5859134114eb145eb41b5dd3 /drivers/char/hvc_console.c
parent778b4d742b210b9cac31f223527f30f1fc70312b (diff)
downloadlinux-16663a87ad1df7022661bc8813b7a2e84e7f5e66.tar.xz
ACPI: ibm-acpi: implement fan watchdog command
This patch implements a fan control safety watchdog, by request of the authors of userspace fan control scripts. When the watchdog timer expires, the equivalent action of a "fan enable" command is executed. The watchdog timer is reset at every reception of a fan control command that could change the state of the fan itself. This command is meant to be used by userspace fan control daemons, to make sure the fan is never left set to an unsafe level because of userspace problems. Users of the X31/X40/X41 "speed" command are on their own, the current implementation of "speed" is just too incomplete to be used safely, anyway. Better to never use it, and just use the "level" command instead. The watchdog is programmed using echo "watchdog <number>" > fan, where number is the number of seconds to wait before doing an "enable", and zero disables the watchdog. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Diffstat (limited to 'drivers/char/hvc_console.c')
0 files changed, 0 insertions, 0 deletions