From 4f0e90aa41f0008e7e7ebe292aef1c47dc0fa1bc Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Sun, 24 Sep 2006 19:04:00 +0000 Subject: [PATCH] Add some 2.6 quickstart instructions git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4174 7894878c-1315-0410-8ee3-d5d059ff63e0 --- INSTALL | 2 +- QUICKSTART | 32 ++++++++++++++++++++++++++++---- README | 3 ++- 3 files changed, 31 insertions(+), 6 deletions(-) diff --git a/INSTALL b/INSTALL index 89a53585..7bf043ae 100644 --- a/INSTALL +++ b/INSTALL @@ -12,7 +12,7 @@ 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. + of these instructions. Please check the QUICKSTART instead. ============================================================================= diff --git a/QUICKSTART b/QUICKSTART index b2196aa9..bb964bfc 100644 --- a/QUICKSTART +++ b/QUICKSTART @@ -1,19 +1,43 @@ LM_SENSORS QUICK INSTALLATION INSTRUCTIONS ------------------------------------------ -NOTE: PLEASE SKIM THE INSTALL DOCUMENT, OR BETTER YET READ IT CAREFULLY! The instructions in this document will generally work if you have a standard system, but not always!! +The first part of document is for 2.6 kernel series, second part is for +older 2.4 kernels. + +Quickstart for Kernel 2.6 +------------------------- + +0) Just compile and install lm-sensors userspace tools. You can do that with: + 'make user; make user_install' +1) Make sure your kernel has support for all I2C bus drivers and + 'i2c device interface'. If you are using a distribution kernel, all is + already prepared, you don't need to recompile it. +2) Run 'sensors-detect' command, it will tell you what modules you need to load. +3) Load them and run 'sensors' command, you should see some results. +4) Find right section in /etc/sensors.conf, fix labels, limits, fan divisors +5) Run 'sensors -s' to apply the changes. + +You may also try our installation wizard at: + +http://www.lm-sensors.org/wiki/iwizard/1 + +We are aware that the documentation could be improved, please contact us if +you want to help us with that. + +Quickstart for Kernel 2.4 +------------------------- + +NOTE: PLEASE SKIM THE INSTALL DOCUMENT, OR BETTER YET READ IT CAREFULLY! + Quickstart for i2c option 1 (modules) and lm_sensors option 1 (modules). This is by far the EASIEST METHOD. Other methods are described in INSTALL. ------------------------------------------ * Verify you are running a 2.4 kernel, 2.4.10 or later. - 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. * Make sure you have the kernel tree corresponding to your current kernel in /lib/modules/$(uname -r)/build. diff --git a/README b/README index ba7cf78e..5ffe406c 100644 --- a/README +++ b/README @@ -14,7 +14,8 @@ OVERVIEW OF THE LM_SENSORS PACKAGE AND SUMMARY OF SUPPORTED DEVICES FOR 2.6 KERNELS, use only the userspace tools in this package! Build and install them with 'make user' and 'make user_install'. The kernel modules in this package will NOT compile for 2.6; -use the drivers already in the 2.6 kernel. +use the drivers already in the 2.6 kernel. Check the QUICKSTART +file for brief installation instructions please. =============================================================================