From: ppokorny@penguincomputing.com (Philip Pokorny)
To: lm-sensors@vger.kernel.org
Subject: bmcsensors and strange sensor values.
Date: Thu, 19 May 2005 06:25:15 +0000 [thread overview]
Message-ID: <4148E16F.5060706@penguincomputing.com> (raw)
In-Reply-To: <45A0FF82385BEB4C8670E255530B338527B4CE@mssydeb.asi.com.au>
In the LM85 driver, I did the following:
Reading Indicated Speed
0 -1
1 max speed
... ...
254 min speed
255 0
:v)
Peter Wilsmore wrote:
>Doh! Yeah your right, I didn't think the r value would ever be zero, but
>it would have been right to check anyway and saved me a lot of time.
>Just has a philosophical question, if I do get a value of 0 returned
>should I be setting the fan speed to 0 (which reflects what happens when
>the fan stops spinning) or to max value (which reflects what is
>happening when the interval between pulses is smaller than the unit
>measured)? In my case it seems the fan is spinning very, very fast so
>the interval between pulses is smaller than the units they are measuring
>so setting the fan speed to 0 does not reflect what is actually
>happening in the chassis.
>
>Thanks,
>
>Peter Wilsmore
>
>ASI SOLUTIONS
>Direct: 1300130 837
>
>
>
>>-----Original Message-----
>>From: Philip Pokorny [mailto:ppokorny@penguincomputing.com]
>>
>>Could it be that you're dividing by zero? You don't check the value
>>
>>
>of
>
>
>>'r' before the division to be sure that it's not zero. If there is a
>>fan failure and the current fan speed is 0, then perhaps r is returned
>>as 0 instead of it's max value.
>>
>>:v)
>>
>>--
>>Philip Pokorny, Director of Engineering
>>Tel: 415-954-2823 Fax: 415-954-2899 Toll Free: 888-PENGUIN
>>PENGUIN COMPUTING, INC.
>>www.penguincomputing.com
>>
>
>
>
>
--
Philip Pokorny, Director of Engineering
Tel: 415-954-2823 Fax: 415-954-2899 Toll Free: 888-PENGUIN
PENGUIN COMPUTING, INC.
www.penguincomputing.com
next prev parent reply other threads:[~2005-05-19 6:25 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:25 bmcsensors and strange sensor values Peter Wilsmore
2005-05-19 6:25 ` Peter Wilsmore
2005-05-19 6:25 ` Mark Studebaker
2005-05-19 6:25 ` Peter Wilsmore
2005-05-19 6:25 ` Peter Wilsmore
2005-05-19 6:25 ` Mark Studebaker
2005-05-19 6:25 ` Peter Wilsmore
2005-05-19 6:25 ` Mark Studebaker
2005-05-19 6:25 ` Mark Studebaker
2005-05-19 6:25 ` Peter Wilsmore
2005-05-19 6:25 ` Philip Pokorny
2005-05-19 6:25 ` Peter Wilsmore
2005-05-19 6:25 ` Philip Pokorny [this message]
2005-05-19 6:25 ` Peter Wilsmore
2005-05-19 6:25 ` Peter Wilsmore
2005-05-19 6:25 ` 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=4148E16F.5060706@penguincomputing.com \
--to=ppokorny@penguincomputing.com \
--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.