From 39021a374e3baba95dd71f6e55b1de7cf9fe7a2d Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Fri, 4 Jul 2003 20:10:01 +0000 Subject: [PATCH] updates git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1854 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 11 +++++++---- INSTALL | 17 ++++++++++------- QUICKSTART | 2 ++ README | 1 + 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/CHANGES b/CHANGES index f27e13b1..989d3ae5 100644 --- a/CHANGES +++ b/CHANGES @@ -18,12 +18,14 @@ ask CVS about it: ----------------------------------------------------------------------------- 2.8.0 (200307??) - NOTE: Requires i2c-2.8.0 or newer. - Dropped all kernel 2.2 and 2.3 compatibility; 2.4.9 or later required + NOTE: Requires i2c-2.8.0 or newer!!! + Dropped all kernel 2.2 and 2.3 compatibility; 2.4.9 or later required; + 2.4.13 or later required for mkpatch. File i2c-dev.h: Include userspace portion removed from i2c-dev.h in i2c package File doc/chips/fscscy: Add watchdog documentation File sensors.conf.eg: Fix vt1211/vt8231 thermistor calculations + File sensors.h: Now automatically generated Library: Add support for exponents and logarithms for vt1211/vt8235 temps; add adm1026, lm83, lm85, w83791d support; Advance version to 2.0.0 @@ -94,7 +96,8 @@ ask CVS about it: Program mkpatch: Fix vt8231 compile; keep tsunami from menu on non-alpha; Add adm1026,lm85 support; Remove sensors.c file; add sensors_compat.h; - Remove patches to i2c-core.c and drivers/char/mem.c + Remove patches to i2c-core.c and drivers/char/mem.c; + Now works only for kernels 2.4.13 or later Program p4b_smbus: Fix 'make install'; Install in same place as other modules; Clear correct bits in config word @@ -108,7 +111,7 @@ ask CVS about it: Add support for adm1026, 82801EB (ICH5), W83791D; Add support for w83l785ts, nForce2; Fix UTF-8 incompatibility; - Better support for lm75 + Better support for lm75; Add support for lm83 2.7.0 (20021208) diff --git a/INSTALL b/INSTALL index cdfe9c11..883b7bf7 100644 --- a/INSTALL +++ b/INSTALL @@ -3,7 +3,9 @@ DETAILED INSTALLATION INSTRUCTIONS See QUICKSTART for the simple version. -REQUIRES i2c-2.8.0 or later!!! +This package is ONLY for 2.4 kernels 2.4.9 or later !!! + +This package REQUIRES i2c-2.8.0 or later!!! FOR 2.5 KERNELS, Do not attempt to compile this package. Use the drivers already in the 2.5 kernel development tree. @@ -11,14 +13,16 @@ FOR 2.5 KERNELS, Do not attempt to compile this package. ============================================================================= These are the installation instruction for the lm_sensors package. -There are two ways in which you can compile and install this package. Each -has its own strong points. They are: +There are two ways in which you can compile and install this package. +Option 1 is much easier and is recommended. 1. Complete separate from kernel compilation + (only for 2.4 kernels 2.4.9 or later) This will generate a set of modules which can be inserted and removed as needed; nothing will be written into the kernel tree; 2. Patching of the kernel + (only for 2.4 kernels 2.4.13 or later) This will patch your kernel source tree. You must recompile your kernel to take advantage of this. But it makes it possible to compile drivers into the kernel itself, instead of having to add them as modules. @@ -44,8 +48,7 @@ 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 i2c code is integrated into the -mainstream kernels. Unfortunately, this lm_sensors release REQUIRES +This lm_sensors release REQUIRES i2c-2.8.0 or later, which is not in kernels through 2.4.21. Therefore, you must download and install the i2c package with the same version number or higher as this lm_sensors package. @@ -76,8 +79,8 @@ options 2 and 3). Especially if you have in the past placed the header files in /usr/local/include, this will probably go wrong. See below on how to fix this. -NOTE: option 3 only works with 2.2 and 2.4 (2.4.0 and later) kernels; - option 1 and 2 also work with 2.3 kernels. +NOTE: option 3 only works with 2.4 kernels 2.4.13 or later; + option 1 and 2 only work with 2.4 kernels 2.4.9 or later. Mixing old and new, and using beta drivers (compilation option 1) diff --git a/QUICKSTART b/QUICKSTART index 7a97c153..50a69541 100644 --- a/QUICKSTART +++ b/QUICKSTART @@ -10,6 +10,8 @@ This is by far the EASIEST METHOD. Other methods are described in INSTALL. ------------------------------------------ + * Verify you are running a 2.4 kernel, 2.4.9 or later. + * Make sure you have the kernel tree corresponding to your current kernel in /lib/modules/(uname -r)/build. Even if the source is there, it may not correspond to your running diff --git a/README b/README index b742037c..19de41ea 100644 --- a/README +++ b/README @@ -8,6 +8,7 @@ OVERVIEW OF THE LM_SENSORS PACKAGE AND SUMMARY OF SUPPORTED DEVICES + !!! This package is ONLY for 2.4 kernels 2.4.9 or later !!! !!! THIS PACKAGE REQUIRES i2c-2.8.0 or later!!! FOR 2.5 KERNELS, Do not attempt to compile this package.