summaryrefslogtreecommitdiff
path: root/QUICKSTART
blob: 80e3507602f895ae715a69f6b393175f165f1bab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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).