mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-16 10:49:31 +00:00
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@832 7894878c-1315-0410-8ee3-d5d059ff63e0
32 lines
1.5 KiB
Plaintext
32 lines
1.5 KiB
Plaintext
NOTE: PLEASE SKIM THE INSTALL DOCUMENT, OR BETTER YET READ IT CAREFULLY!
|
|
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.
|
|
* Add the line
|
|
path=/lib/modules/current/extra
|
|
to /etc/conf.modules or /etc/modules.conf (whichever one exists)
|
|
if it is not there yet. Depending on your version of modutils,
|
|
you may have to add all default paths to it too.
|
|
* 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.
|
|
* Run `sensors' to see your output.
|
|
* That's all folks!
|