summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES1
-rwxr-xr-xprog/detect/sensors-detect6
2 files changed, 4 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index 440f15be..af4ee59e 100644
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,7 @@ SVN HEAD
sensors.1: Add reference to sensors-detect
sensors-detect: Fix systemd paths
Add detection of Fintek F81768
+ Only probe I/O ports on x86
3.4.0 (2015-06-25)
documentation: Update the note about libsensors license
diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
index 475b68f3..3a44141f 100755
--- a/prog/detect/sensors-detect
+++ b/prog/detect/sensors-detect
@@ -7240,9 +7240,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): ";