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