root/lm-sensors/trunk/doc/chips/w83781d @ 601

Revision 601, 30.8 KB (checked in by mds, 14 years ago)

(mds) add support for beep3 register in 782d/783s/627hf.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1Kernel driver `w83781d.o'
2=========================
3
4Status: W83781D support is complete and well-tested, others are mostly complete
5        and somewhat tested.
6
7Supported chips:
8  * Winbond W83781D
9    Prefix 'w83781d'
10    Addresses scanned: I2C 0x20 - 0x2f (inclusive), ISA 0x290 (8 I/O ports)
11    Datasheet: Publicly available at the Winbond website
12  * Winbond W83782D
13    Prefix 'w83782d'
14    Addresses scanned: I2C 0x20 - 0x2f (inclusive), ISA 0x290 (8 I/O ports)
15    Datasheet: Publicly available at the Winbond website
16  * Winbond W83783S
17    Prefix 'w83783s'
18    Addresses scanned: I2C 0x20 - 0x2f (inclusive)
19    Datasheet: Publicly available at the Winbond website
20  * Winbond W83627HF
21    Prefix 'w83627hf'
22    Addresses scanned: I2C 0x20 - 0x2f (inclusive), ISA 0x290 (8 I/O ports)
23    Datasheet: Available on request from Winbond
24
25
26Author: Frodo Looijaard <frodol@dds.nl>, Philip Edelbrock <phil@netroedge.com>,
27        and Mark Studebaker <mds@eng.paradyne.com>
28
29
30Module Parameters
31-----------------
32
33* force: short array (min = 1, max = 48)
34  List of adapter,address pairs to boldly assume to be present
35* force_w83781d: short array (min = 1, max = 48)
36  List of adapter,address pairs which are unquestionably assumed to contain
37  a `w83781d' chip
38* force_w83782d: short array (min = 1, max = 48)
39  List of adapter,address pairs which are unquestionably assumed to contain
40  a `w83782d' chip
41* force_w83783s: short array (min = 1, max = 48)
42  List of adapter,address pairs which are unquestionably assumed to contain
43  a `w83783s' chip
44* ignore: short array (min = 1, max = 48)
45  List of adapter,address pairs not to scan
46* ignore_range: short array (min = 1, max = 48)
47  List of adapter,start-addr,end-addr triples not to scan
48* probe: short array (min = 1, max = 48)
49  List of adapter,address pairs to scan additionally
50* probe_range: short array (min = 1, max = 48)
51  List of adapter,start-addr,end-addr triples to scan additionally
52
53
54Description
55-----------
56
57This driver implements support for the Winbond W83781D, W83782D,
58W8783S, and W83627HF chips.
59We will refer to them collectively as W8378* chips.
60
61There is quite some difference between these chips, but they are similar
62enough that it was sensible to put them together in one driver.
63The W83627HF chip is assumed to be identical to the W83782D.
64
65Detection of these chips can sometimes be foiled because they can be in
66an internal state that allows no clean access. If you know the address
67of the chip, use a 'force' parameter; this will put them into a more
68well-behaved state first.
69
70The W8378* implements temperature sensors (three on the W83781D and W83782D,
71two on the W83783S), three FAN rotation speed sensors, voltage sensors
72(seven on the W83781D, nine on the W83782D and six on the W83783S), VID
73lines, alarms with beep warnings, and some miscellaneous stuff.
74
75Temperatures are measured in degrees Celcius. There is always one main
76temperature sensor, and one (W83783S) or two (W83781D and W83782D) other
77sensors.  An alarm is triggered for the main sensor once when the
78Overtemperature Shutdown limit is crossed; it is triggered again as soon as
79it drops below the Hysteresis value. A more useful behaviour
80can be found by setting the Hysteresis value to +127 degrees Celcius; in
81this case, alarms are issued during all the time when the actual temperature
82is above the Overtemperature Shutdown value. For the other sensor(s), an
83alarm is triggered when the temperature gets higher then the Overtemperature
84Shutdown value; it stays on until the temperature falls below the Hysteresis
85value. But on the W83781D, there is only one alarm that functions for both
86other sensors!  Temperatures are guaranteed within a range of -55 to +125
87degrees. The main temperature sensors has a resolution of 1 degree; the other
88sensor(s) of 0.5 degree.
89
90FAN rotation speeds are reported in RPM (rotations per minute). An alarm is
91triggered if the rotation speed has dropped below a programmable limit. FAN
92readings can be divided by a programmable divider (1, 2, 4 or 8 for the
93W83781D; 1, 2, 4, 8, 16, 32, 64 or 128 for the W83782D and W83783S) to give
94the readings more range or accuracy. This is important because some FANs
95report only one 'tick' each rotation, while others report two - making
96all readings twice as high. Not all RPM values can accurately be represented,
97so some rounding is done. With a divider of 2, the lowest representable
98value is around 2600 RPM.
99
100Voltage sensors (also known as IN sensors) report their values in volts.
101An alarm is triggered if the voltage has crossed a programmable minimum
102or maximum limit. Note that minimum in this case always means 'closest to
103zero'; this is important for negative voltage measurements. All voltage
104inputs can measure voltages between 0 and 4.08 volts, with a resolution
105of 0.016 volt.
106
107The VID lines encode the core voltage value: the voltage level your processor
108should work with. This is hardcoded by the mainboard and/or processor itself.
109It is a value in volts. When it is unconnected, you will often find the
110value 3.50 V here.
111
112The W83782D and W83783S temperature conversion machine understands about
113several kinds of temperature probes. You can program the so-called
114beta value in the sensor files. '1' is the PII/Celeron diode, '2' is the
115TN3904 transistor, and 3435 the default thermistor value. Other values
116are (not yet) supported. You can program your own values through the
117rt interface, but this is not very useful, because these tables are
118under NDA.
119
120In addition to the alarms described above, there is a CHAS alarm on the
121W83781D and W83782D which triggers if your computer case is open.
122
123When an alarm goes off, you can be warned by a beeping signal through
124your computer speaker. It is possible to enable all beeping globally,
125or only the beeping for some alarms.
126
127If an alarm triggers, it will remain triggered until the hardware register
128is read at least once. This means that the cause for the alarm may
129already have disappeared!  Note that in the current implementation, all
130hardware registers are read whenever any data is read (unless it is less
131than 1.5 seconds since the last update). This means that you can easily
132miss once-only alarms.
133
134The W8378* only updates its values each 1.5 seconds; reading it more often
135will do no harm, but will return 'old' values.
136
137
138Chip Features
139-------------
140
141Chip `w83781d'
142             LABEL        LABEL CLASS      COMPUTE CLASS ACCESS MAGNITUDE
143               in0               NONE               NONE     R     2
144               in1               NONE               NONE     R     2
145               in2               NONE               NONE     R     2
146               in3               NONE               NONE     R     2
147               in4               NONE               NONE     R     2
148               in5               NONE               NONE     R     2
149               in6               NONE               NONE     R     2
150           in0_min                in0                in0     RW    2
151           in1_min                in1                in1     RW    2
152           in2_min                in2                in2     RW    2
153           in3_min                in3                in3     RW    2
154           in4_min                in4                in4     RW    2
155           in5_min                in5                in5     RW    2
156           in6_min                in6                in6     RW    2
157           in0_max                in0                in0     RW    2
158           in1_max                in1                in1     RW    2
159           in2_max                in2                in2     RW    2
160           in3_max                in3                in3     RW    2
161           in4_max                in4                in4     RW    2
162           in5_max                in5                in5     RW    2
163           in6_max                in6                in6     RW    2
164              fan1               NONE               NONE     R     0
165              fan2               NONE               NONE     R     0
166              fan3               NONE               NONE     R     0
167          fan1_min               fan1               NONE     RW    0
168          fan2_min               fan2               NONE     RW    0
169          fan3_min               fan3               NONE     RW    0
170             temp1               NONE               NONE     R     1
171        temp1_hyst              temp1              temp1     RW    1
172        temp1_over              temp1              temp1     RW    1
173             temp2               NONE               NONE     R     1
174        temp2_hyst              temp2              temp2     RW    1
175        temp2_over              temp2              temp2     RW    1
176             temp3               NONE               NONE     R     1
177        temp3_hyst              temp3              temp3     RW    1
178        temp3_over              temp3              temp3     RW    1
179               vid               NONE               NONE     R     2
180          fan1_div               fan1               NONE     RW    0
181          fan2_div               fan2               NONE     RW    0
182          fan3_div               fan3               NONE     R     0
183            alarms               NONE               NONE     R     0
184       beep_enable             alarms               NONE     RW    0
185             beeps             alarms             alarms     RW    0
186
187             LABEL                          FEATURE SYMBOL        SYSCTL FILE:NR
188               in0                     SENSORS_W83781D_IN0                in0:3
189               in1                     SENSORS_W83781D_IN1                in1:3
190               in2                     SENSORS_W83781D_IN2                in2:3
191               in3                     SENSORS_W83781D_IN3                in3:3
192               in4                     SENSORS_W83781D_IN4                in4:3
193               in5                     SENSORS_W83781D_IN5                in5:3
194               in6                     SENSORS_W83781D_IN6                in6:3
195           in0_min                 SENSORS_W83781D_IN0_MIN                in0:1
196           in1_min                 SENSORS_W83781D_IN1_MIN                in1:1
197           in2_min                 SENSORS_W83781D_IN2_MIN                in2:1
198           in3_min                 SENSORS_W83781D_IN3_MIN                in3:1
199           in4_min                 SENSORS_W83781D_IN4_MIN                in4:1
200           in5_min                 SENSORS_W83781D_IN5_MIN                in5:1
201           in6_min                 SENSORS_W83781D_IN6_MIN                in6:1
202           in0_max                 SENSORS_W83781D_IN0_MAX                in0:2
203           in1_max                 SENSORS_W83781D_IN1_MAX                in1:2
204           in2_max                 SENSORS_W83781D_IN2_MAX                in2:2
205           in3_max                 SENSORS_W83781D_IN3_MAX                in3:2
206           in4_max                 SENSORS_W83781D_IN4_MAX                in4:2
207           in5_max                 SENSORS_W83781D_IN5_MAX                in5:2
208           in6_max                 SENSORS_W83781D_IN6_MAX                in6:2
209              fan1                    SENSORS_W83781D_FAN1               fan1:2
210              fan2                    SENSORS_W83781D_FAN2               fan2:2
211              fan3                    SENSORS_W83781D_FAN3               fan3:2
212          fan1_min                SENSORS_W83781D_FAN1_MIN               fan1:1
213          fan2_min                SENSORS_W83781D_FAN2_MIN               fan2:1
214          fan3_min                SENSORS_W83781D_FAN3_MIN               fan3:1
215             temp1                   SENSORS_W83781D_TEMP1              temp1:3
216        temp1_hyst              SENSORS_W83781D_TEMP1_HYST              temp1:2
217        temp1_over              SENSORS_W83781D_TEMP1_OVER              temp1:1
218             temp2                   SENSORS_W83781D_TEMP2              temp2:3
219        temp2_hyst              SENSORS_W83781D_TEMP2_HYST              temp2:2
220        temp2_over              SENSORS_W83781D_TEMP2_OVER              temp2:1
221             temp3                   SENSORS_W83781D_TEMP3              temp3:3
222        temp3_hyst              SENSORS_W83781D_TEMP3_HYST              temp3:2
223        temp3_over              SENSORS_W83781D_TEMP3_OVER              temp3:1
224               vid                     SENSORS_W83781D_VID                vid:1
225          fan1_div                SENSORS_W83781D_FAN1_DIV            fan_div:1
226          fan2_div                SENSORS_W83781D_FAN2_DIV            fan_div:2
227          fan3_div                SENSORS_W83781D_FAN3_DIV            fan_div:3
228            alarms                  SENSORS_W83781D_ALARMS             alarms:1
229       beep_enable             SENSORS_W83781D_BEEP_ENABLE               beep:1
230             beeps                   SENSORS_W83781D_BEEPS               beep:2
231
232
233Chip `w83782d'
234             LABEL        LABEL CLASS      COMPUTE CLASS ACCESS MAGNITUDE
235               in0               NONE               NONE     R     2
236               in1               NONE               NONE     R     2
237               in2               NONE               NONE     R     2
238               in3               NONE               NONE     R     2
239               in4               NONE               NONE     R     2
240               in5               NONE               NONE     R     2
241               in6               NONE               NONE     R     2
242               in7               NONE               NONE     R     2
243               in8               NONE               NONE     R     2
244           in0_min                in0                in0     RW    2
245           in1_min                in1                in1     RW    2
246           in2_min                in2                in2     RW    2
247           in3_min                in3                in3     RW    2
248           in4_min                in4                in4     RW    2
249           in5_min                in5                in5     RW    2
250           in6_min                in6                in6     RW    2
251           in7_min                in7                in7     RW    2
252           in8_min                in8                in8     RW    2
253           in0_max                in0                in0     RW    2
254           in1_max                in1                in1     RW    2
255           in2_max                in2                in2     RW    2
256           in3_max                in3                in3     RW    2
257           in4_max                in4                in4     RW    2
258           in5_max                in5                in5     RW    2
259           in6_max                in6                in6     RW    2
260           in7_max                in7                in7     RW    2
261           in8_max                in8                in8     RW    2
262              fan1               NONE               NONE     R     0
263              fan2               NONE               NONE     R     0
264              fan3               NONE               NONE     R     0
265          fan1_min               fan1               NONE     RW    0
266          fan2_min               fan2               NONE     RW    0
267          fan3_min               fan3               NONE     RW    0
268             temp1               NONE               NONE     R     1
269        temp1_hyst              temp1              temp1     RW    1
270        temp1_over              temp1              temp1     RW    1
271             temp2               NONE               NONE     R     1
272        temp2_hyst              temp2              temp2     RW    1
273        temp2_over              temp2              temp2     RW    1
274             temp3               NONE               NONE     R     1
275        temp3_hyst              temp3              temp3     RW    1
276        temp3_over              temp3              temp3     RW    1
277               vid               NONE               NONE     R     2
278          fan1_div               fan1               NONE     RW    0
279          fan2_div               fan2               NONE     RW    0
280          fan3_div               fan3               NONE     R     0
281            alarms               NONE               NONE     R     0
282       beep_enable             alarms               NONE     RW    0
283             beeps             alarms             alarms     RW    0
284           sensor1               NONE               NONE     RW    0
285           sensor2               NONE               NONE     RW    0
286           sensor3               NONE               NONE     RW    0
287
288             LABEL                          FEATURE SYMBOL        SYSCTL FILE:NR
289               in0                     SENSORS_W83782D_IN0                in0:3
290               in1                     SENSORS_W83782D_IN1                in1:3
291               in2                     SENSORS_W83782D_IN2                in2:3
292               in3                     SENSORS_W83782D_IN3                in3:3
293               in4                     SENSORS_W83782D_IN4                in4:3
294               in5                     SENSORS_W83782D_IN5                in5:3
295               in6                     SENSORS_W83782D_IN6                in6:3
296               in7                     SENSORS_W83782D_IN7                in7:3
297               in8                     SENSORS_W83782D_IN8                in8:3
298           in0_min                 SENSORS_W83782D_IN0_MIN                in0:1
299           in1_min                 SENSORS_W83782D_IN1_MIN                in1:1
300           in2_min                 SENSORS_W83782D_IN2_MIN                in2:1
301           in3_min                 SENSORS_W83782D_IN3_MIN                in3:1
302           in4_min                 SENSORS_W83782D_IN4_MIN                in4:1
303           in5_min                 SENSORS_W83782D_IN5_MIN                in5:1
304           in6_min                 SENSORS_W83782D_IN6_MIN                in6:1
305           in7_min                 SENSORS_W83782D_IN7_MIN                in7:1
306           in8_min                 SENSORS_W83782D_IN8_MIN                in8:1
307           in0_max                 SENSORS_W83782D_IN0_MAX                in0:2
308           in1_max                 SENSORS_W83782D_IN1_MAX                in1:2
309           in2_max                 SENSORS_W83782D_IN2_MAX                in2:2
310           in3_max                 SENSORS_W83782D_IN3_MAX                in3:2
311           in4_max                 SENSORS_W83782D_IN4_MAX                in4:2
312           in5_max                 SENSORS_W83782D_IN5_MAX                in5:2
313           in6_max                 SENSORS_W83782D_IN6_MAX                in6:2
314           in7_max                 SENSORS_W83782D_IN7_MAX                in7:2
315           in8_max                 SENSORS_W83782D_IN8_MAX                in8:2
316              fan1                    SENSORS_W83782D_FAN1               fan1:2
317              fan2                    SENSORS_W83782D_FAN2               fan2:2
318              fan3                    SENSORS_W83781D_FAN3               fan3:2
319          fan1_min                SENSORS_W83782D_FAN1_MIN               fan1:1
320          fan2_min                SENSORS_W83782D_FAN2_MIN               fan2:1
321          fan3_min                SENSORS_W83781D_FAN3_MIN               fan3:1
322             temp1                   SENSORS_W83782D_TEMP1              temp1:3
323        temp1_hyst              SENSORS_W83782D_TEMP1_HYST              temp1:2
324        temp1_over              SENSORS_W83782D_TEMP1_OVER              temp1:1
325             temp2                   SENSORS_W83782D_TEMP2              temp2:3
326        temp2_hyst              SENSORS_W83782D_TEMP2_HYST              temp2:2
327        temp2_over              SENSORS_W83782D_TEMP2_OVER              temp2:1
328             temp3                   SENSORS_W83782D_TEMP3              temp3:3
329        temp3_hyst              SENSORS_W83782D_TEMP3_HYST              temp3:2
330        temp3_over              SENSORS_W83782D_TEMP3_OVER              temp3:1
331               vid                     SENSORS_W83782D_VID                vid:1
332          fan1_div                SENSORS_W83782D_FAN1_DIV            fan_div:1
333          fan2_div                SENSORS_W83782D_FAN2_DIV            fan_div:2
334          fan3_div                SENSORS_W83781D_FAN3_DIV            fan_div:3
335            alarms                  SENSORS_W83782D_ALARMS             alarms:1
336       beep_enable             SENSORS_W83782D_BEEP_ENABLE               beep:1
337             beeps                   SENSORS_W83782D_BEEPS               beep:2
338           sensor1                   SENSORS_W83782D_SENS1            sensor1:1
339           sensor2                   SENSORS_W83782D_SENS2            sensor2:1
340           sensor3                   SENSORS_W83782D_SENS3            sensor3:1
341
342
343Chip `w83783s'
344             LABEL        LABEL CLASS      COMPUTE CLASS ACCESS MAGNITUDE
345               in0               NONE               NONE     R     2
346               in1               NONE               NONE     R     2
347               in2               NONE               NONE     R     2
348               in3               NONE               NONE     R     2
349               in4               NONE               NONE     R     2
350               in5               NONE               NONE     R     2
351               in6               NONE               NONE     R     2
352           in0_min                in0                in0     RW    2
353           in1_min                in1                in1     RW    2
354           in2_min                in2                in2     RW    2
355           in3_min                in3                in3     RW    2
356           in4_min                in4                in4     RW    2
357           in5_min                in5                in5     RW    2
358           in6_min                in6                in6     RW    2
359           in0_max                in0                in0     RW    2
360           in1_max                in1                in1     RW    2
361           in2_max                in2                in2     RW    2
362           in3_max                in3                in3     RW    2
363           in4_max                in4                in4     RW    2
364           in5_max                in5                in5     RW    2
365           in6_max                in6                in6     RW    2
366              fan1               NONE               NONE     R     0
367              fan2               NONE               NONE     R     0
368              fan3               NONE               NONE     R     0
369          fan1_min               fan1               NONE     RW    0
370          fan2_min               fan2               NONE     RW    0
371          fan3_min               fan3               NONE     RW    0
372             temp1               NONE               NONE     R     1
373        temp1_hyst              temp1              temp1     RW    1
374        temp1_over              temp1              temp1     RW    1
375             temp2               NONE               NONE     R     1
376        temp2_hyst              temp2              temp2     RW    1
377        temp2_over              temp2              temp2     RW    1
378               vid               NONE               NONE     R     2
379          fan1_div               fan1               NONE     RW    0
380          fan2_div               fan2               NONE     RW    0
381          fan3_div               fan3               NONE     R     0
382            alarms               NONE               NONE     R     0
383       beep_enable             alarms               NONE     RW    0
384             beeps             alarms             alarms     RW    0
385           sensor1               NONE               NONE     RW    0
386           sensor2               NONE               NONE     RW    0
387
388             LABEL                          FEATURE SYMBOL        SYSCTL FILE:NR
389               in0                     SENSORS_W83783S_IN0                in0:3
390               in1                     SENSORS_W83783S_IN1                in1:3
391               in2                     SENSORS_W83783S_IN2                in2:3
392               in3                     SENSORS_W83783S_IN3                in3:3
393               in4                     SENSORS_W83783S_IN4                in4:3
394               in5                     SENSORS_W83783S_IN5                in5:3
395               in6                     SENSORS_W83783S_IN6                in6:3
396           in0_min                 SENSORS_W83783S_IN0_MIN                in0:1
397           in1_min                 SENSORS_W83783S_IN1_MIN                in1:1
398           in2_min                 SENSORS_W83783S_IN2_MIN                in2:1
399           in3_min                 SENSORS_W83783S_IN3_MIN                in3:1
400           in4_min                 SENSORS_W83783S_IN4_MIN                in4:1
401           in5_min                 SENSORS_W83783S_IN5_MIN                in5:1
402           in6_min                 SENSORS_W83783S_IN6_MIN                in6:1
403           in0_max                 SENSORS_W83783S_IN0_MAX                in0:2
404           in1_max                 SENSORS_W83783S_IN1_MAX                in1:2
405           in2_max                 SENSORS_W83783S_IN2_MAX                in2:2
406           in3_max                 SENSORS_W83783S_IN3_MAX                in3:2
407           in4_max                 SENSORS_W83783S_IN4_MAX                in4:2
408           in5_max                 SENSORS_W83783S_IN5_MAX                in5:2
409           in6_max                 SENSORS_W83783S_IN6_MAX                in6:2
410              fan1                    SENSORS_W83783S_FAN1               fan1:2
411              fan2                    SENSORS_W83783S_FAN2               fan2:2
412              fan3                    SENSORS_W83783S_FAN3               fan3:2
413          fan1_min                SENSORS_W83783S_FAN1_MIN               fan1:1
414          fan2_min                SENSORS_W83783S_FAN2_MIN               fan2:1
415          fan3_min                SENSORS_W83783S_FAN3_MIN               fan3:1
416             temp1                   SENSORS_W83783S_TEMP1              temp1:3
417        temp1_hyst              SENSORS_W83783S_TEMP1_HYST              temp1:2
418        temp1_over              SENSORS_W83783S_TEMP1_OVER              temp1:1
419             temp2                   SENSORS_W83783S_TEMP2              temp2:3
420        temp2_hyst              SENSORS_W83783S_TEMP2_HYST              temp2:2
421        temp2_over              SENSORS_W83783S_TEMP2_OVER              temp2:1
422               vid                     SENSORS_W83783S_VID                vid:1
423          fan1_div                SENSORS_W83783S_FAN1_DIV            fan_div:1
424          fan2_div                SENSORS_W83783S_FAN2_DIV            fan_div:2
425          fan3_div                SENSORS_W83783S_FAN3_DIV            fan_div:3
426            alarms                  SENSORS_W83783S_ALARMS             alarms:1
427       beep_enable             SENSORS_W83783S_BEEP_ENABLE               beep:1
428             beeps                   SENSORS_W83783S_BEEPS               beep:2
429           sensor1                   SENSORS_W83783S_SENS1            sensor1:1
430           sensor2                   SENSORS_W83783S_SENS2            sensor2:1
431
432
433
434Old documentation
435-----------------
436
437
438Winbond 83781D driver
439---------------------
440Supports the following Winbond chips:
441
442Chip    #vin    #fanin  #pwm    #temp   wchipid i2c     ISA
443------------------------------------------------------------
444w83781d 7       3       0       3       0x10    yes     yes
445w83782d 9       3       2-4     3       0x30    yes     yes
446w83783s 5-6     3       2       1-2     0x40    yes     no
447
448
449Stability
450---------
451w83781d: tested, stable
452w83782d: beta tested, some minor bugs and things to do.
453w83783s: untested
454
455
456/PROC ENTRIES
457-------------
458Varies depending on chip type. Most are identical to the lm78 entries.
459See the lm78 documentation for details.
460
461Additional entries not in the lm78:
462
463        pwm[1-4]: (782d/783s only)
464          Controls the speed of the fans with PWM (Pulse Width Modulation)
465          Valid values:
466            0 - 255. 255 = max speed.
467
468        sensor[1-3]: (782d/783s only)
469          Controls the sensor type. To change to a different
470          sensor type, for example, do 'echo 2 > sensor1'.
471          Valid values:
472               1: Pentium II / Celeron diode
473               2: 2N3904 Transistor in a diode configuration
474            3435: Thermistor with Beta = 3435. Beta is a measure
475                  of sensitivity to temperature.
476          Thermistors with other Betas could in theory be supported
477          after correspondence with Winbond. See below.
478
479        rt[1-3]: (781d only)
480          32-byte tables controlling the conversion from
481          resistance to temperature for thermistors.
482          For the curious only. Writing to these entries will
483          probably render temperature sensing insane.
484          Only set at initialization; not updated every 1.5 seconds.
485
486
487The driver only updates its values each 1.5 seconds; reading it more often
488will do no harm, but will return 'old' values.
489
490
491TO DO:
492-----
493 782d programmable pins
494 783s temp2 (labeled as temp1 in data sheet) at different location
495      than 781d/782d, not implemented yet.
496
497
498NOTES:
499-----
500  783s has no in1 so that in[2-6] are compatible with the 781d/782d.
501
502  783s pin is programmable for -5V or temp1; defaults to -5V,
503       no control in driver so temp1 doesn't work.
504
505  782d and 783s datasheets differ on which is pwm1 and which is pwm2.
506       We chose to follow 782d.
507
508  782d and 783s pin is programmable for fan3 input or pwm2 output;
509       defaults to fan3 input.
510       no control in driver so pwm2 doesn't work.
511
512  782d has pwm1-2 for isa, pwm1-4 for i2c. (pwm3-4 share pins with
513       the isa pins)
514
515  781d allowable values for fan_div are 1,2,4,8.
516  782d/783s allowable values for fan_div are 1,2,4,8,16,32,64,128.
517
518
519
520Data sheet updates:
521------------------
522        - Mask off lower bit of all ID registers.
523
524        - PWM clock registers:
525
526                000: master /  512
527                001: master / 1024
528                010: master / 2048
529                011: master / 4096
530                100: master / 8192
531
532
533Answers from Winbond tech support
534---------------------------------
535>
536> 1) In the W83781D data sheet section 7.2 last paragraph, it talks about
537>    reprogramming the R-T table if the Beta of the thermistor is not
538>    3435K. The R-T table is described briefly in section 8.20.
539>    What formulas do I use to program a new R-T table for a given Beta?
540>
541        We are sorry that the calculation for R-T table value is
542confidential. If you have another Beta value of thermistor, we can help
543to calculate the R-T table for you. But you should give us real R-T
544Table which can be gotten by thermistor vendor. Therefore we will calculate
545them and obtain 32-byte data, and you can fill the 32-byte data to the
546register in Bank0.CR51 of W83781D.
547
548
549> 2) In the W83782D data sheet, it mentions that pins 38, 39, and 40 are
550>    programmable to be either thermistor or Pentium II diode inputs.
551>    How do I program them for diode inputs? I can't find any register
552>    to program these to be diode inputs.
553 --> You may program Bank0 CR[5Dh] and CR[59h] registers.
554 
555        CR[5Dh]                 bit 1(VTIN1)    bit 2(VTIN2)   bit 3(VTIN3)
556             
557        thermistor                0              0              0       
558        diode                     1              1              1               
559 
560 
561        CR[59h]                 bit 4(VTIN1)    bit 2(VTIN2)   bit 3(VTIN3)
562       
563        PII thermal diode         1              1              1
564        2N3904  diode             0              0              0
565 
566 
567Author/Maintainer
568-----------------
569Original 781D support: Frodo and Phil (lm78@stimpy.netroedge.com)
570782D/783S support added by: Mark D. Studebaker (mds@eng.paradyne.com)
571Send requests to the lm78@stimpy.netroedge.com mailing list.
Note: See TracBrowser for help on using the browser.