|
Revision 899, 1.3 kB
(checked in by mds, 8 years ago)
|
(mds) cleanup, emphasize getting the i2c package if sensors doesn't compile.
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 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: |
|---|
| 6 |
|
|---|
| 7 |
* Make sure you have the kernel tree corresponding to your current |
|---|
| 8 |
kernel in /usr/src/linux. Distribution kernels usually won't do, |
|---|
| 9 |
compile your own from a 'vanilla' tree (get one from |
|---|
| 10 |
ftp://ftp.kernel/org/pub/linux/kernel/). |
|---|
| 11 |
|
|---|
| 12 |
* Install the latest i2c package. This may be necessary even if |
|---|
| 13 |
you have a 2.4 kernel. |
|---|
| 14 |
|
|---|
| 15 |
* Do `make'. |
|---|
| 16 |
The warnings about .d files at the start are harmless. |
|---|
| 17 |
If you have compile problems, you probably skipped step 2. |
|---|
| 18 |
Go back and install the latest i2c package. |
|---|
| 19 |
|
|---|
| 20 |
* Do (as root) `make install'. |
|---|
| 21 |
|
|---|
| 22 |
* Do a `depmod -a'. |
|---|
| 23 |
|
|---|
| 24 |
* Add the line |
|---|
| 25 |
/usr/local/lib |
|---|
| 26 |
to /etc/ld.so.conf if it is not there yet. |
|---|
| 27 |
|
|---|
| 28 |
* Do a `ldconfig'. |
|---|
| 29 |
|
|---|
| 30 |
* Run `prog/mkdev/mkdev.sh' to create the device files |
|---|
| 31 |
|
|---|
| 32 |
* Run `prog/detect/sensors-detect' to detect your hardware, put |
|---|
| 33 |
the lines it suggests into /etc/conf.modules or /etc/modules.conf |
|---|
| 34 |
(whichever one exists) and enter the modprobe lines it suggests. |
|---|
| 35 |
Add the line `sensors -s' after the modprobe lines. |
|---|
| 36 |
|
|---|
| 37 |
* Reboot or else type in the modprobe lines and `sensors -s' |
|---|
| 38 |
|
|---|
| 39 |
* Run `sensors' to see your output. |
|---|
| 40 |
|
|---|
| 41 |
* That's all folks! |
|---|