root/lm-sensors/tags/i2c-2-8-km2/QUICKSTART

Revision 1636, 2.1 kB (checked in by mds, 6 years ago)

updates for 2.7.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
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 /lib/modules/(uname -r)/build.
15     Even if the source is there, it may not correspond to your running
16     kernel. If so, you will have to recompile your kernel.
17
18   * Verify that your i2c support in the kernel is configured as
19     modules or is disabled. If it is compiled-in, you obviously
20     cannot replace it with modules in the next step.
21
22   * Download, build, and install the latest i2c package,
23     (i2c-2.7.0 or later).
24     Quickstart for i2c: make; make install; depmod -a
25
26   * Go back to the lm_sensors directory. Do `make'.
27     The warnings about .d files at the start are harmless.
28     If you have compile problems, you probably should not have skipped step 3.
29     Go back and install the latest i2c package.
30     If you still have compile problems, you probably should not
31     have skipped the i2c step above.
32
33   * Do (as root) `make install'.
34
35   * Do (as root) `depmod -a'.
36
37   * Add  the line
38       /usr/local/lib
39     to /etc/ld.so.conf if it is not there yet.
40
41   * Do (as root) `ldconfig'.
42
43   * Run (as root) `prog/mkdev/mkdev.sh' to create the device files,
44     unless you already have them or are running devfs.
45
46   * Run (as root) `prog/detect/sensors-detect' to detect your hardware,
47     put the lines it suggests into /etc/modules.conf
48     and enter the modprobe lines sensors-detect suggests.
49     Add the line `sensors -s' after the modprobe lines.
50
51   * Reboot, or else type in the modprobe lines and `sensors -s'.
52
53   * Run `sensors' to see your output.
54
55   * That's it! If you have problems, read the INSTALL document and,
56     of course our excellent FAQ (doc/FAQ).
Note: See TracBrowser for help on using the browser.