All of lore.kernel.org
 help / color / mirror / Atom feed
From: Knut_Petersen@t-online.de (Knut Petersen)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] RE: vt8231.c
Date: Wed, 02 Nov 2005 19:47:28 +0000	[thread overview]
Message-ID: <436909D8.9030904@t-online.de> (raw)
In-Reply-To: <20051102092453.47B1712E9E@bluewhale.planbit.co.uk>

Roger Lucas schrieb:

>Hi Jean,
>
>Updated patch attached.  I love it when you inherit loads of code that you
>end up fixing... :-)
>  
>
One problem: As you know, I use a Verax fan with 9 pulses/revolution.

If i use

    compute fan1 @/9 , @*9
    set fan1_min 1
    set fan1_div 1

in sensors.conf, the shortened sensors output is:

     fan1:     1324 RPM  (min =  571 RPM, div = 1) 

and /sys/bus/i2c/devices/9191-6000/fan1_min contains 5140.

But if I use

    compute fan1 @/9 , @*9
    set fan1_min 0
    set fan1_div 1

that results in a sensors output of

   fan1:     1324 RPM  (min =    0 RPM, div = 1)          ALARM

and /sys/bus/i2c/devices/9191-6000/fan1_min contains 0.

The previous patch also behaved wrong for a "set fan1_min 0".

cu,
 Knut

  parent reply	other threads:[~2005-11-02 19:47 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-02 10:25 [lm-sensors] RE: vt8231.c Roger Lucas
2005-11-02 14:24 ` Jean Delvare
2005-11-02 15:17 ` Roger Lucas
2005-11-02 19:47 ` Knut Petersen [this message]
2005-11-02 20:15 ` Roger Lucas
2005-11-02 20:26 ` Jean Delvare
2005-11-02 21:50 ` Grant Coady
2005-11-02 21:56 ` Jean Delvare
2005-11-03  0:28 ` Roger Lucas
2005-11-03  4:26 ` Mark M. Hoffman
2005-11-03  6:11 ` Grant Coady
2005-11-06 17:00 ` Jean Delvare
2005-11-06 20:22 ` Roger Lucas
2005-11-07 10:37 ` Jean Delvare
2005-11-07 20:56 ` Roger Lucas
2005-11-09 13:03 ` Jean Delvare
2005-11-09 15:43 ` Roger Lucas
2005-11-15  8:33 ` Jean Delvare
2005-11-15 12:14 ` Roger Lucas
2005-11-15 13:15 ` Jean Delvare
2005-11-15 13:46 ` Roger Lucas
2005-11-15 20:17 ` 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=436909D8.9030904@t-online.de \
    --to=knut_petersen@t-online.de \
    --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.