From 971dabe55ed9d635574d00968cf186db0380840b Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Tue, 21 Dec 2004 23:29:26 +0000 Subject: [PATCH] quick fixup for 2.9.0. Probably needs more work. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2800 7894878c-1315-0410-8ee3-d5d059ff63e0 --- INSTALL | 10 +++++----- QUICKSTART | 2 +- README | 18 ++++++++---------- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/INSTALL b/INSTALL index 9694acf0..4e7c9e47 100644 --- a/INSTALL +++ b/INSTALL @@ -5,16 +5,16 @@ See QUICKSTART for the simple version. The driver modules in this package are ONLY for 2.4 kernels 2.4.9 or later !!! -This package REQUIRES i2c-2.8.1 or later! The i2c subsystem found in the +This package REQUIRES i2c-2.9.0 or later! The i2c subsystem found in the Linux 2.4 kernel trees, even the latest ones, is outdated and won't work. -FOR 2.5/2.6 KERNELS, do not attempt to compile this package. +FOR 2.5/2.6 KERNELS, do not attempt to compile the modules in this package. Use the drivers already in the 2.5/2.6 kernel tree. If you are running a 2.5/2.6 kernel, the ONLY thing you need to do is 'make user' and 'make user_install'. Do NOT follow the rest of these instructions. -IF YOU REQUIRE BTTV AND RELATED MODULES, +IF YOU REQUIRE BTTV AND RELATED MODULES, See the information in README. Do NOT follow the rest of these instructions. @@ -57,8 +57,8 @@ NOTE: PLEASE READ THE DOCUMENTATION IN THE DOC SUBDIRECTORY IF YOU GET STUCK! Installing the i2c package ========================== -This lm_sensors release REQUIRES i2c-2.8.0 or later, -which is not in kernels through (at least) 2.4.22. +This lm_sensors release REQUIRES i2c-2.9.0 or later, +which is not in kernels through (at least) 2.4.28. Therefore, you must download and install the i2c package with the same version number or higher as this lm_sensors package. diff --git a/QUICKSTART b/QUICKSTART index 5001287e..6a406a18 100644 --- a/QUICKSTART +++ b/QUICKSTART @@ -33,7 +33,7 @@ Other methods are described in INSTALL. you MUST remove them (as root) with `rmmod'. * Download, build, and install the latest i2c package, - (i2c-2.8.1 or later). The i2c subsystem found in the Linux 2.4 + (i2c-2.9.0 or later). The i2c subsystem found in the Linux 2.4 kernel trees, even the latest ones, is outdated and won't work. Quickstart for i2c: make; make install; depmod -a diff --git a/README b/README index 9af035c0..681b7c20 100644 --- a/README +++ b/README @@ -9,7 +9,7 @@ OVERVIEW OF THE LM_SENSORS PACKAGE AND SUMMARY OF SUPPORTED DEVICES !!! This package is ONLY for 2.6, 2.5, and 2.4 kernels (2.4.9 or later) !!! -!!! THIS PACKAGE REQUIRES i2c-2.8.1 or later!!! +!!! THIS PACKAGE REQUIRES i2c-2.9.0 or later!!! FOR 2.6/2.5 KERNELS, Use only the userspace tools in this package! Build and install them with 'make user' and 'make user_install'. @@ -31,23 +31,21 @@ additional drivers in 2.6 please port and submit them to us. HOWEVER, the userspace tools in this package will work for 2.4, 2.5, and 2.6 kernels. -WARNING! You must have at least i2c-2.8.1. +WARNING! You must have at least i2c-2.9.0. EVEN IF your kernel does contain i2c support! The I2C[2] package in existing 2.4 kernels is NOT sufficient for compilation of this package. -ADDITIONALLY, i2c-2.8.1 is not API compatible to earlier i2c -releases due to struct changes; therefore you must NOT ENABLE -any other i2c drivers (e.g. bttv) in the kernel. -Do NOT install lm-sensors kernel modules directly out of this package -if you require bttv or related modules. +ADDITIONALLY, i2c-2.9.0 is API compatible to i2c releases 2.7.0 and earlier, +but is not API compatible to i2c releases 2.8.0 - 2.8.8 +due to struct changes. Users whose systems require additional i2c-related kernel modules (bttv, i2c-matrox, rivatv, zoran...) -will require additional patches for the Linux 2.4.21 and 2.4.22 kernels. -These patches fix compatibility differences between i2c-2.8.1 and -the Linux 2.4 kernels. +will require additional patches for the Linux 2.4.x kernels. +These patches fix compatibility differences between those modules and +the 2.9.0 i2c release. A complete installation guide is available at http://khali.linux-fr.org/devel/i2c/