root/lm-sensors/tags/V2-8-4/QUICKSTART

Revision 2145, 2.6 kB (checked in by mds, 5 years ago)

doc update 2 (2.4 and bttv)

  • 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 by far the EASIEST METHOD.
10 Other methods are described in INSTALL.
11 ------------------------------------------
12
13   * Verify you are running a 2.4 kernel, 2.4.9 or later.
14     If you are running a 2.5/2.6 kernel, the ONLY thing you need to
15     do is 'make user' and 'make user_install'. Do NOT follow the rest
16     of these instructions.
17
18   * Do you require additional i2c-related
19     2.4 kernel modules (bttv, i2c-matrox, rivatv, zoran...) ???
20     See the information in README.
21     Do NOT follow the rest of these instructions.
22
23   * Make sure you have the kernel tree corresponding to your current
24     kernel in /lib/modules/(uname -r)/build.
25     Even if the source is there, it may not correspond to your running
26     kernel. If so, you will have to recompile your kernel.
27
28   * Verify that your i2c support in the kernel is configured as
29     modules or is disabled. If it is compiled-in, you obviously
30     cannot replace it with modules in the next step.
31
32   * Do `lsmod'. If there are any old i2c or sensors modules loaded,
33     you MUST remove them (as root) with `rmmod'.
34
35   * Download, build, and install the latest i2c package,
36     (i2c-2.8.1 or later).
37     Quickstart for i2c: make; make install; depmod -a
38
39   * Go back to the lm_sensors directory. Do `make'.
40     The warnings about .d files at the start are harmless.
41     If you have compile problems, you probably should not have skipped step 3.
42     Go back and install the latest i2c package.
43     If you still have compile problems, you probably should not
44     have skipped the i2c step above.
45
46   * Do (as root) `make install'.
47
48   * Do (as root) `depmod -a'.
49
50   * Verify that /usr/local/lib is listed in /etc/ld.so.conf;
51     add it if it isn't.
52
53   * Do (as root) `ldconfig'.
54
55   * Run (as root) `prog/mkdev/mkdev.sh' to create the device files,
56     unless you already have them or are running devfs.
57
58   * Run (as root) `prog/detect/sensors-detect' to detect your hardware,
59     put the lines it suggests into /etc/modules.conf
60     and enter the modprobe lines sensors-detect suggests.
61     Add the line `sensors -s' after the modprobe lines.
62
63   * Reboot, or else type in the modprobe lines and `sensors -s'.
64
65   * Run `sensors' to see your output.
66
67   * That's it! If you have problems, read our excellent FAQ
68     (doc/FAQ or doc/lm_sensors-FAQ.html).
Note: See TracBrowser for help on using the browser.