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

Revision 1738, 2.8 KB (checked in by mds, 10 years ago)

add support for AMD Opteron VID encoding

patch from Philip Pokorny

  • 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. The VID codes are defined
16by Intel in documents titled
17"VRM X.X DC-DC Converter Design Guidelines".
18(VRM = Voltage Regulator Module)
19These documents are available at http://developer.intel.com.
20
21There are several different VRM document versions.
22The common versions are as follows:
23
24Document Version        Voltage Range   Increment       Processors
25----------------        -------------   ---------       ----------
26"2.4"                   0.8 - 1.55      0.025V          AMD Opteron 24x
27
288.2 (8.1, 8.3)          1.30 - 2.05V    0.05V           PII, PIII, Celeron
29                        2.1 - 3.5V      0.10V
30
318.4                     1.30 - 2.05V    0.05V           PIII, Celeron
32                                                        4 pins only
33
348.5                     1.050 - 1.825V  0.05V           PIII-S Tualatin
35
369.0, (9.1)              1.100 - 1.850V  0.025V          P4, AMD Socket A
37
38
39"2.4" is not an actual document version but simply a way to identify
40AMD Opteron 24x processors.
41Note that versions 8.1 - 8.4 are compatible.
42
43lm_sensors versions through 2.6.3 support only the VRM 8.2 standard.
44
45Starting in lm_sensors 2.6.4 the VRM version is configurable.
46To configure the sensor chip for the correct voltage range,
47you must set the "vrm" correctly either via /proc or sensors.conf.
48
49To be compatible with previous lm_sensors versions, the vrm defaults
50to version 8.2.
51
52To change the vrm version to 9.0, for example, do the following
53after the chip module (in this example, w83781d) is loaded:
54
55        echo 9.0 > /proc/sys/dev/sensors/w83781d-isa-0290/vrm
56
57Alternatively, add a line in /etc/sensors.conf in the w83781d section:
58
59        set vrm 9.0
60
61and then, after the chip module is loaded, do:
62
63        sensors -s
64
65After this, reading the vid either by
66
67        cat /proc/sys/dev/sensors/w83781d-isa-0290/vid
68
69or by
70
71        sensors
72
73should show the new vid value.
74
75
76The following values are legal vrm values:
77
78        8.2, 8.4, 8.5, 9.0
79
80
81Remember, the VID pins on the sensor chips are inputs only.
82That means they can't be changed and there shouldn't be
83any problems if you experiment with the vrm values until you
84get it right.
85
86
87Not all sensor chips have VID inputs.
88For those that do, the VRM support status is listed below.
89
90The following chip drivers support all the VRM versions via
91/etc/sensors.conf and the vrm entry in /proc:
92
93        adm1025, w83781d, lm87
94
95
96The following chip drivers support only VRM 8.2 and cannot be changed:
97
98        adm1024, it87, mtp008
99        adm9240, gl520sm, lm78, maxilife
100
101If you have a board with one of these chips which needs advanced
102VRM support please email us.
Note: See TracBrowser for help on using the browser.