Changeset 1588

Show
Ignore:
Timestamp:
11/08/02 13:06:53 (11 years ago)
Author:
khali
Message:

Add section for lm75 in sensors.conf.eg

Complete the lm78 section in sensors.conf.eg

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r1587 r1588  
    2727  File doc/chips/smartbatt: Complete rewrite 
    2828  File doc/chips/vt8231: Add license, parameters 
     29  File sensors.conf.eg: Add section for lm75; complete the lm78 section 
    2930  Library: Add support for MC1066; add multiple VRM version support for lm87; 
    3031           enhance adm1023 support 
    3132  Makefile: Take kernel source location from /lib/modules/x.x.x/build 
    3233  Module adm1021: Add support for MC1066 
    33   Module dmi_scan: Rename symbol duplicated in kernel; Apply fixes from 
     34  Module dmi_scan: Rename symbol duplicated in kernel; apply fixes from 
    3435                   kernel 2.5.43 
    3536  Module gl518sm: Iterate allowed only for rev 0x00 
  • lm-sensors/trunk/etc/sensors.conf.eg

    r1535 r1588  
    3232# CHIP LINES 
    3333# ---------- 
    34 # A 'chip' line specifies what the following 'label', 'compute', 'set' and  
     34# A 'chip' line specifies what the following 'label', 'compute', 'set' and 
    3535# 'ignore' lines refer to. In this case, until the 
    3636# next 'chip' line, everything refers to all lm78, lm78-j and lm79 
     
    8484#       label in5 "-12V" 
    8585#       label in6 "-5V" 
    86 #  
    87 #  
     86# 
     87# 
    8888# COMPUTE LINES 
    8989# ------------- 
     
    139139# 
    140140# On almost any mainboard we have seen, the Winbond compute values lead to 
    141 # much better results, though.  
     141# much better results, though. 
    142142# 
    143143#             Vs     R1,Rin   R2,Rf    Vin 
     
    167167#       set in0_max vid*1.05 
    168168#       set in0_min vid*0.95 
    169 #       set temp1_over 40        
    170 #       set temp1_hyst 37        
     169#       set temp1_over 40 
     170#       set temp1_hyst 37 
    171171# 
    172172# Think of tempx_over as 'alarm set' and tempx_hyst as 'alarm clear' 
     
    255255# 
    256256# On almost any mainboard we have seen, the Winbond compute values lead to 
    257 # much better results, though.  
     257# much better results, though. 
    258258# 
    259259#       Vs     R1,Rin   R2,Rf    Vin 
     
    286286    set in6_min -5 * 1.05 
    287287 
    288 # examples for lm78, lm78j, lm79 temperature limits; 
    289 #    set temp_over 40    
    290 #    set temp_hyst 37    
    291  
    292 # examples for w83781d temperature limits 
    293 #    set temp1_over 40   
    294 #    set temp1_hyst 37   
    295 #    set temp2_over 52   
    296 #    set temp2_hyst 47   
    297 #    set temp3_over 52   
    298 #    set temp3_hyst 47   
     288# Examples for lm78, lm78j, lm79 temperature limits 
     289#    set temp_over 40 
     290#    set temp_hyst 37 
     291 
     292# Examples for w83781d temperature limits 
     293#    set temp1_over 40 
     294#    set temp1_hyst 37 
     295#    set temp2_over 52 
     296#    set temp2_hyst 47 
     297#    set temp3_over 52 
     298#    set temp3_hyst 47 
     299 
     300# Ignore fans you don't actually have 
     301#    ignore fan1 
     302#    ignore fan2 
     303#    ignore fan3 
     304 
     305# In case a lm78 is used together with a lm75, the lm78 temp sensor will 
     306# generally show the M/B temperature while the lm75 temp sensor will show 
     307# the CPU temperature. 
     308#    label temp "M/B Temp" 
     309 
     310 
     311chip "lm75-*" 
     312 
     313# For the Asus TX97-E. If it doesn't work for you, feel free to complain. 
     314    compute temp @*2.0, @/2.0 
     315 
     316# Examples for temperature limits 
     317#    set temp_over 70    
     318#    set temp_hyst 65    
     319 
     320# In case a lm75 is used together with a lm78, the lm78 temp sensor will 
     321# generally show the M/B temperature while the lm75 temp sensor will show 
     322# the CPU temperature. 
     323#    label temp "CPU Temp" 
    299324 
    300325 
     
    352377# examples for sis5595 temperature limits; 
    353378# for sis5595, temp_hyst is really the low limit, not a hysteresis value 
    354 #    set temp_over 40    
    355 #    set temp_hyst 37    
     379#    set temp_over 40 
     380#    set temp_hyst 37 
    356381 
    357382chip "w83782d-*" "w83783s-*" "w83627hf-*" 
     
    414439 
    415440# examples for temperature limits 
    416 #    set temp1_over 40   
    417 #    set temp1_hyst 37   
    418 #    set temp2_over 52   
    419 #    set temp2_hyst 47   
    420 #    set temp3_over 52   
    421 #    set temp3_hyst 47   
     441#    set temp1_over 40 
     442#    set temp1_hyst 37 
     443#    set temp2_over 52 
     444#    set temp2_hyst 47 
     445#    set temp3_over 52 
     446#    set temp3_hyst 47 
    422447 
    423448 
     
    478503 
    479504# examples for temperature limits 
    480 #    set temp1_over 40   
    481 #    set temp1_hyst 37   
    482 #    set temp2_over 52   
    483 #    set temp2_hyst 47   
    484 #    set temp3_over 52   
    485 #    set temp3_hyst 47   
     505#    set temp1_over 40 
     506#    set temp1_hyst 37 
     507#    set temp2_over 52 
     508#    set temp2_hyst 47 
     509#    set temp3_over 52 
     510#    set temp3_hyst 47 
    486511 
    487512 
     
    535560 
    536561# examples for temperature limits 
    537 #    set temp1_over 40   
    538 #    set temp1_hyst 37   
    539 #    set temp2_over 52   
    540 #    set temp2_hyst 47   
    541 #    set temp3_over 52   
    542 #    set temp3_hyst 47   
     562#    set temp1_over 40 
     563#    set temp1_hyst 37 
     564#    set temp2_over 52 
     565#    set temp2_hyst 47 
     566#    set temp3_over 52 
     567#    set temp3_hyst 47 
    543568 
    544569 
     
    557582  label vin3 "Vcore" 
    558583 
    559 # vin2 depends on external resistors (4,7k and 15k assumed here)  
     584# vin2 depends on external resistors (4,7k and 15k assumed here) 
    560585# vin1 and vin3 require no scaling 
    561586 
     
    587612# vin1 and vin3 require no scaling 
    588613# vin2 depends on external resistors (4,7k and 15k assumed) 
    589   
     614 
    590615# vin4 = ((R1+R2)/R2)*@ - (R1/R2)*vdd 
    591616# 
    592 #       -12 --| R1 |---t---| R2 |-- +5  
     617#       -12 --| R1 |---t---| R2 |-- +5 
    593618#                      | 
    594619#                    vin4 
     
    610635 
    611636chip "lm80-*" 
    612      
     637 
    613638# The values below should be correct if you own a qdi BX (brilliant1) 
    614639# mainboard. If not, please contact us, so we can figure out better readings. 
     
    620645#   R1 = R2 * (Vs/Vin - 1) 
    621646# For negative voltages (in5, in6) two resistors are used, with the following 
    622 # formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage,  
     647# formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage, 
    623648# V5: +5V) 
    624 #   R3 = R4 * (Vs - Vin) / (Vin - V5)  
     649#   R3 = R4 * (Vs - Vin) / (Vin - V5) 
    625650 
    626651# Here are the official LM78 and LM79 data sheet values. 
     
    678703# the usual three. 
    679704#    set temp_hot_hyst 45 
    680 #    set temp_hot_max  52        
    681 #    set temp_os_hyst  57        
    682 #    set temp_os_max   62        
     705#    set temp_hot_max  52 
     706#    set temp_os_hyst  57 
     707#    set temp_os_max   62 
    683708 
    684709 
     
    689714   label fan3  "CPU Fan" 
    690715   ignore fan4 
    691     
     716 
    692717   label temp2 "PCI Temp" 
    693718   label temp4 "HDD Temp" 
     
    698723   ignore vid5 
    699724 
    700 # vid1 need to be scaled by 6.337 other voltages  
     725# vid1 need to be scaled by 6.337 other voltages 
    701726# require no scaling 
    702727 
     
    708733   ignore temp1 
    709734   label temp3  "BX Temp" 
    710     
     735 
    711736   label vid2   "Vcpu1" 
    712737   label vid3   "Vcpu2" 
     
    718743   label temp1  "CPU 1 Temp" 
    719744   label temp3  "CPU 2 Temp" 
    720     
     745 
    721746   label vid2   "Vcpu1" 
    722747   label vid3   "Vcpu2" 
     
    761786# how to convert any of the register values to real units.  Fortunately, 
    762787# Jonathan Yew <j.teh@iname.com> and Alex van Kaam <darkside@chello.nl> 
    763 # came through with some data for temp conversion and formulae for voltage  
    764 # conversion. However, the conversions should be regarded as our best guess-  
     788# came through with some data for temp conversion and formulae for voltage 
     789# conversion. However, the conversions should be regarded as our best guess- 
    765790# YMMV. 
    766791 
     
    768793# Linas Vepstas <linas@linas.org> reports that this sensor shows nothing of 
    769794# interest on the Abit KA7 (Athlon), and is also not displayed in the BIOS. 
    770 # Likewise, Johannes Drechsel-Burkhard <jdb@chello.at> reports that this  
    771 # sensor is unavailable in the BIOS of his MSI K7T Pro (Thunderbird).  So,  
    772 # if you have one of these boards you may want to uncomment the 'ignore 2.5V'  
     795# Likewise, Johannes Drechsel-Burkhard <jdb@chello.at> reports that this 
     796# sensor is unavailable in the BIOS of his MSI K7T Pro (Thunderbird).  So, 
     797# if you have one of these boards you may want to uncomment the 'ignore 2.5V' 
    773798# line below. 
    774799 
     
    785810# VIA suggests that temp3 is an internal temp sensor for the 686a.  However, 
    786811# on the Tyan S1598 as well as the Abit KA7 (Athalon), the absolute values 
    787 # of the readings from that sensor are not valid.  The readings do seem to  
    788 # correlate with temp changes, but the conversion factor may be quite  
     812# of the readings from that sensor are not valid.  The readings do seem to 
     813# correlate with temp changes, but the conversion factor may be quite 
    789814# different from temp1 & temp2 (as noted above, VIA has not provided 
    790 # conversion info).  So, you may wish to 'ignore temp3'.  
     815# conversion info).  So, you may wish to 'ignore temp3'. 
    791816 
    792817# Johannes Drechsel-Burkhard <jdb@chello.at> notes that on his MSI K7T Pro, 
    793 # temp1 is the CPU temp and temp2 is the SYS temp.   
     818# temp1 is the CPU temp and temp2 is the SYS temp. 
    794819 
    795820    label temp1 "SYS Temp" 
     
    798823    #ignore temp3 
    799824 
    800 # Set your CPU core limits here.  For the other voltage sensors, the  
     825# Set your CPU core limits here.  For the other voltage sensors, the 
    801826# built-in defaults should be fine. 
    802827 
     
    806831# Set your temp limits here.  Remember, 'tempX_over' is the temp at which an 
    807832# alarm is triggered, and 'tempX_hyst' is the temp at which an alarm turns off. 
    808 # Setting tempX_hyst to a few degrees below the corresponding tempX_over  
    809 # prevents an oscillation between alarm on and off states.  This kind of  
    810 # oscillation is known as hyteresis, thus the name.  (You typically get the  
    811 # most serious and troublesome hysteresis when a sensor triggers something to  
     833# Setting tempX_hyst to a few degrees below the corresponding tempX_over 
     834# prevents an oscillation between alarm on and off states.  This kind of 
     835# oscillation is known as hyteresis, thus the name.  (You typically get the 
     836# most serious and troublesome hysteresis when a sensor triggers something to 
    812837# reduce the temp, thus creating a negative feedback loop.  Even without that, 
    813 # we would still get some oscillation when the temp hovers around the limit  
    814 # due to noise.)    
     838# we would still get some oscillation when the temp hovers around the limit 
     839# due to noise.) 
    815840 
    816841    set temp1_hyst 40 
     
    827852 
    828853# For at least one Tyan S1598, the following corrections make the sensors 
    829 # readings more in-line with the BIOS readings on boot.  Try these, and  
    830 # adjust as necessary.  
     854# readings more in-line with the BIOS readings on boot.  Try these, and 
     855# adjust as necessary. 
    831856 
    832857  #compute "2.0V" 1.02*@ ,  @/1.02 
     
    837862 
    838863chip "mtp008-*" 
    839      
     864 
    840865# The values below should be correct if you own a Tyan S1834D motherboard. 
    841866# If not, please contact us, so we can figure out better readings. 
     
    876901 
    877902# examples for temperature limits 
    878 #    set temp1_over 40   
    879 #    set temp1_hyst 37   
    880 #    set temp2_over 52   
    881 #    set temp2_hyst 47   
    882 #    set temp3_over 52   
    883 #    set temp3_hyst 47   
     903#    set temp1_over 40 
     904#    set temp1_hyst 37 
     905#    set temp2_over 52 
     906#    set temp2_hyst 47 
     907#    set temp3_over 52 
     908#    set temp3_hyst 47 
    884909 
    885910# End of standard mtp008 configuration 
     
    927952#    ignore temp1 
    928953#    label temp2 "MB Temp" 
    929 #    set temp2_over 52   
    930 #    set temp2_hyst 47   
     954#    set temp2_over 52 
     955#    set temp2_hyst 47 
    931956#    ignore temp3 
    932957 
     
    12811306 
    12821307    label  fan1       "Fan1" 
    1283     ignore  fan2      
    1284     ignore  fan3     
     1308    ignore  fan2 
     1309    ignore  fan3 
    12851310 
    12861311# Voltage 
    1287   
     1312 
    12881313    label volt12      "+12V" 
    12891314    label volt5       "+5V" 
     
    13541379#                                                       1 for temp, 0 for volt. 
    13551380#       Sensor          Voltage Mode    Temp Mode       config bit 
    1356 #       --------        ------------    ---------       --------------   
     1381#       --------        ------------    ---------       -------------- 
    13571382#       Reading 1                       temp3 
    13581383#       UCH1/Reading2   in0             temp2           0x04 (4) 
     
    13651390# set uch1-2 to temp mode, uch3-5 to voltage mode 
    13661391# 
    1367     ignore temp1         
     1392    ignore temp1 
    13681393    ignore in6 
    13691394    set config 12 
    13701395    ignore in0 
    13711396    ignore in1 
    1372     ignore temp5         
    1373     ignore temp6         
    1374     ignore temp7         
     1397    ignore temp5 
     1398    ignore temp6 
     1399    ignore temp7 
    13751400# 
    13761401#   label in0 "unused" 
     
    13881413# 
    13891414#   All voltage calculations have the form 
    1390 #       ((@ * 100) - 3) / (K * 95.8), (@ * K * 0.958) + .03  
     1415#       ((@ * 100) - 3) / (K * 95.8), (@ * K * 0.958) + .03 
    13911416#   where K = R2 / (R1 + R2). 
    13921417#   Use the following K values based on input voltage. 
     
    14011426#       12.0                    0.1754 
    14021427# 
    1403 #   compute in0 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03  
    1404 #   compute in1 ((@ * 100) - 3) / (0.8333 * 95.8), (@ * 0.8333 * 0.958) + .03  
    1405     compute in2 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03  
    1406     compute in3 ((@ * 100) - 3) / (0.4167 * 95.8), (@ * 0.4167 * 0.958) + .03  
    1407     compute in4 ((@ * 100) - 3) / (0.1754 * 95.8), (@ * 0.1754 * 0.958) + .03  
    1408     compute in5 ((@ * 100) - 3) / (0.6296 * 95.8), (@ * 0.6296 * 0.958) + .03  
    1409 #   compute in6 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03  
     1428#   compute in0 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03 
     1429#   compute in1 ((@ * 100) - 3) / (0.8333 * 95.8), (@ * 0.8333 * 0.958) + .03 
     1430    compute in2 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03 
     1431    compute in3 ((@ * 100) - 3) / (0.4167 * 95.8), (@ * 0.4167 * 0.958) + .03 
     1432    compute in4 ((@ * 100) - 3) / (0.1754 * 95.8), (@ * 0.1754 * 0.958) + .03 
     1433    compute in5 ((@ * 100) - 3) / (0.6296 * 95.8), (@ * 0.6296 * 0.958) + .03 
     1434#   compute in6 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03 
    14101435 
    14111436    set vrm 9.1