root/lm-sensors/branches/lm-sensors-2.10/doc/vid

Revision 5625, 3.8 KB (checked in by khali, 3 years ago)

Don't tell users to ask for support, this branch is in maintenance
mode. Also let the users know that VRM selection is now automatic.

  • 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
52Since Linux 2.6.9, the correct VRM version is selected automatically
53based on the CPU brand and model. For older kernels, you must set the
54correct VRM version yourself.
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 up to 2.6.13)
62            echo 90 > /sys/bus/i2c/devices/0-0290/vrm
63        (kernel 2.6.14 and later)
64            echo 90 > /sys/class/hwmon/hwmon0/device/vrm
65
66Alternatively, add a line in /etc/sensors.conf in the w83781d section
67(you should put this line BEFORE any line that uses vid in a calculation):
68
69        set vrm 9.0
70
71and then, after the chip module is loaded, do:
72
73        sensors -s
74
75After this, reading the vid either by
76
77        (kernel 2.4)
78            cat /proc/sys/dev/sensors/w83781d-isa-0290/vid
79        (kernel 2.6 up to 2.6.13 - divide the output by 1000)
80            cat /sys/bus/i2c/devices/0-0290/cpu0_vid
81        (kernel 2.6.14 and later - divide the output by 1000)
82            cat /sys/class/hwmon/hwmon0/device/cpu0_vid
83
84or by
85
86        sensors
87
88should show the new vid value.
89
90
91The following values are legal vrm values. Other values will be
92allowed but will result in using the 8.2 standard.
93
94        2.4, 8.1-8.5, 9.0, 9.1, 10.0
95
96
97Remember, the VID pins on the sensor chips are inputs only.
98That means they can't be changed and there shouldn't be
99any problems if you experiment with the vrm values until you
100get it right. You cannot manipulate the actual processor core
101voltage through lm_sensors drivers.
102
103Not all sensor chips have VID inputs.
104For those that do, the VRM support status is listed below.
105
106The following chip drivers support all the VRM versions via
107/etc/sensors.conf and the vrm entry in /proc or /sys:
108
109        adm1025, adm1026, asb100, lm85, lm87, pc87360,
110        vt1211, vt8231, w83627ehf, w83627hf, w83781d, w83792d
111
112
113The following chip drivers support only VRM 8.2 and cannot be changed:
114
115        adm1024, it87, mtp008, adm9240, gl520sm, lm78
116
117The following chip drivers support only VRM 10.0 and cannot be changed:
118
119        lm93
120
121------------------
122Copyright (c) 2002-2004 Mark D. Studebaker
Note: See TracBrowser for help on using the browser.