root/lm-sensors/branches/lm-sensors-2.10/doc/chips/mtp008

Revision 3075, 2.5 KB (checked in by khali, 6 years ago)

Drop all references to the old mailing list.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1Kernel driver `mtp008.o'
2=========================
3
4Status: Complete; Beta.
5        This chip is quite configurable and many settings cannot
6        be done through the driver. Hopefully the BIOS settings will
7        be correct for most motherboards.
8
9Supported chips:
10  * Myson MTP008
11    Prefix: 'mtp008'
12    Addresses scanned: I2C 0x2c - 0x2e
13    Datasheet: Publicly available at the Myson website
14
15Author: Kris Van Hees <aedil@alchar.org>
16
17
18Description
19-----------
20
21The Myson MTP008 is similar in function to the Winbond W83781D and the
22National Semi LM78. See documentation for those chips for an overview.
23
24
25The MTP008 chip has several pins that are configurable.
26
27The three temperature sensors are configurable via the driver
28using either the /proc entries or 'set sensorx y' statements in
29/etc/sensors.conf.
30One temperature input is always temp1, and the sensor type is configured
31with the sensor1 entry in /proc.
32One input is either in4 or temp2, and is configured with the sensor2 entry.
33One input is either in5 or temp3, and is configured with the sensor3 entry.
34
35For example, on the Tyan S1824D motherboard,
36AIN4 is configured as PII temp sensor 2 and
37AIN5 is hooked up to the -12V sensing circuit.
38
39Other Tyan motherboards (the 2510 Thunder and the Tiger 200) appear to
40have different configurations.
41
42For the 2510, which has two MTP008 chips, each with a different
43configuration, follow the instructions in the mtp008 section of
44etc/sensors.conf.eg to configure 'sensors' correctly.
45
46The PWM outputs are configurable via the driver.
47PWM values are from 0 to 255. The first value in the /proc entry is
48the pwm value; the second is the enable (0 or 1).
49
50The fan3 and pwm1 functions share a pin.
51If pwm1 is enabled than fan3 will read as 0.
52
53The Fan input types (2 wire or 3 wire) are configurable but
54not via the driver.
55
56The driver now preserves pin settings that the BIOS configures.
57If your BIOS did it right then the driver should work great.
58
59The MTP008 has sensor type selection in /proc like the Winbond W83782D.
60However, the appropriate values used to make the selection are different.
61
62To select a sensor type, echo the value to the /proc entry, for example:
63        echo 1 > /proc/sys/dev/sensors/mtp008-i2c-0-2d/sensor1
64Or, use /etc/sensors.conf and add a line 'set sensor1 1', for example.
65Hopefully the BIOS has set these already.
66
67Sensor selection is as follows:
68
69      Value     Function                                        Valid on sensors
70      -----     --------                                        ----------------
71        1       Analog input (not for temperature sensing)      2,3
72        2       Thermistor                                      1,2,3
73        3       Pentium diode                                   1,2
Note: See TracBrowser for help on using the browser.