root/lm-sensors/trunk/doc/vid @ 2601

Revision 2601, 3.6 KB (checked in by mds, 9 years ago)

update for kernel 2.6, VRM version 10.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1VID pin settings
2--------------------
3
4The VID (Voltage Identification) pins on sensor chips
5are used to read the CPU Core voltage setting.
6
7The VID setting can be controlled by jumpers on the board,
8or, in newer motherboards, by settings in the BIOS.
9On these newer boards, the BIOS programs some device's
10pins which in turn controls a DC-DC Converter to set its
11output to a certain voltage. These pins are also connected to
12the sensor chip so that the VID setting can be read back
13by applications.
14
15There are generally 5 VID pins. Recent motherboards may use 6 pins.
16The VID codes are defined by Intel in documents titled
17"VRM X.X DC-DC Converter Design Guidelines".
18(VRM = Voltage Regulator Module), or
19"Voltage Regulator-Down (VRD) 10.0 Design Guide".
20These documents are available at http://developer.intel.com.
21
22There are several different VRM document versions.
23The common versions are as follows:
24
25Document Version        Voltage Range   Increment       Processors
26----------------        -------------   ---------       ----------
27"2.4"                   0.8 - 1.55      0.025V          AMD Opteron 24x
28
298.2 (8.1, 8.3)          1.30 - 2.05V    0.05V           PII, PIII, Celeron
30                        2.1 - 3.5V      0.10V
31
328.4                     1.30 - 2.05V    0.05V           PIII, Celeron
33                                                        4 pins only
34
358.5                     1.050 - 1.825V  0.05V           PIII-S Tualatin
36
379.0, (9.1)              1.100 - 1.850V  0.025V          P4, AMD Socket A
38
3910.0                    0.8375 - 1.6000 0.0125V         Desktop Socket 478
40
41
42"2.4" is not an actual document version but simply a way to identify
43AMD Opteron 24x processors.
44Note that versions 8.1 - 8.4 are compatible.
45
46lm_sensors versions through 2.6.3 support only the VRM 8.2 standard.
47
48Starting in lm_sensors 2.6.4 the VRM version is configurable.
49To configure the sensor chip for the correct voltage range,
50you must set the "vrm" correctly either via /proc, /sys,  or sensors.conf.
51
52To be compatible with previous lm_sensors versions, the vrm defaults
53to version 8.2. Generally, for recent motherboards, this will not
54be correct. Try 9.0 first.
55
56To change the vrm version to 9.0, for example, do the following
57after the chip module (in this example, w83781d) is loaded:
58
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
63
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):
66
67        set vrm 9.0
68
69and then, after the chip module is loaded, do:
70
71        sensors -s
72
73After this, reading the vid either by
74
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
79
80or by
81
82        sensors
83
84should show the new vid value.
85
86
87The following values are legal vrm values. Other values will be
88allowed but will result in using the 8.2 standard.
89
90        2.4, 8.1-8.5, 9.0, 9.1, 10.0
91
92
93Remember, the VID pins on the sensor chips are inputs only.
94That means they can't be changed and there shouldn't be
95any problems if you experiment with the vrm values until you
96get it right. You cannot manipulate the actual processor core
97voltage through lm_sensors drivers.
98
99Not all sensor chips have VID inputs.
100For those that do, the VRM support status is listed below.
101
102The following chip drivers support all the VRM versions via
103/etc/sensors.conf and the vrm entry in /proc or /sys:
104
105        adm1025, adm1026, asb100, lm85, lm87,
106        vt1211, vt8231, w83627hf, w83781d
107
108
109The following chip drivers support only VRM 8.2 and cannot be changed:
110
111        adm1024, it87, mtp008
112        adm9240, gl520sm, lm78, maxilife
113
114If you have a board with one of these chips which needs advanced
115VRM support please email us.
116
117------------------
118Copyright (c) 2002-2004 Mark D. Studebaker
Note: See TracBrowser for help on using the browser.