]> git.neil.brown.name Git - history.git/commit
[PATCH] sonypi: add fan and temperature status/control
authorStelian Pop <stelian@popies.net>
Thu, 10 Feb 2005 01:48:07 +0000 (17:48 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 10 Feb 2005 01:48:07 +0000 (17:48 -0800)
commit05d1949848c04ae112df363e7597dca4ac9c4160
tree518ba889eb7a0613af9b04fa82bf1ee7a1b8130c
parent3b2d3681224674a5ffaa8248298cde2f5f0fbf2f
[PATCH] sonypi: add fan and temperature status/control

1. FAN Status/Control: you can now get the fan status (running or not) and
   also set the fan speed (for <5 seconds only). The problem is that there
   is an auto regulator that kicks in within about 5 seconds after that to
   restart the fan if it is above a threshold temperature (39 Degree C in
   my Vaio). It is useful just to get the fan status (primarily). It also
   appears that you can change the speed by increasing the values (much
   like the LCD control) - there are effectively only about 6 speeds (it
   seems - not sure, but from what I've played with on my Vaio).

2. Temperature: you can get the current temperature (same as reported by
   ACPI). This is primarily useful for APM users (since ACPI already gives
   this). I have used this to detect when the fan comes on in my Vaio (39
   Degree C).

From: Narayanan R S <nars@kadamba.org>
Signed-off-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/sonypi.c
include/linux/sonypi.h