| 1 |
NOTE: PLEASE SKIM THE INSTALL DOCUMENT, OR BETTER YET READ IT CAREFULLY! |
|---|
| 2 |
The instructions in this document will only work if you have a standard |
|---|
| 3 |
system, and may cause problems. |
|---|
| 4 |
|
|---|
| 5 |
Quickstart for compiling outside the kernel. |
|---|
| 6 |
This is by far the EASIEST METHOD. |
|---|
| 7 |
Other methods are described in INSTALL. |
|---|
| 8 |
------------------------------------------ |
|---|
| 9 |
|
|---|
| 10 |
* Verify you are running a 2.4 kernel, 2.4.10 or later. |
|---|
| 11 |
|
|---|
| 12 |
* It will not work, and is not needed, on 2.6 kernels. |
|---|
| 13 |
|
|---|
| 14 |
* Make sure you have the kernel tree corresponding to your current |
|---|
| 15 |
kernel in /lib/modules/(uname -r)/build. |
|---|
| 16 |
Even if the source is there, it may not correspond to your running |
|---|
| 17 |
kernel. If so, you will have to recompile your kernel. |
|---|
| 18 |
|
|---|
| 19 |
* Do `lsmod'. If there are any old i2c or sensors modules loaded, |
|---|
| 20 |
you MUST remove them (as root) with `rmmod'. |
|---|
| 21 |
|
|---|
| 22 |
* Verify that your i2c support in the kernel is configured as |
|---|
| 23 |
modules or is disabled. If it is compiled-in, you obviously |
|---|
| 24 |
cannot replace it with modules in the next step. |
|---|
| 25 |
|
|---|
| 26 |
* Do a `make' followed by a `make install'. The warnings about .d |
|---|
| 27 |
files at the start are harmless. |
|---|
| 28 |
|
|---|
| 29 |
* That's all (but you need client drivers from some other source to do |
|---|
| 30 |
anything interesting - see the lm_sensors page: |
|---|
| 31 |
http://www.lm-sensors.org/ |
|---|