This commit is contained in:
parent
41a9aaa888
commit
689387ed73
35
lm_sensors-3.0.0-sensors.conf-fix-voltage-references.patch
Normal file
35
lm_sensors-3.0.0-sensors.conf-fix-voltage-references.patch
Normal file
@ -0,0 +1,35 @@
|
||||
--- etc/sensors.conf.eg (revision 4980)
|
||||
+++ etc/sensors.conf.eg (revision 5076)
|
||||
@@ -938,5 +938,5 @@
|
||||
|
||||
compute in2 (197/47)*@ , @/(197/47)
|
||||
- compute in4 (5*@)-(4*in0) , (@+4*in0)/5
|
||||
+ compute in4 (5*@)-(4*in0_input) , (@+4*in0_input)/5
|
||||
|
||||
# set in0_min 4.8
|
||||
@@ -988,6 +988,6 @@
|
||||
compute in3 (2.8/1.9) * @, @ * 1.9/2.8
|
||||
compute in4 (160/30.1 + 1) * @, @ / (160/30.1 + 1)
|
||||
- compute in5 (160/35.7)*(@ - in0) + @, (@ + in0 * 160/35.7)/ (1 + 160/35.7)
|
||||
- compute in6 (36/16.2)*(@ - in0) + @, (@ + in0 * 36/16.2) / (1 + 36/16.2)
|
||||
+ compute in5 (160/35.7)*(@ - in0_input) + @, (@ + in0_input * 160/35.7)/ (1 + 160/35.7)
|
||||
+ compute in6 (36/16.2)*(@ - in0_input) + @, (@ + in0_input * 36/16.2) / (1 + 36/16.2)
|
||||
|
||||
# set in0_min 5 * 0.95
|
||||
@@ -2065,10 +2065,10 @@
|
||||
# default). If not, use 3.3 instead, but you lose accuracy.
|
||||
|
||||
- compute temp4 3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
|
||||
- in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
|
||||
- compute temp5 3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
|
||||
- in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
|
||||
- compute temp6 3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
|
||||
- in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
|
||||
+ compute temp4 3435 / (` (1 / (1 - @ / in10_input) - 1) + 3435 / 298.15) - 273.15, \
|
||||
+ in10_input * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
|
||||
+ compute temp5 3435 / (` (1 / (1 - @ / in10_input) - 1) + 3435 / 298.15) - 273.15, \
|
||||
+ in10_input * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
|
||||
+ compute temp6 3435 / (` (1 / (1 - @ / in10_input) - 1) + 3435 / 298.15) - 273.15, \
|
||||
+ in10_input * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
|
||||
|
||||
# set temp4_min 0
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 18 10:45:45 CET 2007 - jdelvare@suse.de
|
||||
|
||||
- Fix voltage references in sensors.conf. Fixed upstream in:
|
||||
http://www.lm-sensors.org/changeset/5076
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 11 14:26:46 CET 2007 - jdelvare@suse.de
|
||||
|
||||
|
@ -14,7 +14,7 @@ Name: sensors
|
||||
BuildRequires: bison flex rrdtool-devel sysfsutils
|
||||
Url: http://www.lm-sensors.org/
|
||||
Version: 3.0.0
|
||||
Release: 7
|
||||
Release: 9
|
||||
Summary: Hardware health monitoring for Linux
|
||||
License: GPL v2 or later
|
||||
Group: System/Monitoring
|
||||
@ -25,6 +25,7 @@ Patch: lm_sensors-3.0.0.dif
|
||||
Patch1: lm_sensors-3.0.0-sensord-separate.dif
|
||||
Patch2: lm_sensors-3.0.0-sysconfig_metadata.patch
|
||||
Patch3: lm_sensors-3.0.0-sensord-fix-rrd-support.patch
|
||||
Patch4: lm_sensors-3.0.0-sensors.conf-fix-voltage-references.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExcludeArch: s390 s390x
|
||||
|
||||
@ -124,6 +125,7 @@ Authors:
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
|
||||
%build
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
||||
@ -199,6 +201,9 @@ rm -f $RPM_BUILD_ROOT/usr/src/linux/include/sensors.h
|
||||
%doc /usr/share/man/man3/*.3.gz
|
||||
|
||||
%changelog
|
||||
* Tue Dec 18 2007 - jdelvare@suse.de
|
||||
- Fix voltage references in sensors.conf. Fixed upstream in:
|
||||
http://www.lm-sensors.org/changeset/5076
|
||||
* Tue Dec 11 2007 - jdelvare@suse.de
|
||||
- Fix rrd support in sensord. Fixed upstream in:
|
||||
http://www.lm-sensors.org/changeset/5069
|
||||
|
Loading…
Reference in New Issue
Block a user