diff --git a/CHANGES b/CHANGES index dd4d6e15..8db01e22 100644 --- a/CHANGES +++ b/CHANGES @@ -17,9 +17,13 @@ ask CVS about it: ----------------------------------------------------------------------------- 2.8.2 (???) - Library: Fix bmcsensors scaling, increase number of sensors + Library: Fix bmcsensors scaling, increase number of sensors; + Add w83627thf support; Advance version to 2.0.2 + Makefiles: Install burntest, fancontrol, pwmconfig, decode-*.pl Module i2c-sis630: sync with 2.6.0-X driver version. Module bmcsensors: Fix voltage scaling, voltage and fan limits + Program sensors-detect: Prefer Super I/O drivers; + Fix w83627hf detection 2.8.1 (20031005) diff --git a/Makefile b/Makefile index f887e085..413bc0a3 100644 --- a/Makefile +++ b/Makefile @@ -152,7 +152,8 @@ MACHINE := $(shell uname -m) # The subdirectories we need to build things in SRCDIRS := mkpatch SRCDIRS += kernel kernel/busses kernel/chips kernel/include -SRCDIRS += lib prog/sensors prog/dump prog/detect ${PROG_EXTRA:%=prog/%} etc +SRCDIRS += lib prog/detect prog/dump prog/eeprom prog/pwm \ + prog/sensors prog/xeon ${PROG_EXTRA:%=prog/%} etc # Some often-used commands with default options MKDIR := mkdir -p diff --git a/doc/progs b/doc/progs index 4c73a456..1cbf0341 100644 --- a/doc/progs +++ b/doc/progs @@ -76,12 +76,12 @@ see useful_addresses.html. data register. Usual syntax: ./isadump 0x295 0x296 -* prog/eeprom/decode-dimms.pl (written in Perl 5, not installed) +* prog/eeprom/decode-dimms.pl (written in Perl 5, installed by 'make install') This program decodes the information generated by the `eeprom.o' module. It will only work for the installed eeprom module from the src/ directory, not for the old one in the i2c/drivers/ directory. -* prog/eeprom/decode-vaio.pl (written in Perl 5, not installed) +* prog/eeprom/decode-vaio.pl (written in Perl 5, installed by 'make install') This program decodes the information in a Sony Vaio laptop identification eeprom at 0x57. @@ -119,11 +119,11 @@ see useful_addresses.html. This script creates the /dev/i2c-* files. Please check the source before you run it, as you may need to set some variables first. -* prog/pwm/pwmconfig (shell script, not installed) +* prog/pwm/pwmconfig (shell script, installed by 'make install') Formerly pwmtest, tests the pwm (pulse width modulation) outputs of sensors for their effect on the fans and helps to setup the configfile for fancontrol. -* prog/pwm/fancontrol (shell script, not installed) +* prog/pwm/fancontrol (shell script, installed by 'make install') Controls fanspeeds responding to changes on temperature sensors. Configuration through pwmconfig. @@ -148,5 +148,5 @@ see useful_addresses.html. These scripts gather sensors data and graph the data for web pages. See prog/tellerstats/README for more information. -* prog/xeon/decode-xeon.pl (written in Perl, not installed) +* prog/xeon/decode-xeon.pl (written in Perl, installed by 'make install') ID ROM data decoding for Xeon processors. diff --git a/prog/eeprom/Module.mk b/prog/eeprom/Module.mk new file mode 100644 index 00000000..73926f31 --- /dev/null +++ b/prog/eeprom/Module.mk @@ -0,0 +1,29 @@ +# Module.mk +# Copyright (c) 1998, 1999 Frodo Looijaard +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +MODULE_DIR := prog/eeprom +PROGEEPROMDIR := $(MODULE_DIR) + +PROGEEPROMTARGETS := $(MODULE_DIR)/decode-dimms.pl \ + $(MODULE_DIR)/decode-edid.pl \ + $(MODULE_DIR)/decode-vaio.pl + +install-prog-eeprom: $(PROGEEPROMTARGETS) + $(INSTALL) -o root -g root -m 755 $(PROGEEPROMTARGETS) $(SBINDIR) + +user_install :: install-prog-eeprom + diff --git a/prog/pwm/Module.mk b/prog/pwm/Module.mk new file mode 100644 index 00000000..8484b260 --- /dev/null +++ b/prog/pwm/Module.mk @@ -0,0 +1,28 @@ +# Module.mk +# Copyright (c) 1998, 1999 Frodo Looijaard +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +MODULE_DIR := prog/pwm +PROGPWMDIR := $(MODULE_DIR) + +PROGPWMTARGETS := $(MODULE_DIR)/burntest $(MODULE_DIR)/fancontrol \ + $(MODULE_DIR)/pwmconfig + +install-prog-pwm: $(PROGPWMTARGETS) + $(INSTALL) -o root -g root -m 755 $(PROGPWMTARGETS) $(SBINDIR) + +user_install :: install-prog-pwm + diff --git a/prog/xeon/Module.mk b/prog/xeon/Module.mk new file mode 100644 index 00000000..cd3a1cf4 --- /dev/null +++ b/prog/xeon/Module.mk @@ -0,0 +1,27 @@ +# Module.mk +# Copyright (c) 1998, 1999 Frodo Looijaard +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +MODULE_DIR := prog/xeon +PROGXEONDIR := $(MODULE_DIR) + +PROGXEONTARGETS := $(MODULE_DIR)/decode-xeon.pl + +install-prog-xeon: $(PROGXEONTARGETS) + $(INSTALL) -o root -g root -m 755 $(PROGXEONTARGETS) $(SBINDIR) + +user_install :: install-prog-xeon +