Commit 0d0001dd authored by Jean Delvare's avatar Jean Delvare Committed by Greg Kroah-Hartman

[PATCH] HWMON: Improve the help text for CONFIG_HWMON

Improve the help text for CONFIG_HWMON to let the users know how they
pick the right hardware monitoring driver(s) for their system.

Also fix a couple typos in the related documentation file and improve
some parts a bit.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 114cc0c0
...@@ -6,31 +6,32 @@ voltages, fans speed). They are often connected through an I2C bus, but some ...@@ -6,31 +6,32 @@ voltages, fans speed). They are often connected through an I2C bus, but some
are also connected directly through the ISA bus. are also connected directly through the ISA bus.
The kernel drivers make the data from the sensor chips available in the /sys The kernel drivers make the data from the sensor chips available in the /sys
virtual filesystem. Userspace tools are then used to display or set or the virtual filesystem. Userspace tools are then used to display the measured
data in a more friendly manner. values or configure the chips in a more friendly manner.
Lm-sensors Lm-sensors
---------- ----------
Core set of utilites that will allow you to obtain health information, Core set of utilities that will allow you to obtain health information,
setup monitoring limits etc. You can get them on their homepage setup monitoring limits etc. You can get them on their homepage
http://www.lm-sensors.nu/ or as a package from your Linux distribution. http://www.lm-sensors.nu/ or as a package from your Linux distribution.
If from website: If from website:
Get lmsensors from project web site. Please note, you need only userspace Get lm-sensors from project web site. Please note, you need only userspace
part, so compile with "make user_install" target. part, so compile with "make user" and install with "make user_install".
General hints to get things working: General hints to get things working:
0) get lm-sensors userspace utils 0) get lm-sensors userspace utils
1) compile all drivers in I2C section as modules in your kernel 1) compile all drivers in I2C and Hardware Monitoring sections as modules
in your kernel
2) run sensors-detect script, it will tell you what modules you need to load. 2) run sensors-detect script, it will tell you what modules you need to load.
3) load them and run "sensors" command, you should see some results. 3) load them and run "sensors" command, you should see some results.
4) fix sensors.conf, labels, limits, fan divisors 4) fix sensors.conf, labels, limits, fan divisors
5) if any more problems consult FAQ, or documentation 5) if any more problems consult FAQ, or documentation
Other utilites Other utilities
-------------- ---------------
If you want some graphical indicators of system health look for applications If you want some graphical indicators of system health look for applications
like: gkrellm, ksensors, xsensors, wmtemp, wmsensors, wmgtemp, ksysguardd, like: gkrellm, ksensors, xsensors, wmtemp, wmsensors, wmgtemp, ksysguardd,
......
...@@ -16,6 +16,10 @@ config HWMON ...@@ -16,6 +16,10 @@ config HWMON
should say Y here and also to the specific driver(s) for your should say Y here and also to the specific driver(s) for your
sensors chip(s) below. sensors chip(s) below.
To find out which specific driver(s) you need, use the
sensors-detect script from the lm_sensors package. Read
<file:Documentation/hwmon/userspace-tools> for details.
This support can also be built as a module. If so, the module This support can also be built as a module. If so, the module
will be called hwmon. will be called hwmon.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment