From 842bf0eb4813688c1338c36e631b0116e4adb48c Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Thu, 21 Nov 2002 02:18:41 +0000 Subject: [PATCH] updates for 2.7.0 git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1636 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 8 ++++++-- INSTALL | 14 +++++++------- QUICKSTART | 16 ++++++++-------- README | 40 ++++++++++++++++++++++------------------ 4 files changed, 43 insertions(+), 35 deletions(-) diff --git a/CHANGES b/CHANGES index eb690aef..ae0c6354 100644 --- a/CHANGES +++ b/CHANGES @@ -17,8 +17,8 @@ ask CVS about it: ----------------------------------------------------------------------------- -2.6.6 (200211??) - NOTE: Requires i2c-2.6.6 or newer. +2.7.0 (200211??) + NOTE: Requires i2c-2.7.0 or newer. File doc/busses/i2c-ali1535: Add license, miscellaneous changes File doc/busses/i2c-ali15x3: Add license, miscellaneous changes File doc/busses/i2c-sis645: Add license @@ -47,8 +47,11 @@ ask CVS about it: add support for SiS645DX/961 and SiS735 Module i2c-viapro: Add support for VT8233A (new ID 0x3177) and VT8235 Module lm87: Add multiple VRM version support + Module vt1211: Fix inx limits and alarms; fix in0 + Module vt8231: Fix inx limits and alarms; fix in0 Module w83781d: Fix in0/in1 initialization Module smartbatt: New + Modules (several): Remove #ifndefs, require i2c-2.7.0 Program decode-dimms.pl: Code cleanup; valid HTML; better HTML output; stop decoding on checksum error Program dmidecode: Fix read bug; upgrade to version 1.8 @@ -57,6 +60,7 @@ ask CVS about it: handle unknown prefix with suggestion Program lm_sensors.init: Remove spaces bug; add green/red output Program mkpatch: Fix dmi_scan module compile + Program rrd: Add sanity limits to newly-created RRD. Program sensord: (v0.6.2) Add sanity limits to newly-created RRD. Program sensors: Add support for MC1066, Rambus Rimms; fix w83781d temp3 alarm; fix gl518sm rev 0x00 recognition; diff --git a/INSTALL b/INSTALL index 2acab959..3261177d 100644 --- a/INSTALL +++ b/INSTALL @@ -2,7 +2,7 @@ INSTALLATION INSTRUCTIONS -REQUIRES i2c-2.6.6 or later!!! +REQUIRES i2c-2.7.0 or later!!! FOR 2.5 KERNELS, we do not recommend attempting to compile this package. Use kernel patches linked from our download page instead!!! @@ -43,13 +43,13 @@ NOTE: PLEASE READ THE DOCUMENTATION IN THE DOC SUBDIRECTORY IF YOU GET STUCK! Installing the i2c package ========================== -Note: as of kernel 2.3.34, the new i2c code is integrated into the -mainstream kernels. You MAY be able to skip this whole step if you use kernel -2.3.34 or later, but it is likely that you will have compilation problems. -We strongly recommend that you download and install the i2c package with -the same version number as the lm_sensors package. +Note: as of kernel 2.3.34, the i2c code is integrated into the +mainstream kernels. Unfortunately, this lm_sensors release REQUIRES +i2c-2.7.0 or later, which is not in kernels through 2.4.19. +Therefore, you must download and install the i2c package with +the same version number or higher as this lm_sensors package. -As of version 2.4.0 of lm_sensors, all i2c components are distributed in +All i2c components are distributed in a separate package. There are install instructions in that package. If you want to use compilation option 2 (patching the kernel) for lm_sensors, you will have to use compilation option 3 (patching the kernel) for i2c diff --git a/QUICKSTART b/QUICKSTART index 80e35076..dbb996c2 100644 --- a/QUICKSTART +++ b/QUICKSTART @@ -8,27 +8,27 @@ system, but not always!! Quickstart for i2c option 1 (modules) and lm_sensors option 1 (modules). This is the recommended EASIEST METHOD. Other methods are described in INSTALL. ---------------------------------------- +------------------------------------------ * Make sure you have the kernel tree corresponding to your current - kernel in /usr/src/linux. Distribution kernels usually won't do, - compile your own from a 'vanilla' tree (get one from - ftp://ftp.kernel/org/pub/linux/kernel/). + kernel in /lib/modules/(uname -r)/build. + Even if the source is there, it may not correspond to your running + kernel. If so, you will have to recompile your kernel. * Verify that your i2c support in the kernel is configured as modules or is disabled. If it is compiled-in, you obviously - cannot replace it with modules. + cannot replace it with modules in the next step. * Download, build, and install the latest i2c package, - UNLESS you have kernel 2.4.13 or greater, or i2c-2.6.1 or greater. + (i2c-2.7.0 or later). Quickstart for i2c: make; make install; depmod -a - * Do `make'. + * Go back to the lm_sensors directory. Do `make'. The warnings about .d files at the start are harmless. If you have compile problems, you probably should not have skipped step 3. Go back and install the latest i2c package. If you still have compile problems, you probably should not - have skipped step 1. + have skipped the i2c step above. * Do (as root) `make install'. diff --git a/README b/README index 7f16680a..df4277f4 100644 --- a/README +++ b/README @@ -1,12 +1,14 @@ ============================================================================= + FOR QUICK INSTALLATION INSTRUCTIONS SEE THE 'QUICKSTART' FILE. FOR FULL INSTALLATION INSTRUCTIONS SEE THE 'INSTALL' FILE. - FOR THE FAQ SEE THE 'doc/FAQ' FILE. + FOR THE FAQ SEE THE 'doc/FAQ' or 'doc/lm_sensors-FAQ.html' FILES. + ============================================================================= OVERVIEW OF THE LM_SENSORS PACKAGE AND SUMMARY OF SUPPORTED DEVICES -REQUIRES kernel 2.4.13 or later, or i2c-2.6.1 or later!!! + !!! THIS PACKAGE REQUIRES i2c-2.7.0 or later!!! FOR 2.5 KERNELS, we do not recommend attempting to compile this package. Use kernel patches linked from our download page instead!!! @@ -17,26 +19,26 @@ This is the completely rewritten version 2 of lm_sensors, a collection of modules for general SMBus access and hardware monitoring. Version 1 is now officially unsupported. -WARNING! Starting with lm_sensors version 2.5.0, only kernels 2.2.0 and -later are supported. Use lm_sensors version 2.4.5 if you use an older -kernel. +WARNING! This package will compile for 2.2 and 2.4 kernels only. +Use lm_sensors-2.4.5 for 2.0 kernels. +Use the kernel patches linked from our download page for 2.5 kernels. + +WARNING! You must get the latest i2c package, i2c-2.7.0, +EVEN IF your kernel does contain i2c support!!!!!!!!! + +Kernels 2.3.34 and later, and all 2.4.x kernels, contain the +I2C package. Kernels 2.4.13 - 2.4.19 contain i2c-2.6.1, +which is NOT sufficient for compilation of this package. + +See the lm_sensors download page for guidance: + http://secure.netroedge.com/~lm78/download.html + WARNING! If you downloaded this package through our CVS archive, you walk the cutting edge. Things may not even compile! On the other hand, you will be the first to profit from new drivers and other changes. Have fun! -WARNING! You may also need the latest i2c package, -EVEN IF your kernel does contain i2c support!!!!!!!!!, -unless i2c came bundled with lm_sensors. - -Kernels 2.3.34 and later, and all 2.4.x kernels, contain the -I2C package. Kernel 2.4.13 contains i2c-2.6.1, which is sufficient -for most users. However, if you have problems compiling, -you may still need to download and install the latest I2C version. - -See the lm_sensors download page for guidance: - http://secure.netroedge.com/~lm78/download.html - +============================================================================= At least the following I2C/SMBus adapters are supported: Acer Labs M1533, M1535, and M1543C @@ -87,6 +89,8 @@ We also support some miscellaneous chips: Philips Semiconductors PCF8574, PCF8591 DDC Monitor embedded EEPROMs SDRAM Dimms with Serial Presence Detect EEPROMs + Smart Battery sensors + IPMI-BMC sensors See our New Drivers page http://www.lm-sensors.nu/~lm78/newdrivers.html @@ -146,7 +150,7 @@ report it works for you. But please try to read the documentation and FAQ before you ask any questions! The latest version of this package can always be found on our homepage: -http://www.netroedge.com/~lm78. Pre-release versions can be retrieved +http://secure.netroedge.com/~lm78. Pre-release versions can be retrieved through anonymous CVS; see doc/cvs for more information. This whole package is copyright (c) 1998 - 2002 by Frodo Looijaard and