| 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.9 or later. |
|---|
| 11 | |
|---|
| 12 | * Do you require additional i2c-related 2.4 kernel modules |
|---|
| 13 | (bttv and most media/video modules, i2c-matroxfb, rivatv, zoran, ivtv, |
|---|
| 14 | lirc ...)? See the information in README. |
|---|
| 15 | Do NOT follow the rest of these instructions. |
|---|
| 16 | |
|---|
| 17 | * Make sure you have the kernel tree corresponding to your current |
|---|
| 18 | kernel in /lib/modules/(uname -r)/build. |
|---|
| 19 | Even if the source is there, it may not correspond to your running |
|---|
| 20 | kernel. If so, you will have to recompile your kernel. |
|---|
| 21 | |
|---|
| 22 | * Do `lsmod'. If there are any old i2c or sensors modules loaded, |
|---|
| 23 | you MUST remove them (as root) with `rmmod'. |
|---|
| 24 | |
|---|
| 25 | * Verify that your i2c support in the kernel is configured as |
|---|
| 26 | modules or is disabled. If it is compiled-in, you obviously |
|---|
| 27 | cannot replace it with modules in the next step. |
|---|
| 28 | |
|---|
| 29 | * Do a `make' followed by a `make install'. The warnings about .d |
|---|
| 30 | files at the start are harmless. |
|---|
| 31 | |
|---|
| 32 | * Make sure you do a `depmod -a'. |
|---|
| 33 | |
|---|
| 34 | * That's all (but you need client drivers from some other source to do |
|---|
| 35 | anything interesting - see the lm_sensors page: |
|---|
| 36 | http://secure.netroedge.com/~lm78/ |
|---|