| 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: |
|---|
| 9 |
|
|---|
| 10 |
* Make sure you have the kernel tree corresponding to your current |
|---|
| 11 |
kernel in /usr/src/linux. Distribution kernels usually won't do, |
|---|
| 12 |
compile your own from a 'vanilla' tree (get one from |
|---|
| 13 |
ftp://ftp.kernel/org/pub/linux/kernel/). |
|---|
| 14 |
|
|---|
| 15 |
* Download, build, and install the latest i2c package. |
|---|
| 16 |
This is not necessary if you are using lm_sensors 2.5.5 |
|---|
| 17 |
with a 2.4 kernel. |
|---|
| 18 |
|
|---|
| 19 |
* Do `make'. |
|---|
| 20 |
The warnings about .d files at the start are harmless. |
|---|
| 21 |
If you have compile problems, you probably should not have skipped step 2. |
|---|
| 22 |
Go back and install the latest i2c package. |
|---|
| 23 |
|
|---|
| 24 |
* Do (as root) `make install'. |
|---|
| 25 |
|
|---|
| 26 |
* Do (as root) `depmod -a'. |
|---|
| 27 |
|
|---|
| 28 |
* Add the line |
|---|
| 29 |
/usr/local/lib |
|---|
| 30 |
to /etc/ld.so.conf if it is not there yet. |
|---|
| 31 |
|
|---|
| 32 |
* Do (as root) `ldconfig'. |
|---|
| 33 |
|
|---|
| 34 |
* Run (as root) `prog/mkdev/mkdev.sh' to create the device files. |
|---|
| 35 |
|
|---|
| 36 |
* Run (as root) `prog/detect/sensors-detect' to detect your hardware, |
|---|
| 37 |
put the lines it suggests into /etc/modules.conf |
|---|
| 38 |
and enter the modprobe lines sensors-detect suggests. |
|---|
| 39 |
Add the line `sensors -s' after the modprobe lines. |
|---|
| 40 |
|
|---|
| 41 |
* Reboot, or else type in the modprobe lines and `sensors -s'. |
|---|
| 42 |
|
|---|
| 43 |
* Run `sensors' to see your output. |
|---|
| 44 |
|
|---|
| 45 |
* That's it! If you have problems, read the INSTALL document. |
|---|