Accepting request 156979 from Base:System
Align sensors-detect with what kernel 3.7 supports. - lm_sensors-r6111-detection-Winbond-W83627SF.diff: Add detection of Winbond W83627SF/GF (no sensors.) - lm_sensors-r6112-detection-AMD-family-16h.diff: Add detection of AMD family 16h power sensors. - lm_sensors-r6113-ITE-IT877x-IT878x-driver.diff: Map IT8771E, IT8772E, IT8782F and IT8783F to it87. - lm_sensors-r6117-detection-ITE-IT8752F.diff: Add detection of IT8752F. - lm_sensors-r6123-AnalogDev-ADT7410-driver.diff: We have a driver for the ADT7410 since kernel 3.7. OBS-URL: https://build.opensuse.org/request/show/156979 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sensors?expand=0&rev=82
This commit is contained in:
commit
800ac4dd5e
20
lm_sensors-r6111-detection-Winbond-W83627SF.diff
Normal file
20
lm_sensors-r6111-detection-Winbond-W83627SF.diff
Normal file
@ -0,0 +1,20 @@
|
||||
Subject: Add detection of Winbond W83627SF/GF (no sensors)
|
||||
Upstream: yes, r6111
|
||||
|
||||
---
|
||||
prog/detect/sensors-detect | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
--- lm_sensors-3.3.3.orig/prog/detect/sensors-detect
|
||||
+++ lm_sensors-3.3.3/prog/detect/sensors-detect
|
||||
@@ -1945,6 +1945,10 @@ use constant FEAT_SMBUS => (1 << 7);
|
||||
logdev => 0x0b,
|
||||
features => FEAT_IN | FEAT_FAN | FEAT_TEMP,
|
||||
}, {
|
||||
+ name => "Winbond W83627SF/GF Super IO",
|
||||
+ driver => "not-a-sensor",
|
||||
+ devid => 0x59,
|
||||
+ }, {
|
||||
name => "Winbond W83627THF/THG Super IO Sensors",
|
||||
driver => "w83627hf",
|
||||
devid => 0x82,
|
20
lm_sensors-r6112-detection-AMD-family-16h.diff
Normal file
20
lm_sensors-r6112-detection-AMD-family-16h.diff
Normal file
@ -0,0 +1,20 @@
|
||||
Subject: Add detection of AMD family 16h power sensors
|
||||
Upstream: yes, r6112
|
||||
|
||||
---
|
||||
prog/detect/sensors-detect | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
--- lm_sensors-3.3.3.orig/prog/detect/sensors-detect
|
||||
+++ lm_sensors-3.3.3/prog/detect/sensors-detect
|
||||
@@ -2353,6 +2353,10 @@ use vars qw(@cpu_ids);
|
||||
driver => "fam15h_power",
|
||||
detect => sub { amd_pci_detect('1604') },
|
||||
}, {
|
||||
+ name => "AMD Family 16h power sensors",
|
||||
+ driver => "fam15h_power",
|
||||
+ detect => sub { amd_pci_detect('1534') },
|
||||
+ }, {
|
||||
name => "Intel digital thermal sensor",
|
||||
driver => "coretemp",
|
||||
detect => \&coretemp_detect,
|
41
lm_sensors-r6113-ITE-IT877x-IT878x-driver.diff
Normal file
41
lm_sensors-r6113-ITE-IT877x-IT878x-driver.diff
Normal file
@ -0,0 +1,41 @@
|
||||
Subject: Map ITE IT8771E, IT8772E, IT8782F and IT8783F to it87
|
||||
Upstream: yes, r6113
|
||||
|
||||
---
|
||||
prog/detect/sensors-detect | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
--- lm_sensors-3.3.3.orig/prog/detect/sensors-detect
|
||||
+++ lm_sensors-3.3.3/prog/detect/sensors-detect
|
||||
@@ -2225,13 +2225,13 @@ use constant FEAT_SMBUS => (1 << 7);
|
||||
features => FEAT_IN | FEAT_FAN | FEAT_TEMP,
|
||||
}, {
|
||||
name => "ITE IT8771E Super IO Sensors",
|
||||
- driver => "to-be-written", # it87
|
||||
+ driver => "it87",
|
||||
devid => 0x8771,
|
||||
logdev => 0x04,
|
||||
features => FEAT_IN | FEAT_FAN | FEAT_TEMP,
|
||||
}, {
|
||||
name => "ITE IT8772E Super IO Sensors",
|
||||
- driver => "to-be-written", # it87
|
||||
+ driver => "it87",
|
||||
devid => 0x8772,
|
||||
logdev => 0x04,
|
||||
features => FEAT_IN | FEAT_FAN | FEAT_TEMP,
|
||||
@@ -2243,13 +2243,13 @@ use constant FEAT_SMBUS => (1 << 7);
|
||||
features => FEAT_IN | FEAT_FAN | FEAT_TEMP,
|
||||
}, {
|
||||
name => "ITE IT8782F Super IO Sensors",
|
||||
- driver => "to-be-written", # it87
|
||||
+ driver => "it87",
|
||||
devid => 0x8782,
|
||||
logdev => 0x04,
|
||||
features => FEAT_IN | FEAT_FAN | FEAT_TEMP,
|
||||
}, {
|
||||
name => "ITE IT8783F Super IO Sensors",
|
||||
- driver => "to-be-written", # it87
|
||||
+ driver => "it87",
|
||||
devid => 0x8783,
|
||||
logdev => 0x04,
|
||||
features => FEAT_IN | FEAT_FAN | FEAT_TEMP,
|
22
lm_sensors-r6117-detection-ITE-IT8752F.diff
Normal file
22
lm_sensors-r6117-detection-ITE-IT8752F.diff
Normal file
@ -0,0 +1,22 @@
|
||||
Subject: Add detection of ITE IT8752F
|
||||
Upstream: yes, r6117
|
||||
|
||||
---
|
||||
prog/detect/sensors-detect | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
--- lm_sensors-3.3.3.orig/prog/detect/sensors-detect
|
||||
+++ lm_sensors-3.3.3/prog/detect/sensors-detect
|
||||
@@ -2224,6 +2224,12 @@ use constant FEAT_SMBUS => (1 << 7);
|
||||
logdev => 0x04,
|
||||
features => FEAT_IN | FEAT_FAN | FEAT_TEMP,
|
||||
}, {
|
||||
+ name => "ITE IT8752F Super IO Sensors",
|
||||
+ driver => "to-be-written", # it87
|
||||
+ devid => 0x8752,
|
||||
+ logdev => 0x04,
|
||||
+ features => FEAT_IN | FEAT_FAN | FEAT_TEMP,
|
||||
+ }, {
|
||||
name => "ITE IT8771E Super IO Sensors",
|
||||
driver => "it87",
|
||||
devid => 0x8771,
|
23
lm_sensors-r6123-AnalogDev-ADT7410-driver.diff
Normal file
23
lm_sensors-r6123-AnalogDev-ADT7410-driver.diff
Normal file
@ -0,0 +1,23 @@
|
||||
Subject: Update Analog Devices ADT7410 detection
|
||||
Upstream: yes, r6123
|
||||
|
||||
We have a driver for the ADT7410 since kernel 3.7.
|
||||
ADT7420 is register compatible with the ADT7410.
|
||||
|
||||
---
|
||||
prog/detect/sensors-detect | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- lm_sensors-3.3.3.orig/prog/detect/sensors-detect
|
||||
+++ lm_sensors-3.3.3/prog/detect/sensors-detect
|
||||
@@ -637,8 +637,8 @@ use vars qw(@i2c_adapter_names);
|
||||
i2c_addrs => [0x2c..0x2e],
|
||||
i2c_detect => sub { adt7490_detect(@_); },
|
||||
}, {
|
||||
- name => "Analog Devices ADT7410",
|
||||
- driver => "to-be-written",
|
||||
+ name => "Analog Devices ADT7410/ADT7420",
|
||||
+ driver => "adt7410",
|
||||
i2c_addrs => [0x48..0x4b],
|
||||
i2c_detect => sub { adt7410_detect(@_); },
|
||||
}, {
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 28 18:43:13 CET 2013 - jdelvare@suse.de
|
||||
|
||||
- lm_sensors-r6111-detection-Winbond-W83627SF.diff: Add detection
|
||||
of Winbond W83627SF/GF (no sensors.)
|
||||
- lm_sensors-r6112-detection-AMD-family-16h.diff: Add detection of
|
||||
AMD family 16h power sensors.
|
||||
- lm_sensors-r6113-ITE-IT877x-IT878x-driver.diff: Map IT8771E,
|
||||
IT8772E, IT8782F and IT8783F to it87.
|
||||
- lm_sensors-r6117-detection-ITE-IT8752F.diff: Add detection of
|
||||
IT8752F.
|
||||
- lm_sensors-r6123-AnalogDev-ADT7410-driver.diff: We have a driver
|
||||
for the ADT7410 since kernel 3.7.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 9 21:40:32 UTC 2012 - hrvoje.senjan@gmail.com
|
||||
|
||||
|
12
sensors.spec
12
sensors.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package sensors
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -34,6 +34,11 @@ Patch1: lm_sensors-3.1.1-build.patch
|
||||
Patch2: lm_sensors-3.0.0-sensord-separate.patch
|
||||
Patch3: lm_sensors-3.0.0-sysconfig_metadata.patch
|
||||
Patch4: lm_sensors-3.0.3-hint-at-kernel-extra-package.patch
|
||||
Patch5: lm_sensors-r6111-detection-Winbond-W83627SF.diff
|
||||
Patch6: lm_sensors-r6112-detection-AMD-family-16h.diff
|
||||
Patch7: lm_sensors-r6113-ITE-IT877x-IT878x-driver.diff
|
||||
Patch8: lm_sensors-r6117-detection-ITE-IT8752F.diff
|
||||
Patch9: lm_sensors-r6123-AnalogDev-ADT7410-driver.diff
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExcludeArch: s390 s390x
|
||||
@ -136,6 +141,11 @@ Authors:
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
||||
|
Loading…
Reference in New Issue
Block a user