I had a mail exchange with Mark D. Studebaker, one of the developers of
lm_sensors. 

The BP6 uses the winbond  w83782d Hardware Monitoring IC and the module in
lm_sensors  is for the w83781d chip . There are some differences
(if you are interested, go to the  winbond site: http://www.winbond.com.tw
and get the tech notes) between the two chips. To be able to control 
the pwm of fan2 on BP6 you have to add:

w83781d_write_value(client,W83781D_REG_PWMCLK12,0x19);
w83781d_write_value(client,W83781D_REG_BEEP_CONFIG, 0x85);

at the end of the w83781d_init_client() function in w83781d.c

(Thank you Mark!!!!)


The sensors.conf I use is:
Please note, I do not state that this file is correct, I think it is
correct, because  it gives me reasonable values. If there are errors,
please write me.

-------------------------- CUT HERE ----------------------------------

 Hardware sensors configuration file
# Version for ABIT BP6 Motherboard
# This configuration file will be used by all applications linked to 
# libsensors.

chip "w83782d-*" "w83783s-*" "w83627hf-*"

    label in0 "VCore 1"
    label in1 "VTT"
    label in2 "3V3"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "-12V"
    label in6 "-5V"
    label in7 "V5SB"
    label in8 "VCore 2"
    label temp1 "CPU1 C"
    label temp2 "CPU2 C"
    label temp3 "Sys C"
    label fan1  "Fan 1"
    label fan2  "Fan 2"
    label fan3  "Fan 3"

    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
    compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)


# set limits to  5% for the critical voltages
# set limits to 10% for the non-critical voltages
# set limits to 20% for the battery voltage

# CPU 1 Core Voltage 
    set in0_min vid * 0.95
    set in0_max vid * 1.05

# From Intel Celeron documents:  "VTT inpute (1.5 V) pins are used 
# to provide a AGTL+ termination voltage to the processor."
# It seems that VTT stands for Voltage Transient Tools.
# Min and Max Limits are taken from Celeron Voltages and Currents Specs.
    set in1_min 1.5 * 0.91
    set in1_max 1.5 * 1.091

    set in2_min 3.3 * 0.95
    set in2_max 3.3 * 1.05
    set in3_min 5.0 * 0.95
    set in3_max 5.0 * 1.05
    set in4_min 12 * 0.90
    set in4_max 12 * 1.10
    set in5_min -12 * 0.90
    set in5_max -12 * 1.10
    set in6_min -5 * 0.95
    set in6_max -5 * 1.05
    set in7_min 5 * 0.95
    set in7_max 5 * 1.05
# CPU 2 Core Voltage
    set in8_min vid*0.95
    set in8_max vid*1.05

# set up sensor types (thermistor is default)
# 1 = PII/Celeron Diode; 2 = 3904 transistor;
# 3435 = thermistor with Beta = 3435
# If temperature changes very little, try 1 or 2.
   set sensor1 3435
   set sensor2 3435
   set sensor3 3435

---------------------------- CUT HERE ----------------------------------

Bye,
Paolo Nenzi

--
=-          To unsubscribe, email [EMAIL PROTECTED] with the       -=
=-                body of "unsubscribe linux-abit".                 -=

Reply via email to