mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-15 10:39:31 +00:00
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1324 7894878c-1315-0410-8ee3-d5d059ff63e0
57 lines
2.1 KiB
Plaintext
57 lines
2.1 KiB
Plaintext
LM_SENSORS QUICK INSTALLATION INSTRUCTIONS
|
|
------------------------------------------
|
|
|
|
NOTE: PLEASE SKIM THE INSTALL DOCUMENT, OR BETTER YET READ IT CAREFULLY!
|
|
The instructions in this document will generally work if you have a standard
|
|
system, but not always!!
|
|
|
|
Quickstart for i2c option 1 (modules) and lm_sensors option 1 (modules).
|
|
This is the recommended EASIEST METHOD.
|
|
Other methods are described in INSTALL.
|
|
---------------------------------------
|
|
|
|
* 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/).
|
|
|
|
* Verify that your i2c support in the kernel is configured as
|
|
modules or is disabled. If it is compiled-in, you obviously
|
|
cannot replace it with modules.
|
|
|
|
* Download, build, and install the latest i2c package,
|
|
UNLESS you have kernel 2.4.13 or greater, or i2c-2.6.1 or greater.
|
|
Quickstart for i2c: make; make install; depmod -a
|
|
|
|
* Do `make'.
|
|
The warnings about .d files at the start are harmless.
|
|
If you have compile problems, you probably should not have skipped step 3.
|
|
Go back and install the latest i2c package.
|
|
If you still have compile problems, you probably should not
|
|
have skipped step 1.
|
|
|
|
* Do (as root) `make install'.
|
|
|
|
* Do (as root) `depmod -a'.
|
|
|
|
* Add the line
|
|
/usr/local/lib
|
|
to /etc/ld.so.conf if it is not there yet.
|
|
|
|
* Do (as root) `ldconfig'.
|
|
|
|
* Run (as root) `prog/mkdev/mkdev.sh' to create the device files,
|
|
unless you already have them or are running devfs.
|
|
|
|
* Run (as root) `prog/detect/sensors-detect' to detect your hardware,
|
|
put the lines it suggests into /etc/modules.conf
|
|
and enter the modprobe lines sensors-detect 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 it! If you have problems, read the INSTALL document and,
|
|
of course our excellent FAQ (doc/FAQ).
|