From: Guenter Roeck <guenter.roeck@ericsson.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH v3 7/7] hwmon: (w83627ehf) Use 16 bit fan
Date: Sat, 12 Feb 2011 21:26:23 +0000 [thread overview]
Message-ID: <20110212212623.GB9635@ericsson.com> (raw)
In-Reply-To: <1297444832-10874-8-git-send-email-guenter.roeck@ericsson.com>
On Sat, Feb 12, 2011 at 01:56:09PM -0500, Andrew Lutomirski wrote:
> On Sat, Feb 12, 2011 at 12:55 PM, Guenter Roeck
> <guenter.roeck@ericsson.com> wrote:
> > On Sat, Feb 12, 2011 at 11:01:11AM -0500, Andrew Lutomirski wrote:
> > [ ... ]
> >
> > Actually,
> >
> >> fan2_min = 200 (div = 64):
> >> fan2_input = 138 (read at a different time, so may differ a little)
> >>
> >> [56013.556243] Reg 0029 = 99
> >> [56013.556286] Reg 0630 = 0046
> >> [56013.556453] Reg 0658 = 0089
> >>
> >> fan2_min = 502 (div = 32):
> >> fan2_input = 0 (read at a different time, so may differ a little)
> >>
> >> [56085.471567] Reg 0029 = 00
> >> [56085.471644] Reg 0632 = 0000
> >> [56085.471804] Reg 0658 = 0000
> >
> > Must have been blind. So the RPM register returns 0 as well. Not good.
> > Wonder what is going on.
>
> So far, the highest number I've been able to get out of the counter
> register is 0x2e8 by setting div = 16 and playing with the pwm.
>
> If I set div = 8, then I can't get much above 0x10b.
>
> I have no idea what's going on either.
>
Do you always get an output with div=8, or was that at a higher fan speed ?
Also, does it ever report 0xff in the 8-bit register, or does it always
switch to 0x00 ?
> I tried writing 0x80 to 0x508 (which is supposed to turn the whole
> thing on), but the only bits that seem to stick are 0x7, so I have no
> idea what's going on.
>
If you set 0x508 to 0, you might see 0xff in the 8-bit register; at least
this is what I see. The register seems to be write-only.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2011-02-12 21:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-11 17:20 [lm-sensors] [PATCH v3 7/7] hwmon: (w83627ehf) Use 16 bit fan count Guenter Roeck
2011-02-12 3:09 ` [lm-sensors] [PATCH v3 7/7] hwmon: (w83627ehf) Use 16 bit fan Andrew Lutomirski
2011-02-12 3:45 ` Guenter Roeck
2011-02-12 4:08 ` Andrew Lutomirski
2011-02-12 5:08 ` Guenter Roeck
2011-02-12 13:53 ` Andrew Lutomirski
2011-02-12 15:48 ` Guenter Roeck
2011-02-12 16:01 ` Andrew Lutomirski
2011-02-12 17:47 ` Guenter Roeck
2011-02-12 17:55 ` Guenter Roeck
2011-02-12 18:56 ` Andrew Lutomirski
2011-02-12 21:26 ` Guenter Roeck [this message]
2011-02-14 6:03 ` Guenter Roeck
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=20110212212623.GB9635@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.