Commit Graph
269 Commits
Author SHA1 Message Date
Maciej S. Szmigiero 83cafd29f2 Add 'configs' directory where sample configurations can be stored
Most mainboards need a config file which describe which input of a
monitoring chip is connected to which voltage rail, what are scaling
factors of voltages that can't be measured directly by the chip, which
part of the board has each temperature sensor, which fan is connected to
which tachometer input of the chip, etc.

All these data need to be determined either from a board schematic (if
available) or by a trial-and-error method.

This can be a time consuming and error-prone work, fortunately, it needs to
be done just once per mainboard.
Currently, however, there is no standard mechanism to share such
configurations so multiple users of the same board don't basically waste
their time reinventing the wheel (or recreating the same configuration
again and again).

Previously, a wiki on an old lm-sensors site had a 'Configurations' page
where contributors could submit their configurations.

Since this site is down for two years now and it does not look like it is
coming back we need to find an another solution.

Let's use a 'configs' directory in project repository for these files, so
we can benefit from SCM infrastructure for managing them.
Also, add a reminder in documentation asking people to contribute these
files for benefit of the whole community and configurations for 3
mainboards for a starter.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
2017-09-02 16:46:55 -07:00
Maciej S. Szmigiero dfa4518962 sensors.conf.default: Add hardwired Fintek F71868A inputs
This adds Fintek F71868A inputs that are hardwired inside the chip (in0,
in7, in8, in9) to sensors.conf.default with appropriate scaling values.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
2017-07-21 19:57:58 -07:00
Jean Delvare da5b14dc0c sensors.conf.5: Enhance the hysteresis documentation
Mention all supported temperature hysteresis attributes. Recommend
setting each limit before its hysteresis.
2014-04-23 15:17:24 +00:00
Jean Delvare eb5cf8b2ec Update my e-mail address and copyright years 2014-03-20 10:23:35 +00:00
Jean Delvare fce1cdf36e sensors.conf.default: Add support for NCT6779 and NCT6791 2014-02-21 08:07:42 +00:00
Jean Delvare da18d98522 Spelling fixes from Ville Skyttä 2014-01-19 15:59:11 +00:00
Jean Delvare 19a38a226d sensors-conf-convert: Add a manual page
Contributed by Jaromir Capik.
2013-09-11 12:18:59 +00:00
Jean Delvare 38581a071e lm96080 is the new lm80.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6020 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-31 14:25:29 +00:00
Jean Delvare 4f21a6bbed w83627ehf: Increase default value of Vbat max, the previous default
triggered an alarm on many boards.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6012 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-14 19:56:13 +00:00
Jean Delvare 28a1677669 Major kernel version number was bumped to 3.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5985 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-07-21 19:38:10 +00:00
Hans de Goede 5b2e1333ed f71882fg detect and sensors.conf.default updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5977 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-05-28 09:56:27 +00:00
Jean Delvare dcd26eab2d Use standard lm85 default section for SMSC EMC6D103 and EMC6D103S.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5975 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-05-18 12:00:43 +00:00
Jean Delvare 9c6ddf55ef Add a default configuration section for the SMSC EMC6W201.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5974 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-05-18 10:19:36 +00:00
Jean Delvare f27fa3595a Add a default configuration section for the F81865F.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5948 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-03-26 08:49:23 +00:00
Jean Delvare da82719412 Add a default configuration section for the W83795G/ADG.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5947 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-03-25 15:40:42 +00:00
Jean Delvare 1c3f82c79c Default config for NCT6775F and NCT6776F.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5913 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-02-06 09:57:43 +00:00
Jean Delvare 6fe4fc67af Add a default configuration section for the Winbond/Nuvoton W83627UHG.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5902 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-01-17 08:12:06 +00:00
Jean Delvare 7074e626f4 Add a default configuration section for the SMSC SCH5127.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5889 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-12-10 13:26:42 +00:00
Jean Delvare e22fd8f686 Add a default configuration section for the Winbond W83627THF.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5886 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-11-29 15:18:30 +00:00
Jean Delvare 8deb0ac382 W83667HG config is similar to W83627EHF/DHG.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5846 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-07-04 07:22:11 +00:00
Jean Delvare df4921b0b1 Winbond W83L771AWG/ASG support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5815 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-01-13 20:18:02 +00:00
Jean Delvare c09cff1f11 Add a default configuration section for adt7473 and adt7475.
Add a default configuration section for adt7476 and adt7490.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5803 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-01 12:14:54 +00:00
Andre Prendel 209dd6c871 Remove ignore statements from sensors.conf.default (Fujitsu
Hades/Syleus).

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5777 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-01 17:50:42 +00:00
Andre Prendel 44a20da14c Add sections for the new FTS chips to sensors.conf.default (Patch from
Thilo Cestonaro).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5775 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-27 16:36:09 +00:00
Jean Delvare 1bb3175a5f Recent versions of module-init-tools only want *.conf files under
/etc/modprobe.d. So rename our configuration file to lm_sensors.conf
there. Also let "make install" rename the file if it already exists.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5760 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-24 13:52:28 +00:00
Jean Delvare 4584499872 Encourage the user to not modify /etc/sensors3.conf. Suggested by
Aurelien Jarno to make updates easier.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5750 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-05 09:04:50 +00:00
Jean Delvare 3dc6983a84 Don't use variables when they hurt readability more than they help.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5676 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-03-05 15:20:41 +00:00
Andre Prendel 857d25dff4 Create /etc/sensors.d directory during installation. Patch from Gabriel C.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5664 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-02-26 10:03:23 +00:00
Jean Delvare 43c87ec8ed Install sensors.conf.default instead of sensors.conf.eg.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5605 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-19 14:21:57 +00:00
Jean Delvare a2301b22ef Add sections for the SMSC SCH311x and SCH5027.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5604 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-19 14:13:27 +00:00
Jean Delvare 4d64c5d111 New default configuration file. This is sensors.conf.eg with only
mainboard-neutral statements. This means in particular:
* Only internally-scaled voltages are configured.
* Only internal temperature sensors are labelled.
* No fan labels.
We will soon switch to this configuration file as the default,
for both performance and correctness.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5603 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-19 14:03:59 +00:00
Jean Delvare 94d86a8189 Add some chip prefixes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5602 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-19 13:20:27 +00:00
Jean Delvare 15f3b33181 Discard idempotent labels.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5601 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-18 16:22:42 +00:00
Jean Delvare 63822ad7a1 Adjust f8000-* section.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5579 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-08 10:59:23 +00:00
Jean Delvare 22ce34f57a Add labels for F8000 voltages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5549 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-11 08:50:45 +00:00
Jean Delvare 2e954a6580 Move the help section of sensors.conf.eg to sensors.conf.5, so that
we have only one document to maintain. This change also speeds up
sensors by 2.5% when using the default configuration file.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5534 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-07 13:14:39 +00:00
Jean Delvare 8c9d4a6455 Add a comment on disabling the hysteresis mechanism.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5531 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-06 09:36:15 +00:00
Jean Delvare 15c06bed80 Fix typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5382 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-30 12:37:21 +00:00
Jean Delvare 745219e9be The LM99 offset is now handled in the lm90 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5381 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-30 12:36:59 +00:00
Jean Delvare e42b57bf03 Drop "label temp#_crit" statements. Since version 3.0.0, sensors no
longer display a separate label for the critical temperature.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5365 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-20 11:42:12 +00:00
Jean Delvare 1d13df0109 Drop stray reference to temp3_over in comment.
Drop stray reference to lib/chips.c in comment.
Drop outdated comment about feature names starting with a number.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5339 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-26 08:44:25 +00:00
Jean Delvare f2e518511d Patch from Aurelien Jarno:
I have just noticed that the FSF address is the old one in all files
except COPYING. Please find a patch below to fix that.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5163 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-26 13:37:12 +00:00
Jean Delvare d04f1c7306 sensors.conf.eg: Fix voltage value references in compute statements. The
measured voltage value are now named inX_input, not just inX, but the
default configuration file was not properly updated to reflect this. This
caused errors to be displayed by "sensors" for the g520sm, lm80 and pc87366
chips. Reported by Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5076 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-17 21:59:15 +00:00
Jean Delvare c9ef1503a5 Fix MODULE_DIR usage.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5034 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-22 20:03:29 +00:00
Jean Delvare 35a5a7dbce Use /etc/sensors3.conf as the default configuration file. If it can't
be found, fallback to /etc/sensors.conf. This allows for an old
libsensors and a new libsensors to be installed in parallel, and each
one has its own configuration file.

One important change here is that the default configuration file will
be installed as /etc/sensors3.conf by "make install".


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4990 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-25 09:59:05 +00:00
Hans de Goede f7bc498fd0 re-add fscher compute lines for use with the old fscher driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4980 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-24 13:03:36 +00:00
Hans de Goede 0adc017e4d The new fschmd driver uses the standard scaling values from the datasheet, so no conversion should be done from sensors.conf
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4959 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-19 09:48:49 +00:00
Jean Delvare 80dd529f45 Fix some conversion rules for the adm1024.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4935 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-09 13:03:08 +00:00
Jean Delvare 829254344c The ADM1024 is LM87-compatible.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4934 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-09 13:01:31 +00:00
Jean Delvare 1124e53305 Add a short help text to sensors-conf-convert.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4894 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-26 22:05:47 +00:00