All of lore.kernel.org
 help / color / mirror / Atom feed
From: david_knierim@earthlink.net (David Knierim)
To: lm-sensors@vger.kernel.org
Subject: LM93 vccp_limit_type "relative" does not work
Date: Thu, 19 May 2005 06:25:19 +0000	[thread overview]
Message-ID: <416EDF3D.7090307@earthlink.net> (raw)



I've been trying to get the "relative" mode of the LM93 to work.   I 
have used i2cdump, i2cset and the spec sheet to get an idea how this 
feature works.  However, what it will take to get the LM93 to do it is 
beyond my abilities, I am afraid.

I'm using the CVS version from Oct. 12, which has all current LM93 fixes 
integrated.

In order to use the feature the following steps need to be done:
  1. set thresholds in register 0xb2 and 0xb3 (pg 60 of spec sheet)
  2. unmask alarms in register 0xed (pg 84 of the spec sheet)
  3. read alarms in register 0x4B (pg 48 of the spec sheet)
  4. dynamically update the thresholds for libsensors based on VID input 
and settings in #1

I have tried to use the vccp_limit_type load-time parameter.  It should 
do this, but I get lost trying to figure out what it is actually doing.

It definately does work on item #4 and if I change the thresholds in 
registers 0xb2 and/or 0xb3, the thresholds displayed by sensors(1) 
change.  However, they do not match what is documented in the spec sheet.

On my box, registers 0xb2 and 0xb3 are 00 on startup.  Loading the 
driver makes no difference, so step #1 does not appear to be being done.

On my box, the register 0xed has the dynamic vccp limit masked out when 
the box boots up.  Loading the driver makes no difference, so step #2 
does not appear to be being done.

No matter what state is used for the vccp_limit_type load-time 
parameter, the alarms as displayes by sensors(1) are from the IN_7 and 
IN_8 voltage error bits.

Have I missed something??

Thanks for any input.

David

             reply	other threads:[~2005-05-19  6:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:25 David Knierim [this message]
2005-05-19  6:25 ` LM93 vccp_limit_type "relative" does not work Mark M. Hoffman
2005-05-19  6:25 ` David Knierim
2005-05-19  6:25 ` Mark M. Hoffman
2005-05-19  6:25 ` Mark M. Hoffman
2005-05-19  6:25 ` Mark M. Hoffman

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=416EDF3D.7090307@earthlink.net \
    --to=david_knierim@earthlink.net \
    --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.