Blame README

Packit Service 23242a
OVERVIEW OF THE LM-SENSORS PACKAGE
Packit Service 23242a
==================================
Packit Service 23242a
Packit Service 23242a
The lm-sensors package, version 3, provides user-space support for the
Packit Service 23242a
hardware monitoring drivers in Linux 2.6.5 and later. For older kernel
Packit Service 23242a
versions, you have to use lm-sensors version 2.
Packit Service 23242a
Packit Service 23242a
The directories within this package:
Packit Service 23242a
Packit Service 23242a
* doc
Packit Service 23242a
  Documentation.
Packit Service 23242a
* etc
Packit Service 23242a
  A sample configuration file for libsensors, and a script to convert
Packit Service 23242a
  lm-sensors version 2 configuration files to work with version 3.
Packit Service 23242a
* lib
Packit Service 23242a
  The user-space sensors support library code (libsensors).
Packit Service 23242a
* prog
Packit Service 23242a
  Several supporting programs. The most important ones are:
Packit Service 23242a
  - sensors-detect: A stand-alone program for detecting installed
Packit Service 23242a
    hardware and recommending specific modules to load.
Packit Service 23242a
  - sensors: A console tool to report sensor readings and set new
Packit Service 23242a
    sensor limits.
Packit Service 23242a
  - sensord: A daemon to watch sensor values and log problems. It
Packit Service 23242a
    includes RRD support.
Packit Service 23242a
* configs
Packit Service 23242a
  This directory contains sample configurations of various boards,
Packit Service 23242a
  contributed by users of lm-sensors.
Packit Service 23242a
Packit Service 23242a
  Older sample configurations can be found on an old lm-sensors wiki
Packit Service 23242a
  archived here:
Packit Service 23242a
  http://web.archive.org/web/20150901092438/http://www.lm-sensors.org:80/wiki/Configurations
Packit Service 23242a
Packit Service 23242a
  Please contribute back a configuration of your board so other users with
Packit Service 23242a
  the same hardware won't need to recreate it again and again.
Packit Service 23242a
Packit Service 23242a
INSTALLING LM-SENSORS
Packit Service 23242a
---------------------
Packit Service 23242a
Packit Service 23242a
See the INSTALL file.
Packit Service 23242a
Packit Service 23242a
Packit Service 23242a
HARDWARE SUPPORT
Packit Service 23242a
----------------
Packit Service 23242a
Packit Service 23242a
To find out what hardware you have, just run 'sensors-detect' as root.
Packit Service 23242a
Packit Service 23242a
Most modern mainboards incorporate some form of hardware monitoring chips.
Packit Service 23242a
These chips read things like chip temperatures, fan rotation speeds and
Packit Service 23242a
voltage levels. There are quite a few different chips which can be used by
Packit Service 23242a
mainboard builders for approximately the same results.
Packit Service 23242a
Packit Service 23242a
Laptops, on the other hand, rarely expose any hardware monitoring
Packit Service 23242a
chip. They often have some BIOS and/or ACPI magic to get the CPU
Packit Service 23242a
temperature value, but that's about it. For such laptops, the lm-sensors
Packit Service 23242a
package is of no use (sensors-detect will not find anything), and you have
Packit Service 23242a
to use acpi instead.
Packit Service 23242a
Packit Service 23242a
This package doesn't contain chip-specific knowledge. It will support all
Packit Service 23242a
the hardware monitoring chips your kernel has drivers for. In other words,
Packit Service 23242a
if you find out that you have unsupported hardware (e.g. sensors-detect
Packit Service 23242a
told you so) then it means that you need a more recent kernel, or you
Packit Service 23242a
even need to wait for a new kernel driver to be written. Updating the
Packit Service 23242a
lm-sensors package itself will not help.
Packit Service 23242a
Packit Service 23242a
Packit Service 23242a
LIBSENSORS
Packit Service 23242a
----------
Packit Service 23242a
Packit Service 23242a
The kernel drivers communicate their information through the /sys
Packit Service 23242a
interface. Because every motherboard is different, the drivers always
Packit Service 23242a
advert the measurements at their pins. This means that the values they
Packit Service 23242a
report are not always immediately relevant to you. They have to be
Packit Service 23242a
labelled properly, and sometimes they must be scaled to correspond to
Packit Service 23242a
real-world values.
Packit Service 23242a
Packit Service 23242a
libsensors is a (shared or static) library of access functions. It
Packit Service 23242a
offers a simple-to-use interface for applications to access the sensor
Packit Service 23242a
chip readings and configure them as you like. It has a configuration
Packit Service 23242a
file where you can put all the motherboard-specific labels and
Packit Service 23242a
conversion rules. That way, all applications do not need to duplicate
Packit Service 23242a
the effort and can simply link with libsensors and work out of the box.
Packit Service 23242a
Packit Service 23242a
Packit Service 23242a
APPLICATIONS
Packit Service 23242a
------------
Packit Service 23242a
Packit Service 23242a
This package contains an example console program that reports all current
Packit Service 23242a
sensors values. This program is called 'sensors'. You can use it as a
Packit Service 23242a
reference implementation for more intricate programs. It also contains a
Packit Service 23242a
daemon watching for sensor values, logging alarms and feeding an RRD
Packit Service 23242a
database with the sensor measurements.
Packit Service 23242a
Packit Service 23242a
This package does not contain a nice graphical monitor. See
Packit Service 23242a
http://sensors-applet.sourceforge.net/
Packit Service 23242a
https://01.org/powertop/
Packit Service 23242a
https://wpitchoune.net/psensor/
Packit Service 23242a
https://amanusk.github.io/s-tui/
Packit Service 23242a
for such programs.
Packit Service 23242a
Packit Service 23242a
Packit Service 23242a
OTHER INFORMATION
Packit Service 23242a
-----------------
Packit Service 23242a
Packit Service ad1e1c
The lm_sensors website can be found at
Packit Service ad1e1c
https://hwmon.wiki.kernel.org/lm_sensors
Packit Service ad1e1c
Packit Service ad1e1c
The developers of this package can be reached using
Packit Service ad1e1c
* a mailing list lm-sensors <at> vger <dot> kernel <dot> org
Packit Service ad1e1c
  (you can get information on how to subscribe, unsubscribe, and the list
Packit Service ad1e1c
  of archives at http://vger.kernel.org/vger-lists.html#lm-sensors;
Packit Service ad1e1c
  you do not need to be subscribed to post to the list)
Packit Service ad1e1c
* GitHub (see https://github.com/lm-sensors/lm-sensors)
Packit Service ad1e1c
Packit Service ad1e1c
Do not hesitate to contact us if you have questions, suggestions, problems,
Packit Service ad1e1c
want to contribute, or just want to report it works for you. But please try to
Packit Service 23242a
read the documentation before you ask any questions! It's all under doc/.
Packit Service 23242a
Packit Service 23242a
The latest version of this package can always be found at:
Packit Service ad1e1c
https://github.com/lm-sensors/lm-sensors.
Packit Service 23242a
Packit Service 23242a
LICENSE
Packit Service 23242a
-------
Packit Service 23242a
Packit Service 23242a
The library (libsensors) is released under the GNU Lesser General Public
Packit Service 23242a
License (LGPL), as included in the file COPYING.LGPL. The rest of this
Packit Service 23242a
package may be distributed according to the GNU General Public License
Packit Service 23242a
(GPL), as included in the file COPYING.