Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
sensors
lm_sensors-3.4.0+-Only-probe-I-O-ports-on-x86.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lm_sensors-3.4.0+-Only-probe-I-O-ports-on-x86.patch of Package sensors
From 3ec458c2a891f26e1bfd4f0c7d88be3737ac7515 Mon Sep 17 00:00:00 2001 From: Jean Delvare <khali@linux-fr.org> Date: Mon, 10 Aug 2015 09:04:53 +0000 Subject: [PATCH] sensors-detect: Only probe I/O ports on x86 Contributed by Aurelien Jarno. --- CHANGES | 3 +++ prog/detect/sensors-detect | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) Index: lm_sensors-3.4.0/CHANGES =================================================================== --- lm_sensors-3.4.0.orig/CHANGES +++ lm_sensors-3.4.0/CHANGES @@ -1,6 +1,9 @@ lm-sensors CHANGES file ----------------------- +SVN HEAD + sensors-detect: Only probe I/O ports on x86 + 3.4.0 (2015-06-25) documentation: Update the note about libsensors license sensors.conf.5: Enhance the hysteresis documentation Index: lm_sensors-3.4.0/prog/detect/sensors-detect =================================================================== --- lm_sensors-3.4.0.orig/prog/detect/sensors-detect +++ lm_sensors-3.4.0/prog/detect/sensors-detect @@ -7245,9 +7245,9 @@ sub main print "\n"; $superio_features = 0; - # Skip "random" I/O port probing on PPC - if ($kernel_arch ne 'ppc' - && $kernel_arch ne 'ppc64') { + # Skip "random" I/O port probing on non-x86 machines + if ($kernel_arch =~ m/^i[3456]86$/ + || $kernel_arch eq 'x86_64') { print "Some Super I/O chips contain embedded sensors. We have to write to\n". "standard I/O ports to probe them. This is usually safe.\n"; print "Do you want to scan for Super I/O sensors? (YES/no): ";
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor