From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [Patch] lm-sensors crash on non x86 hardware
Date: Thu, 10 Apr 2008 16:14:46 +0000 [thread overview]
Message-ID: <20080410181446.74f7a728@hyperion.delvare> (raw)
In-Reply-To: <20080410171111.3f275bcb@de.ibm.com>
Hi Christian,
On Thu, 10 Apr 2008 17:11:11 +0200, Christian Krafft wrote:
> 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
2.10.0 is old...
> @@ -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 {
We already skip these probes on PPC:
http://www.lm-sensors.org/changeset/5125
Isn't it sufficient?
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2008-04-10 16:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-10 15:11 [lm-sensors] [Patch] lm-sensors crash on non x86 hardware Christian Krafft
2008-04-10 16:14 ` Jean Delvare [this message]
2008-04-12 16:42 ` Christian Krafft
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080410181446.74f7a728@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.