Hi all,
This patch initializes fan control on the ADT7463/ADM1027 chip to be dynamically regulated by the hardware, and sets sane temperature treshold values.
Note that this is *not* the same as what the proprietary bios does on the Tyan S2881; that BIOS initializes the fans to blow at full speed, but sets fan control to manual mode allowing programmatic control of fan speed.
It's easy to change the fan control mode to manual once the machine has booted, so this seems like a smarter approach - the fans should last longer, and they will use less power. Machines will also be a whole lot quieter.
There are a few mainboard specific bits for the s2881 missing, but I've still got to figure out how to get those loaded at the right time (i.e. after the adm1027 code has been run).
Comments more than welcome, of course.
Thanks, Ward.
On 11.05.2007 21:42, Ward Vandewege wrote:
This patch initializes fan control on the ADT7463/ADM1027 chip to be dynamically regulated by the hardware, and sets sane temperature treshold values.
It's easy to change the fan control mode to manual once the machine has booted, so this seems like a smarter approach - the fans should last longer, and they will use less power. Machines will also be a whole lot quieter.
Really nice. The comments are also very instructive for those who will attempt similar measures for other chips.
Initialize the fans on the adt7463 chip to be dynamically regulated by the hardware, rather than always on at full speed. Set temperature treshold values to safe defaults, rather than the not-so-safe power-on defaults.
Signed-off-by: Ward Vandewege ward@gnu.org
Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
it is MB related, it should be in MB/mainboard.c
YH
On 5/11/07, Ward Vandewege ward@gnu.org wrote:
Hi all,
This patch initializes fan control on the ADT7463/ADM1027 chip to be dynamically regulated by the hardware, and sets sane temperature treshold values.
Note that this is *not* the same as what the proprietary bios does on the Tyan S2881; that BIOS initializes the fans to blow at full speed, but sets fan control to manual mode allowing programmatic control of fan speed.
It's easy to change the fan control mode to manual once the machine has booted, so this seems like a smarter approach - the fans should last longer, and they will use less power. Machines will also be a whole lot quieter.
There are a few mainboard specific bits for the s2881 missing, but I've still got to figure out how to get those loaded at the right time (i.e. after the adm1027 code has been run).
Comments more than welcome, of course.
Thanks, Ward.
-- Ward Vandewege ward@fsf.org Free Software Foundation - Senior System Administrator
-- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios
On Fri, May 11, 2007 at 02:09:45PM -0700, yhlu wrote:
it is MB related, it should be in MB/mainboard.c
Why do you think this is MB related? None of this is specific to the s2881 motherboard; it should work just as well on other boards with this chip. That is, if it has been integrated in the board properly.
Or am I missing something?
Thanks, Ward.