Changeset 2790

Show
Ignore:
Timestamp:
12/07/04 22:24:21 (8 years ago)
Author:
mds
Message:

it87 doc cleanup

Location:
lm-sensors/trunk/doc/chips
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/doc/chips/SUMMARY

    r2762 r2790  
    107107it87 
    108108        (all are reported as an "it87") 
    109         it8705          3       8       3       -       yes     yes 
    110         it8712          3       8       3       -       yes     yes 
    111         sis950          3       8       3       -       yes     yes 
     109        it8705          3       8       3       3 pwm   yes     yes 
     110        it8712          3       8       3       3 pwm   yes     yes 
     111        sis950          3       8       3       3 pwm   yes     yes 
    112112 
    113113lm63 
  • lm-sensors/trunk/doc/chips/it87

    r2651 r2790  
    22====================== 
    33 
    4 Status: Beta 
     4Status: Complete, stable 
    55 
    66Supported chips: 
     
    4646  module load time, 0 to not reset the registers. Default is 0. 
    4747 
     48 
    4849Description 
    4950----------- 
     
    5859joysticks and other miscellaneous stuff. For hardware monitoring, 
    5960they include an 'environmnent controller' with 3 temperature sensors, 
    60 3 FAN rotation speed sensors, 8 voltage sensors, and associated alarms. 
     613 fan rotation speed sensors, 8 voltage sensors, and associated alarms. 
    6162 
    6263Temperatures are measured in degrees Celcius. An alarm is triggered once 
     
    6465as soon as it drops below the Hysteresis value. 
    6566 
    66 FAN rotation speeds are reported in RPM (rotations per minute). An alarm is 
    67 triggered if the rotation speed has dropped below a programmable limit. FAN  
     67Fan rotation speeds are reported in RPM (rotations per minute). An alarm is 
     68triggered if the rotation speed has dropped below a programmable limit. Fan  
    6869readings can be divided by a programmable divider (1, 2, 4 or 8) to give 
    69 the readings more range or accuracy. This is important because some FANs 
     70the readings more range or accuracy. This is important because some Fans 
    7071report only one 'tick' each rotation, while others report two - making 
    7172all readings twice as high. Not all RPM values can accurately be represented, 
     
    101102To configure this at startup, put the following lines in the it87 section 
    102103of /etc/sensors.conf. 
    103 2 = thermistor; 3 = thermal diode; 0 = unused 
    104            set sensor1 3 
    105            set sensor2 3 
    106            set sensor3 3 
     104(2 = thermistor; 3 = thermal diode; 0 = unused) 
     105        set sensor1 3 
     106        set sensor2 3 
     107        set sensor3 3 
     108 
    107109If you set a sensor to 0, you'll also want to ignore its value: 
    108            ignore tempN 
     110        ignore tempN 
    109111 
    110112The fan speed control features can be enabled by setting the bits 0-2 of 
    111113the fan_ctl register to 1. (Note: bits 6-4 of this register must be set to 
    1121141 to enable the fan monitoring). 
    113 0x40 : enable fan speed monitoring for fan3 
    114 0x20 : enable fan speed monitoring for fan2 
    115 0x10 : enable fan speed monitoring for fan1 
    116 0x04 : enable fan smart guardian mode for fan3 
    117 0x02 : enable fan smart guardian mode for fan2 
    118 0x01 : enable fan smart guardian mode for fan1 
    119 If a fans smart guardian bit is not set this fan is in on-off mode 
    120 it can be switched on or off by setting/clearing the corresponding bit 0-2 
     115        0x40 : enable fan speed monitoring for fan3 
     116        0x20 : enable fan speed monitoring for fan2 
     117        0x10 : enable fan speed monitoring for fan1 
     118        0x04 : enable fan smart guardian mode for fan3 
     119        0x02 : enable fan smart guardian mode for fan2 
     120        0x01 : enable fan smart guardian mode for fan1 
     121 
     122If a fan's smart guardian bit is not set this fan is in on-off mode. 
     123It can be switched on or off by setting/clearing the corresponding bit 0-2 
    121124of the second fan control register fan_on_off. This register has no effect if 
    122125a fan is in smart guardian mode. 
    123 0x04 : fan3 is on 
    124 0x02 : fan2 is on 
    125 0x01 : fan1 is on 
    126 Bit 7 of the pwm[1-3] registers enables/disables the chips automatic 
     126        0x04 : fan3 is on 
     127        0x02 : fan2 is on 
     128        0x01 : fan1 is on 
     129 
     130Bit 7 of the pwm[1-3] registers enables/disables the chip's automatic 
    127131temperature control mode for the specified fan. If Bit 7 is set the bits 
    1281321 and 0 encode the number of the temperature sensor used for this feature. 
    129133Possible register values are: 
    130 0x00-0x7f direct power control for the fan speed 
    131 0x80  automatic smart guardian mode use temperatur sensor 1, 
    132 0x81  automatic smart guardian mode use temperatur sensor 2, 
    133 0x82  automatic smart guardian mode use temperatur sensor 3 
     134        0x00-0x7f direct power control for the fan speed 
     135        0x80  automatic smart guardian mode use temperature sensor 1 
     136        0x81  automatic smart guardian mode use temperature sensor 2 
     137        0x82  automatic smart guardian mode use temperature sensor 3 
     138 
    134139In automatic smart guardian mode pwm values for low, medium and high speed 
    135140can be set in sg_pwm[1-3]. The temperature limits for fan off, low, medium, 
    136 hi speed and over temperature are set in sg_tl[1-3]. While the sensors 
     141hi speed and over temperature are set in sg_tl[1-3]. While the sensor's 
    137142temperature is between the low and medium speed value the fan will run in 
    138 low speed. When the sensors temperature is between the medium and high speed 
    139 value the fan spins in medium speed. When the sensors temperature is between 
     143low speed. When the sensor's temperature is between the medium and high speed 
     144value the fan spins in medium speed. When the sensor's temperature is between 
    140145the high speed and over temperature value the fan spins in high speed. 
    141 If the sensors temperature is higher than the over temperature limit the 
     146If the sensor's temperature is higher than the over temperature limit the 
    142147fan will spin with the highest possible speed. 
     148 
    143149Example: 
    144150The preconfigured (BIOS set) values of the Shuttle XPC SN41G2 Barebone. 
    145151The MB uses temp2 to monitor the CPU temperature and fan3 as the fan for their 
    146152special ICE heatpipe cooling system. 
    147 --- 
    148 $ cat fan_ctl 
    149 116 
    150 $ cat tan_on_off 
    151 215 
    152 $ cat pwm3 
    153 129 
    154 $ cat sg_tl3 
    155 16.0 16.0 48.0 54.0 58.0 
    156 $ cat sg_pwm3 
    157 3 4 9 
    158 --- 
     153        $ cat fan_ctl 
     154        116 
     155        $ cat tan_on_off 
     156        215 
     157        $ cat pwm3 
     158        129 
     159        $ cat sg_tl3 
     160        16.0 16.0 48.0 54.0 58.0 
     161        $ cat sg_pwm3 
     162        3 4 9 
     163 
    159164Explanation: 
    160 fan_ctl -> 116 = 0x74 = 01110100 : fan monitoring on for all fans, and fan3 is in smart guardian mode. 
    161 fan_on_off -> 215 = 0xd7 =11010111 : all fans are on this setting is ignored for fan3 which is in smart guardian mode 
    162 pwm3 -> 129 = 0x81 = 10000001 : fan3 is in automatic mode and uses temp2 for speed control 
    163 sg_tl3 -> 16.0 16.0 48.0 54.0 58.0 : off, low, med, high, and over temperature limits of fan3 
    164 sg_pwm3 -> 3 4 9 : pwm values for low, medium and high fan speed of fan3. 
     165        fan_ctl -> 116 = 0x74 = 01110100 : fan monitoring on for all fans, 
     166                and fan3 is in smart guardian mode. 
     167        fan_on_off -> 215 = 0xd7 =11010111 : all fans are on this setting is 
     168                ignored for fan3 which is in smart guardian mode 
     169        pwm3 -> 129 = 0x81 = 10000001 : fan3 is in automatic mode and uses 
     170                temp2 for speed control 
     171        sg_tl3 -> 16.0 16.0 48.0 54.0 58.0 : off, low, med, high, and 
     172                over temperature limits of fan3 
     173        sg_pwm3 -> 3 4 9 : pwm values for low, medium and high fan speed of fan3. 
     174 
     175 
    165176 
    166177Chip features