| 1 |
LM_SENSORS QUICK INSTALLATION INSTRUCTIONS |
|---|
| 2 |
------------------------------------------ |
|---|
| 3 |
|
|---|
| 4 |
NOTE: PLEASE SKIM THE INSTALL DOCUMENT, OR BETTER YET READ IT CAREFULLY! |
|---|
| 5 |
The instructions in this document will generally work if you have a standard |
|---|
| 6 |
system, but not always!! |
|---|
| 7 |
|
|---|
| 8 |
Quickstart for i2c option 1 (modules) and lm_sensors option 1 (modules). |
|---|
| 9 |
This is by far the EASIEST METHOD. |
|---|
| 10 |
Other methods are described in INSTALL. |
|---|
| 11 |
------------------------------------------ |
|---|
| 12 |
|
|---|
| 13 |
* Verify you are running a 2.4 kernel, 2.4.9 or later. |
|---|
| 14 |
|
|---|
| 15 |
* Make sure you have the kernel tree corresponding to your current |
|---|
| 16 |
kernel in /lib/modules/(uname -r)/build. |
|---|
| 17 |
Even if the source is there, it may not correspond to your running |
|---|
| 18 |
kernel. If so, you will have to recompile your kernel. |
|---|
| 19 |
|
|---|
| 20 |
* Verify that your i2c support in the kernel is configured as |
|---|
| 21 |
modules or is disabled. If it is compiled-in, you obviously |
|---|
| 22 |
cannot replace it with modules in the next step. |
|---|
| 23 |
|
|---|
| 24 |
* Do `lsmod'. If there are any old i2c or sensors modules loaded, |
|---|
| 25 |
you MUST remove them (as root) with `rmmod'. |
|---|
| 26 |
|
|---|
| 27 |
* Download, build, and install the latest i2c package, |
|---|
| 28 |
(i2c-2.8.0 or later). |
|---|
| 29 |
Quickstart for i2c: make; make install; depmod -a |
|---|
| 30 |
|
|---|
| 31 |
* Go back to the lm_sensors directory. Do `make'. |
|---|
| 32 |
The warnings about .d files at the start are harmless. |
|---|
| 33 |
If you have compile problems, you probably should not have skipped step 3. |
|---|
| 34 |
Go back and install the latest i2c package. |
|---|
| 35 |
If you still have compile problems, you probably should not |
|---|
| 36 |
have skipped the i2c step above. |
|---|
| 37 |
|
|---|
| 38 |
* Do (as root) `make install'. |
|---|
| 39 |
|
|---|
| 40 |
* Do (as root) `depmod -a'. |
|---|
| 41 |
|
|---|
| 42 |
* Verify that /usr/local/lib is listed in /etc/ld.so.conf; |
|---|
| 43 |
add it if it isn't. |
|---|
| 44 |
|
|---|
| 45 |
* Do (as root) `ldconfig'. |
|---|
| 46 |
|
|---|
| 47 |
* Run (as root) `prog/mkdev/mkdev.sh' to create the device files, |
|---|
| 48 |
unless you already have them or are running devfs. |
|---|
| 49 |
|
|---|
| 50 |
* Run (as root) `prog/detect/sensors-detect' to detect your hardware, |
|---|
| 51 |
put the lines it suggests into /etc/modules.conf |
|---|
| 52 |
and enter the modprobe lines sensors-detect suggests. |
|---|
| 53 |
Add the line `sensors -s' after the modprobe lines. |
|---|
| 54 |
|
|---|
| 55 |
* Reboot, or else type in the modprobe lines and `sensors -s'. |
|---|
| 56 |
|
|---|
| 57 |
* Run `sensors' to see your output. |
|---|
| 58 |
|
|---|
| 59 |
* That's it! If you have problems, read our excellent FAQ |
|---|
| 60 |
(doc/FAQ or doc/lm_sensors-FAQ.html). |
|---|