All of lore.kernel.org
 help / color / mirror / Atom feed
* LM93 vccp_limit_type "relative" does not work
@ 2005-05-19  6:25 David Knierim
  2005-05-19  6:25 ` Mark M. Hoffman
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: David Knierim @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-05-19  6:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  6:25 LM93 vccp_limit_type "relative" does not work David Knierim
2005-05-19  6:25 ` 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

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.