2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

(mds) cleanup, emphasize getting the i2c package if sensors doesn't compile.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@899 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
2000-10-12 02:08:01 +00:00
parent 177791ac02
commit 51a520ee32

View File

@@ -3,24 +3,39 @@ The instructions in this document will only work if you have a standard
system, and may cause problems.
Quickstart:
* Make sure you have the kernel tree corresponding to your current
kernel in /usr/src/linux. Distribution kernels usually won't do,
compile your own from a 'vanilla' tree (get one from
ftp://ftp.kernel/org/pub/linux/kernel/).
* Install the i2c package. This won't do any harm, even if use a very
recent 2.3 or 2.4 kernel, though it may be unnecessary. At the very
least, make sure you have i2c-algo-bit either compiled into your
kernel or available as a module somewhere.
* Do a `make' followed by a `make install'. The warnings about .d
files at the start are harmless.
* Install the latest i2c package. This may be necessary even if
you have a 2.4 kernel.
* Do `make'.
The warnings about .d files at the start are harmless.
If you have compile problems, you probably skipped step 2.
Go back and install the latest i2c package.
* Do (as root) `make install'.
* Do a `depmod -a'.
* Add the line
/usr/local/lib
to /etc/ld.so.conf if it is not there yet.
* Do a `ldconfig'.
* Run `prog/mkdev/mkdev.sh' to create the device files
* Run `prog/detect/sensors-detect' to detect your hardware, put
the lines it suggests into /etc/conf.modules or /etc/modules.conf
(whichever one exists) and enter the modprobe lines it suggests.
Add the line `sensors -s' after the modprobe lines.
* Reboot or else type in the modprobe lines and `sensors -s'
* Run `sensors' to see your output.
* That's all folks!