Detect AMD Family 17h thermal sensors
Resolves: rhbz#1569542
This commit is contained in:
parent
98d96458af
commit
7f0908d471
27
0001-Detect-AMD-Family-17h-thermal-sensors.patch
Normal file
27
0001-Detect-AMD-Family-17h-thermal-sensors.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From f7d7997cf41bb0e1db0fb300073b434e0ea7dcc3 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
|
||||
Date: Fri, 20 Apr 2018 16:24:24 +0200
|
||||
Subject: [PATCH] Detect AMD Family 17h thermal sensors
|
||||
|
||||
---
|
||||
prog/detect/sensors-detect | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
|
||||
index 6013aa3..f522b95 100755
|
||||
--- a/prog/detect/sensors-detect
|
||||
+++ b/prog/detect/sensors-detect
|
||||
@@ -2532,6 +2532,10 @@ use vars qw(@cpu_ids);
|
||||
name => "AMD Family 16h thermal sensors",
|
||||
driver => "k10temp",
|
||||
detect => sub { amd_pci_detect('1533', '1583') },
|
||||
+ }, {
|
||||
+ name => "AMD Family 17h thermal sensors",
|
||||
+ driver => "k10temp",
|
||||
+ detect => sub { amd_pci_detect('1463') },
|
||||
}, {
|
||||
name => "AMD Family 15h power sensors",
|
||||
driver => "fam15h_power",
|
||||
--
|
||||
2.14.3
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: lm_sensors
|
||||
Version: 3.4.0
|
||||
Release: 12%{?dist}
|
||||
Release: 13%{?dist}
|
||||
Summary: Hardware monitoring tools
|
||||
Group: Applications/System
|
||||
License: LGPLv2+ and GPLv3+ and GPLv2+ and Verbatim and Public Domain
|
||||
@ -17,6 +17,8 @@ Source5: sensord.service
|
||||
Source6: sensord-service-wrapper
|
||||
Source7: lm_sensors.service
|
||||
|
||||
Patch1: 0001-Detect-AMD-Family-17h-thermal-sensors.patch
|
||||
|
||||
Requires: /usr/sbin/modprobe
|
||||
%ifarch %{ix86} x86_64
|
||||
Requires: /usr/sbin/dmidecode
|
||||
@ -63,6 +65,7 @@ database, and warns of sensor alarms.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
mv prog/init/README prog/init/README.initscripts
|
||||
chmod -x prog/init/fancontrol.init
|
||||
@ -181,6 +184,10 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Apr 20 2018 Ondřej Lysoněk <olysonek@redhat.com> - 3.4.0-13
|
||||
- Detect AMD Family 17h thermal sensors
|
||||
- Resolves: rhbz#1569542
|
||||
|
||||
* Thu Apr 12 2018 Ondřej Lysoněk <olysonek@redhat.com> - 3.4.0-12
|
||||
- Use LDFLAGS when linking executables
|
||||
- Resolves: rhbz#1548691
|
||||
|
Loading…
Reference in New Issue
Block a user