From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: 1250
Date: Thu, 19 May 2005 06:24:00 +0000 [thread overview]
Message-ID: <20030619093408.6d41cc88.khali@linux-fr.org> (raw)
In-Reply-To: <200306021011.37032.decibel8@charter.net>
> > Some times ago, Philip Pokorny sent you a patch that could possibly
> > solve your problem with lm_sensors. Did you try it? Did it work?
> No it didn't. I couldn't get the patch to work. He told me exactly
> what to do after try several times myself to patch the source, with
> errors. I got the same errors, so doesn't look like it was me. One of
> the lines it was suppose to look for wasn't there. I grepped the
> source files and I think a couple of the lines weren't there.
> Looks like a bad patch.
> I sent the patch to someone else and apparently they didn't have any
> success either.
I'd like you to try again. Attached is a modified version of the same
patch that should apply. I tested it some minutes ago, and it does apply
cleanly to lm_sensors-2.7.0. Go inside the directory where the
lm_sensors sources reside and apply with "patch -p1 <
/path/to/lm_sensors-2.7.0-sysctl-2.patch".
We are planing to release a new version of lm_sensors in a few days and
I'd like to know if your problem is still present or not.
Thanks.
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
-------------- next part --------------
--- lm_sensors-2.7.0/lib/proc.c Sun Nov 10 15:13:38 2002
+++ lm_sensors-2.7.0/lib/proc.c Wed May 28 14:04:25 2003
@@ -184,6 +184,7 @@
sysctl_name[3] = the_feature->sysctl;
if (sysctl(sysctl_name, 4, buf, &buflen, NULL, 0))
return -SENSORS_ERR_PROC;
+ if (sysctl_name[0] != CTL_DEV) { sysctl_name[0] = CTL_DEV ; }
for (mag = the_feature->scaling; mag > 0; mag --)
value *= 10.0;
for (; mag < 0; mag ++)
next prev parent reply other threads:[~2005-05-19 6:24 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:23 1250 David
2005-05-19 6:23 ` 1250 Mark D. Studebaker
2005-05-19 6:23 ` 1250 Philip Pokorny
2005-05-19 6:23 ` 1250 Philip Pokorny
2005-05-19 6:23 ` 1250 Philip Pokorny
2005-05-19 6:24 ` 1250 David
2005-05-19 6:24 ` 1250 Jean Delvare
2005-05-19 6:24 ` 1250 David
2005-05-19 6:24 ` Jean Delvare [this message]
2005-05-19 6:24 ` 1250 Philip Pokorny
2005-05-19 6:24 ` 1250 Philip Pokorny
2005-05-19 6:24 ` 1250 DAVID
2005-05-19 6:24 ` 1250 Philip Pokorny
2005-05-19 6:24 ` 1250 Jean Delvare
2005-05-19 6:24 ` 1250 Jean Delvare
2005-05-19 6:24 ` 1250 Jean Delvare
2005-05-19 6:24 ` 1250 David
2005-05-19 6:24 ` 1250 David
2005-05-19 6:24 ` 1250 David
2005-05-19 6:24 ` 1250 David
2005-05-19 6:24 ` 1250 David
2005-05-19 6:24 ` 1250 David
2005-05-19 6:24 ` 1250 Jean Delvare
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=20030619093408.6d41cc88.khali@linux-fr.org \
--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.