[lm-sensors] [Patch] lm-sensors crash on non x86 hardware
Christian Krafft
krafft at de.ibm.com
Thu Apr 10 17:11:11 CEST 2008
Hi,
Please consider this tiny patch for inclusion.
It provides the user with more precise info.
Index: lm_sensors-2.10.0/prog/detect/sensors-detect
===================================================================
--- lm_sensors-2.10.0.orig/prog/detect/sensors-detect
+++ lm_sensors-2.10.0/prog/detect/sensors-detect
@@ -5153,7 +5153,7 @@ sub main
print "\nSome chips are also accessible through the ISA bus. ISA probes are\n".
"typically a bit more dangerous, as we have to write to I/O ports to do\n".
- "this. This is usually safe though.\n\n";
+ "this. This is usually safe on x86 acrhitecture.\n\n";
if ($> != 0) {
print "As you are not root, we shall skip this step.\n";
} else {
@@ -5167,7 +5167,7 @@ sub main
print "\nSome Super I/O chips may also contain sensors. Super I/O probes are\n".
"typically a bit more dangerous, as we have to write to I/O ports to do\n".
- "this. This is usually safe though.\n\n";
+ "this. This is usually safe on x86 acrhitecture.\n\n";
if ($> != 0) {
print "As you are not root, we shall skip this step.\n";
} else {
--
Mit freundlichen Gruessen,
kind regards,
Christian Krafft
IBM Systems & Technology Group,
Linux Kernel Development
IT Specialist
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschaeftsfuehrung: Herbert Kircher
Sitz der Gesellschaft: Boeblingen
Registriergericht: Amtsgericht Stuttgart, HRB 243294
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20080410/5b0c80bc/attachment.bin
More information about the lm-sensors
mailing list