summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>2017-09-01 00:34:28 +0200
committerGuenter Roeck <linux@roeck-us.net>2017-09-02 16:46:55 -0700
commit83cafd29f28d463573750d897014ec7143217ae5 (patch)
tree3971f36ccf2b08b741984e992a70be7f00f628fb /configs
parent8d510a7d7508789b22a2622dc2e092e4d6dff416 (diff)
downloadlm-sensors-git-83cafd29f28d463573750d897014ec7143217ae5.tar.gz
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>
Diffstat (limited to 'configs')
-rw-r--r--configs/Gigabyte/GA-M720-US3.conf38
-rw-r--r--configs/MSI/MS-7302-K9A2GM-V.conf22
-rw-r--r--configs/MSI/MS-7786-A55M-P33.conf20
3 files changed, 80 insertions, 0 deletions
diff --git a/configs/Gigabyte/GA-M720-US3.conf b/configs/Gigabyte/GA-M720-US3.conf
new file mode 100644
index 00000000..953a4e27
--- /dev/null
+++ b/configs/Gigabyte/GA-M720-US3.conf
@@ -0,0 +1,38 @@
+# input routing and scaling based on schematic of a similar MA770T-UD3 board
+
+chip "it8720-*"
+ label in0 "Vcore"
+
+ label in1 "VDDR"
+
+ label in2 "+3.3V"
+ set in2_min 3.3 * 0.95
+ set in2_max 3.3 * 1.05
+
+ # pin has probably ATX power good signal connected,
+ # but is not configured as such
+ ignore in3
+
+ label in4 "+12V"
+ compute in4 @ * (8.2 + 24.3) / 8.2, @ * 8.2 / (8.2 + 24.3)
+ set in4_min 12 * 0.95
+ set in4_max 12 * 1.05
+
+ # probably CPU current sense
+ ignore in5
+
+ ignore in6
+
+ compute in7 @ * (6.8 / 10 + 1), @ / (6.8 / 10 + 1)
+ set in7_min 5 * 0.95
+ set in7_max 5 * 1.05
+
+ ignore cpu0_vid
+
+ label fan1 "CPU FAN"
+ label fan2 "SYSTEM FAN 1"
+ label fan3 "SYSTEM FAN 2"
+ label fan4 "POWER FAN"
+
+ label temp1 "System Temp"
+ label temp3 "CPU Temp"
diff --git a/configs/MSI/MS-7302-K9A2GM-V.conf b/configs/MSI/MS-7302-K9A2GM-V.conf
new file mode 100644
index 00000000..fb1d1a0e
--- /dev/null
+++ b/configs/MSI/MS-7302-K9A2GM-V.conf
@@ -0,0 +1,22 @@
+# input routing and scaling read from board schematic
+
+chip "f71882fg-*"
+ label in1 "CPU Vcore"
+ label in2 "+12V"
+ label in3 "+5V"
+ ignore in4
+ label in5 "+5VSB"
+ ignore in6
+
+ compute in2 (@ * 11.00), (@ / 11.00)
+ compute in3 ((@ * (47 + 10)) / 10), ((@ * 10) / (47 + 10))
+ compute in5 ((@ * (47 + 10)) / 10), ((@ * 10) / (47 + 10))
+
+ label fan1 "CPU Fan"
+ ignore fan2
+ label fan3 "SYS Fan"
+ ignore fan4
+
+ label temp1 "CPU Temperature"
+ ignore temp2
+ label temp3 "System Temperature"
diff --git a/configs/MSI/MS-7786-A55M-P33.conf b/configs/MSI/MS-7786-A55M-P33.conf
new file mode 100644
index 00000000..d22ad512
--- /dev/null
+++ b/configs/MSI/MS-7786-A55M-P33.conf
@@ -0,0 +1,20 @@
+# input routing and scaling read from board schematic
+
+chip "f71868a-*"
+ label in1 "Vcore"
+ label in2 "VDDR"
+ label in3 "+5V"
+ label in4 "+12V"
+ label in5 "Vcc1P1"
+ ignore in6
+
+ compute in3 @ * (200 + 47) / 47, @ * 47 / (200 + 47)
+ compute in4 @ * 11, @ / 11
+
+ label fan1 "CPU FAN"
+ label fan2 "SYS FAN1"
+ ignore fan3
+
+ label temp1 "System DDR Temp"
+ label temp2 "System Temp"
+ label temp3 "System SIO Temp"