All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <guenter.roeck@ericsson.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] Standalone driver for W83677HG-I, NCT6775F,
Date: Sun, 06 Feb 2011 01:00:02 +0000	[thread overview]
Message-ID: <20110206010002.GA27852@ericsson.com> (raw)
In-Reply-To: <20110205175852.GA26672@ericsson.com>

Hi Ian,
On Sat, Feb 05, 2011 at 04:46:22PM -0500, Ian Dobson wrote:
> 
[ ... ]
> 
> Not bad, the results look almost the same as the standalone "hack" driver 
> for the n6776 I'm working on, looks as if I can stop now. The only thing I'm 
> seeing is that on fan headers where no fan is attached I'm seeing 164RPM.
> 
Can you try again ? I updated the code to address the problem.

> The NCT6776F seems to use a 13-bit counter for the fans. The RPM formula is 
> RPM = 1.35e6 / count. The value 1.35e6 value might come from a 22.5 kHz 
> counter. Now if the counter reaches the maximum value, which is 8191 for a 
> 13-bit counter, we get exactly an RPM of 164.815041.
> 
> nct6776-isa-0290
> Adapter: ISA adapter
> in0:         +1.18 V  (min =  +0.95 V, max =  +1.26 V)
> in1:         +1.02 V  (min =  +0.90 V, max =  +1.20 V)
> in2:         +3.36 V  (min =  +3.01 V, max =  +3.50 V)
> in3:         +3.34 V  (min =  +3.01 V, max =  +3.50 V)
> in4:         +1.03 V  (min =  +1.00 V, max =  +1.10 V)
> in5:         +2.04 V  (min =  +1.90 V, max =  +2.00 V)   ALARM
> in6:         +0.80 V  (min =  +0.77 V, max =  +0.90 V)
> in7:         +3.42 V  (min =  +3.01 V, max =  +3.50 V)
> in8:         +3.30 V  (min =  +3.01 V, max =  +3.50 V)
> fan1:        530 RPM  (min =    0 RPM)  ALARM
> fan2:       1030 RPM  (min =    0 RPM)  ALARM
> fan3:        164 RPM  (min =    0 RPM)  ALARM
> fan4:        784 RPM  (min =    0 RPM)  ALARM
> fan5:        164 RPM  (min =    0 RPM)  ALARM
> temp1:       +23.0°C  (high = +35.0°C, hyst = +37.0°C)  sensor = 
> thermistor
> temp2:       -60.0°C  (high = +50.0°C, hyst = +55.0°C)  sensor = diode

This doesn't look good either. Can you report the raw values you get when reading
registers 0x150/0x151, 0x75/0x76, 0x152, and 0x200 ?

I have been wondering if I should retrieve the temperature values from 0x73/0x75/0x77.
This is another set of temperature registers supported by both chips and used as
fan monitoring source. 0x150 and 0x200 specify the temperature source for 0x151 and
0x75, respectively.

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2011-02-06  1:00 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-05 17:58 [lm-sensors] Standalone driver for W83677HG-I, NCT6775F, NCT6776F Guenter Roeck
2011-02-05 18:04 ` [lm-sensors] Standalone driver for W83677HG-I, NCT6775F, Guenter Roeck
2011-02-05 19:15 ` Guenter Roeck
2011-02-05 21:46 ` Ian Dobson
2011-02-06  1:00 ` Guenter Roeck [this message]
2011-02-06  9:36 ` Ian Dobson
2011-02-06  9:56 ` Jean Delvare
2011-02-06 10:00 ` Ian Dobson
2011-02-06 10:00 ` Jean Delvare
2011-02-06 10:14 ` Ian Dobson
2011-02-06 11:59 ` Ian Dobson
2011-02-06 13:37 ` Ian Dobson
2011-02-06 13:55 ` Ian Dobson
2011-02-06 15:45 ` Ian Dobson
2011-02-06 15:53 ` Jean Delvare
2011-02-06 16:03 ` Ian Dobson
2011-02-06 16:04 ` Guenter Roeck
2011-02-06 16:13 ` Guenter Roeck
2011-02-06 16:28 ` Guenter Roeck
2011-02-07  3:50 ` Andy Lutomirski
2011-02-07  4:50 ` Guenter Roeck
2011-02-07  7:33 ` Jean Delvare
2011-02-07  7:40 ` Jean Delvare
2011-02-07 13:56 ` Andrew Lutomirski
2011-02-07 14:39 ` Guenter Roeck
2011-02-07 14:47 ` Guenter Roeck
2011-02-07 14:57 ` Guenter Roeck
2011-02-07 16:03 ` Guenter Roeck
2011-02-07 16:50 ` Andrew Lutomirski
2011-02-07 17:44 ` Guenter Roeck
2011-02-07 17:58 ` Guenter Roeck
2011-02-07 18:20 ` Andrew Lutomirski
2011-02-07 18:48 ` Guenter Roeck
2011-02-07 19:53 ` Andrew Lutomirski
2011-02-07 20:26 ` Guenter Roeck
2011-02-07 20:32 ` Andrew Lutomirski
2011-02-07 20:35 ` Jean Delvare
2011-02-07 21:27 ` Guenter Roeck
2011-04-10 15:28 ` Ian Pilcher
2011-04-12 16:49 ` Ian Dobson

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=20110206010002.GA27852@ericsson.com \
    --to=guenter.roeck@ericsson.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.