Changeset 2601

Show
Ignore:
Timestamp:
06/19/04 20:44:28 (9 years ago)
Author:
mds
Message:

update for kernel 2.6, VRM version 10.0

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/doc/vid

    r1738 r2601  
    1313by applications. 
    1414 
    15 There are generally 5 VID pins. The VID codes are defined 
    16 by Intel in documents titled 
     15There are generally 5 VID pins. Recent motherboards may use 6 pins. 
     16The VID codes are defined by Intel in documents titled 
    1717"VRM X.X DC-DC Converter Design Guidelines". 
    18 (VRM = Voltage Regulator Module) 
     18(VRM = Voltage Regulator Module), or 
     19"Voltage Regulator-Down (VRD) 10.0 Design Guide". 
    1920These documents are available at http://developer.intel.com. 
    2021 
     
    36379.0, (9.1)              1.100 - 1.850V  0.025V          P4, AMD Socket A 
    3738 
     3910.0                    0.8375 - 1.6000 0.0125V         Desktop Socket 478 
     40 
    3841 
    3942"2.4" is not an actual document version but simply a way to identify 
     
    4548Starting in lm_sensors 2.6.4 the VRM version is configurable. 
    4649To configure the sensor chip for the correct voltage range, 
    47 you must set the "vrm" correctly either via /proc or sensors.conf. 
     50you must set the "vrm" correctly either via /proc, /sys, or sensors.conf. 
    4851 
    4952To be compatible with previous lm_sensors versions, the vrm defaults 
    50 to version 8.2. 
     53to version 8.2. Generally, for recent motherboards, this will not 
     54be correct. Try 9.0 first. 
    5155 
    5256To change the vrm version to 9.0, for example, do the following 
    5357after the chip module (in this example, w83781d) is loaded: 
    5458 
    55         echo 9.0 > /proc/sys/dev/sensors/w83781d-isa-0290/vrm 
     59        (kernel 2.4) 
     60            echo 9.0 > /proc/sys/dev/sensors/w83781d-isa-0290/vrm 
     61        (kernel 2.6) 
     62            echo 90 > /sys/bus/i2c/devices/0-0290/vrm 
    5663 
    57 Alternatively, add a line in /etc/sensors.conf in the w83781d section: 
     64Alternatively, add a line in /etc/sensors.conf in the w83781d section 
     65(you should put this line BEFORE any line that uses vid in a calculation): 
    5866 
    5967        set vrm 9.0 
     
    6573After this, reading the vid either by 
    6674 
    67         cat /proc/sys/dev/sensors/w83781d-isa-0290/vid 
     75        (kernel 2.4) 
     76            cat /proc/sys/dev/sensors/w83781d-isa-0290/vid 
     77        (kernel 2.6 - divide the output by 1000) 
     78            cat /sys/bus/i2c/devices/0-0290/in0_ref 
    6879 
    6980or by 
     
    7485 
    7586 
    76 The following values are legal vrm values: 
     87The following values are legal vrm values. Other values will be 
     88allowed but will result in using the 8.2 standard. 
    7789 
    78         8.2, 8.4, 8.5, 9.0 
     90        2.4, 8.1-8.5, 9.0, 9.1, 10.0 
    7991 
    8092 
     
    8294That means they can't be changed and there shouldn't be 
    8395any problems if you experiment with the vrm values until you 
    84 get it right. 
    85  
     96get it right. You cannot manipulate the actual processor core 
     97voltage through lm_sensors drivers. 
    8698 
    8799Not all sensor chips have VID inputs. 
     
    89101 
    90102The following chip drivers support all the VRM versions via 
    91 /etc/sensors.conf and the vrm entry in /proc: 
     103/etc/sensors.conf and the vrm entry in /proc or /sys: 
    92104 
    93         adm1025, w83781d, lm87 
     105        adm1025, adm1026, asb100, lm85, lm87, 
     106        vt1211, vt8231, w83627hf, w83781d 
    94107 
    95108 
     
    101114If you have a board with one of these chips which needs advanced 
    102115VRM support please email us. 
     116 
     117------------------ 
     118Copyright (c) 2002-2004 Mark D. Studebaker