| 1 | INSTALLATION INSTRUCTIONS |
|---|
| 2 | ========================= |
|---|
| 3 | |
|---|
| 4 | The lm-sensors package, version 3, provides user-space support for the |
|---|
| 5 | hardware monitoring drivers in Linux 2.6.5 and later. For older kernel |
|---|
| 6 | versions, you have to use lm-sensors version 2. |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | Dependencies |
|---|
| 10 | ============ |
|---|
| 11 | |
|---|
| 12 | Build-time dependencies: |
|---|
| 13 | * GNU make |
|---|
| 14 | * gcc |
|---|
| 15 | * bison |
|---|
| 16 | * flex |
|---|
| 17 | * libsysfs header files (from sysfsutils-devel) |
|---|
| 18 | * rrd header files (optional, for sensord) |
|---|
| 19 | |
|---|
| 20 | Run-time dependencies: |
|---|
| 21 | * libsysfs (from sysfsutils) |
|---|
| 22 | * perl (for sensors-detect) |
|---|
| 23 | * rrd (optional, for sensord) |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | Compilation |
|---|
| 27 | =========== |
|---|
| 28 | |
|---|
| 29 | At the top of the Makefile are a couple of configuration variables that |
|---|
| 30 | you may want to change. There's a description of what each variable does |
|---|
| 31 | in the Makefile itself. |
|---|
| 32 | |
|---|
| 33 | Compilation is done by `make all'. You will get a lot of warnings about |
|---|
| 34 | files which are not found, all ending in `.*d'. You can safely ignore |
|---|
| 35 | this; they contain dependency information, which is regenerated on the |
|---|
| 36 | spot. |
|---|
| 37 | |
|---|
| 38 | `make install' installs the package (to /usr/local by default). |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | Using the sensors package |
|---|
| 42 | ========================= |
|---|
| 43 | |
|---|
| 44 | There is a scanning program installed called sensors-detect. It |
|---|
| 45 | will scan all available I2C and SMBus adapters for all known sensor |
|---|
| 46 | devices, and will also look for ISA, PCI and Super-I/O chips with |
|---|
| 47 | sensors, and give you a list of what kernel drivers you need to load |
|---|
| 48 | (using modprobe). |
|---|
| 49 | |
|---|
| 50 | You can use the installed sensors program to get a report of all detected |
|---|
| 51 | sensor devices. There is also a manual page for this program. Calling |
|---|
| 52 | `sensors -s' will set the limits and other configuration settings |
|---|
| 53 | specified in /etc/sensors.conf. Again, read the manual pages for more |
|---|
| 54 | information. |
|---|
| 55 | |
|---|
| 56 | There are many auxiliary programs not installed. You can find them under |
|---|
| 57 | the prog subdirectory. A list can be found in doc/progs. |
|---|