root/lm-sensors/tags/V2-6-3/QUICKSTART

Revision 1324, 2.1 kB (checked in by mds, 7 years ago)

updates on i2c dependencies

  • 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 /usr/src/linux. Distribution kernels usually won't do,
15     compile your own from a 'vanilla' tree (get one from
16     ftp://ftp.kernel/org/pub/linux/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.
21
22   * Download, build, and install the latest i2c package,
23     UNLESS you have kernel 2.4.13 or greater, or i2c-2.6.1 or greater.
24     Quickstart for i2c: make; make install; depmod -a
25
26   * 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 step 1.
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.