mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
lm_sensors: add some upstream patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
1312a6c2c3
commit
9827929f74
@ -0,0 +1,22 @@
|
||||
diff -Naur lm_sensors-3.2.0-old/CHANGES lm_sensors-3.2.0-new/CHANGES
|
||||
--- lm_sensors-3.2.0-old/CHANGES 2010-10-10 12:15:54.000000000 -0700
|
||||
+++ lm_sensors-3.2.0-new/CHANGES 2010-10-19 20:13:47.000000000 -0700
|
||||
@@ -2,6 +2,7 @@
|
||||
-----------------------
|
||||
|
||||
3.2.0 (2010-10-10)
|
||||
+ sensors-detect: Fix error seen if I2C bus numbers are not sequential
|
||||
libsensors: Increase MAX_SENSORS_PER_TYPE to 24
|
||||
Map individual beep features
|
||||
Change license to LGPL
|
||||
diff -Naur lm_sensors-3.2.0-old/prog/detect/sensors-detect lm_sensors-3.2.0-new/prog/detect/sensors-detect
|
||||
--- lm_sensors-3.2.0-old/prog/detect/sensors-detect 2010-09-21 08:21:05.000000000 -0700
|
||||
+++ lm_sensors-3.2.0-new/prog/detect/sensors-detect 2010-10-19 20:13:47.000000000 -0700
|
||||
@@ -5930,6 +5930,7 @@
|
||||
# the adapter drivers so that the numbers will be the same. If not, then
|
||||
# we only load the adapter drivers which are useful.
|
||||
foreach $adap (@i2c_adapters) {
|
||||
+ next unless defined $adap;
|
||||
next if $adap->{autoload};
|
||||
next if $adap->{driver} eq 'UNKNOWN';
|
||||
next if not defined $configfile and not $adap->{used};
|
@ -0,0 +1,12 @@
|
||||
diff -Naur lm_sensors-3.2.0-old/prog/detect/sensors-detect lm_sensors-3.2.0-new/prog/detect/sensors-detect
|
||||
--- lm_sensors-3.2.0-old/prog/detect/sensors-detect 2010-11-21 07:20:09.000000000 -0800
|
||||
+++ lm_sensors-3.2.0-new/prog/detect/sensors-detect 2010-11-21 07:21:05.000000000 -0800
|
||||
@@ -1791,7 +1791,7 @@
|
||||
features => FEAT_IN | FEAT_FAN | FEAT_TEMP,
|
||||
}, {
|
||||
name => "Nuvoton W83667HG-B Super IO Sensors",
|
||||
- driver => "to-be-written", # Probably w83627ehf
|
||||
+ driver => "w83627ehf",
|
||||
devid => 0xB350,
|
||||
devid_mask => 0xFFF0,
|
||||
logdev => 0x0b,
|
@ -0,0 +1,40 @@
|
||||
diff -Naur lm_sensors-3.2.0-old/CHANGES lm_sensors-3.2.0-new/CHANGES
|
||||
--- lm_sensors-3.2.0-old/CHANGES 2010-11-29 10:42:35.000000000 -0800
|
||||
+++ lm_sensors-3.2.0-new/CHANGES 2010-11-29 10:43:06.000000000 -0800
|
||||
@@ -4,6 +4,7 @@
|
||||
3.2.0 (2010-10-10)
|
||||
sensors-detect: Fix error seen if I2C bus numbers are not sequential
|
||||
libsensors: Increase MAX_SENSORS_PER_TYPE to 24
|
||||
+ sensors.conf.defauit: Add a section for the W83627THF
|
||||
Map individual beep features
|
||||
Change license to LGPL
|
||||
pwmconfig: Sample all fan speeds before returning to full speed (#2380)
|
||||
diff -Naur lm_sensors-3.2.0-old/etc/sensors.conf.default lm_sensors-3.2.0-new/etc/sensors.conf.default
|
||||
--- lm_sensors-3.2.0-old/etc/sensors.conf.default 2010-07-04 00:22:11.000000000 -0700
|
||||
+++ lm_sensors-3.2.0-new/etc/sensors.conf.default 2010-11-29 10:43:06.000000000 -0800
|
||||
@@ -266,6 +266,25 @@
|
||||
label temp1 "M/B Temp"
|
||||
|
||||
|
||||
+chip "w83627thf-*"
|
||||
+
|
||||
+ label in3 "+5V"
|
||||
+ label in7 "5VSB"
|
||||
+ label in8 "Vbat"
|
||||
+
|
||||
+ # Internal resistors
|
||||
+ compute in3 @ * (1 + 34/51), @ / (1 + 34/51)
|
||||
+ compute in7 @ * (1 + 34/51), @ / (1 + 34/51)
|
||||
+
|
||||
+ set in3_min 5.0 * 0.90
|
||||
+ set in3_max 5.0 * 1.10
|
||||
+ set in7_min 5.0 * 0.90
|
||||
+ set in7_max 5.0 * 1.10
|
||||
+# The battery voltage may or may not be monitored.
|
||||
+# set in8_min 3.0 * 0.90
|
||||
+# set in8_max 3.0 * 1.10
|
||||
+
|
||||
+
|
||||
chip "w83627ehf-*" "w83627dhg-*" "w83667hg-*"
|
||||
|
||||
label in0 "Vcore"
|
@ -0,0 +1,12 @@
|
||||
diff -Naur lm_sensors-3.2.0-old/lib/sensors.conf.5 lm_sensors-3.2.0-new/lib/sensors.conf.5
|
||||
--- lm_sensors-3.2.0-old/lib/sensors.conf.5 2009-02-15 09:22:38.000000000 -0800
|
||||
+++ lm_sensors-3.2.0-new/lib/sensors.conf.5 2010-12-13 18:45:54.000000000 -0800
|
||||
@@ -402,7 +402,7 @@
|
||||
again immediately.
|
||||
|
||||
So, in addition to tempX_max, many chips have a tempX_max_hyst
|
||||
-sub-feature. Likewise, tempX_crit often comes with tempX_max_crit.
|
||||
+sub-feature. Likewise, tempX_crit often comes with tempX_crit_hyst.
|
||||
Example:
|
||||
|
||||
.RS
|
@ -0,0 +1,35 @@
|
||||
diff -Naur lm_sensors-3.2.0-old/CHANGES lm_sensors-3.2.0-new/CHANGES
|
||||
--- lm_sensors-3.2.0-old/CHANGES 2010-12-13 18:45:21.000000000 -0800
|
||||
+++ lm_sensors-3.2.0-new/CHANGES 2010-12-13 18:46:50.000000000 -0800
|
||||
@@ -5,6 +5,7 @@
|
||||
sensors-detect: Fix error seen if I2C bus numbers are not sequential
|
||||
libsensors: Increase MAX_SENSORS_PER_TYPE to 24
|
||||
sensors.conf.defauit: Add a section for the W83627THF
|
||||
+ Add a section for the SCH5127
|
||||
Map individual beep features
|
||||
Change license to LGPL
|
||||
pwmconfig: Sample all fan speeds before returning to full speed (#2380)
|
||||
diff -Naur lm_sensors-3.2.0-old/etc/sensors.conf.default lm_sensors-3.2.0-new/etc/sensors.conf.default
|
||||
--- lm_sensors-3.2.0-old/etc/sensors.conf.default 2010-12-13 18:45:21.000000000 -0800
|
||||
+++ lm_sensors-3.2.0-new/etc/sensors.conf.default 2010-12-13 18:46:50.000000000 -0800
|
||||
@@ -402,6 +402,20 @@
|
||||
set in6_max 3.0 * 1.10
|
||||
|
||||
|
||||
+chip "sch5127-*"
|
||||
+
|
||||
+ label in2 "+3.3V"
|
||||
+ label in5 "3VSB"
|
||||
+ label in6 "Vbat"
|
||||
+
|
||||
+ set in2_min 3.3 * 0.90
|
||||
+ set in2_max 3.3 * 1.10
|
||||
+ set in5_min 3.3 * 0.90
|
||||
+ set in5_max 3.3 * 1.10
|
||||
+ set in6_min 3.0 * 0.90
|
||||
+ set in6_max 3.0 * 1.10
|
||||
+
|
||||
+
|
||||
chip "f71882fg-*"
|
||||
|
||||
label in0 "+3.3V"
|
Loading…
x
Reference in New Issue
Block a user