Subject: IT8712F output is bogus (was: CVS commit: src/sys/dev/isa)
To: None <current-users@NetBSD.org,>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: current-users
Date: 08/09/2007 18:07:19
Hi,

the new output doesn't look correct for a it8712f chip on a GA-K8NSC-939 board:

   CPU Temp:     25.000 degC
System Temp:     36.000 degC
   Aux Temp:      6.000 degC
    VCORE_A:      1.361 V
    VCORE_B:      2.593 V
      +3.3V:      3.345 V
        +5V:      2.663 V
       +12V:     12.228 V
       -12V:      8.931 V
        -5V:      8.163 V
    STANDBY:      4.141 V
       VBAT:      3.153 V
    CPU Fan:         15 RPM
 System Fan:        N/A
    Aux Fan:         39 RPM

This is the output with an older kernel:

    CPU Temp System Temp     VCORE_A       +3.3V         +5V        +12V        VBAT     CPU Fan   System Fan   
        degC        degC           V           V           V           V           V         RPM   RPM
       25.00       40.00        1.33        3.34        2.80       12.29        4.08        1147   0

And the CPU Fan was working because the value increased when the cpu had
something to do and the noise of the cpu fan increased.

Regards,
Bernd

On Thu, Jul 05, 2007 at 03:20:30PM +0000, Juan Romero Pardines wrote:
> 
> Module Name:	src
> Committed By:	xtraeme
> Date:		Thu Jul  5 15:20:30 UTC 2007
> 
> Modified Files:
> 	src/sys/dev/isa: it.c itvar.h
> 
> Log Message:
> Some changes:
> 
> - Add support for the IT8716F chip, patch from FUKUMOTO Atsushi via
>   PR port-i386/35796.
> - Enable the flag ENVSYS_FCHANGERFACT in voltage sensors, to be able to
>   increment the value returned by the driver via envstat(8).
> - Update VBAT sensor reading every time we read it, otherwise it will
>   always report the power on value.
> - Enable all sensors that were missing before: 3 Temp + 3 Fan + 9 Voltage.
> - Add new registers to set high/low limits in temperature/voltage sensors
>   (still unused).
> - Disable some sensors if they are reporting bogus data or simply they are
>   not connected.
> 
> Tested by wiz.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.10 -r1.11 src/sys/dev/isa/it.c
> cvs rdiff -r1.4 -r1.5 src/sys/dev/isa/itvar.h