File: QUICKSTART

package info (click to toggle)
lm-sensors 1%3A2.10.8-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 5,320 kB
  • ctags: 10,818
  • sloc: ansic: 63,999; perl: 8,169; sh: 1,820; makefile: 406; lex: 371; yacc: 312; python: 11
file content (77 lines) | stat: -rw-r--r-- 3,014 bytes parent folder | download | duplicates (3)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
LM_SENSORS QUICK INSTALLATION INSTRUCTIONS
------------------------------------------

The instructions in this document will generally work if you have a standard
system, but not always!!

The first part of document is for 2.6 kernel series, second part is for
older 2.4 kernels.

Quickstart for Kernel 2.6 
-------------------------

0) Just compile and install lm-sensors userspace tools. You can do that with:
   'make user; make user_install'
1) Make sure your kernel has support for all I2C bus drivers and
   'i2c device interface'. If you are using a distribution kernel, all is
   already prepared, you don't need to recompile it.
2) Run 'sensors-detect' command, it will tell you what modules you need to load.
3) Load them and run 'sensors' command, you should see some results.
4) Find right section in /etc/sensors.conf, fix labels, limits, fan divisors
5) Run 'sensors -s' to apply the changes.

You may also try our installation wizard at:

http://www.lm-sensors.org/wiki/iwizard/1

We are aware that the documentation could be improved, please contact us if
you want to help us with that.
   
Quickstart for Kernel 2.4
-------------------------

NOTE: PLEASE SKIM THE INSTALL DOCUMENT, OR BETTER YET READ IT CAREFULLY!

Quickstart for i2c option 1 (modules) and lm_sensors option 1 (modules).
This is by far the EASIEST METHOD.
Other methods are described in INSTALL.
------------------------------------------

  * Verify you are running a 2.4 kernel, 2.4.10 or later.

  * Make sure you have the kernel tree corresponding to your current
    kernel in /lib/modules/$(uname -r)/build.
    Even if the source is there, it may not correspond to your running
    kernel. If so, you will have to recompile your 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 in the next step.

  * Do `lsmod'. If there are any old i2c or sensors modules loaded,
    you MUST remove them (as root) with `rmmod'.

  * Download, build, and install the latest i2c package,
    (i2c-2.9.0 or later). The i2c subsystem found in the Linux 2.4
    kernel trees, even the latest ones, is outdated and won't work.
    Quickstart for i2c: make; (as root) make install

  * Go back to the lm_sensors directory. Do `make'.
    The warnings about .d files at the start are harmless.

  * Do (as root) `make install'.

  * Verify that /usr/local/lib is listed in /etc/ld.so.conf;
    if it isn't, add it, then run (as root) `ldconfig'.

  * Run (as root) `prog/mkdev/mkdev.sh' to create the device files,
    unless you already have them or are running devfs or udev.

  * Run (as root) `prog/detect/sensors-detect' to detect your hardware,
    put the lines it suggests into /etc/modules.conf, and run all
    the commands it suggests (`modprobe X', `sensors -s').

  * Run `sensors' to see your output.

  * That's it! If you have problems, read our excellent FAQ
    (doc/FAQ or doc/lm_sensors-FAQ.html).