mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-29 21:08:19 +00:00
Update doc about preserving mtp008 pin configuration.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1033 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
db52f427a6
commit
a732171e1d
1 file changed
+21
-11
+21
-11
@@ -2,6 +2,9 @@ Kernel driver `mtp008.o'
|
||||
=========================
|
||||
|
||||
Status: Complete; Alpha.
|
||||
This chip is quite configurable and many settings cannot
|
||||
be done through the driver. Hopefully the BIOS settings will
|
||||
be correct for most motherboards.
|
||||
|
||||
Supported chips:
|
||||
* Myson MTP008
|
||||
@@ -19,30 +22,37 @@ The Myson MTP008 is similar in function to the Winbond W83781D and the
|
||||
National Semi LM78. See documentation for those chips for an overview.
|
||||
|
||||
|
||||
The MTP008 chip has three inputs that are configurable.
|
||||
One input is always temp1, and the sensor type is configured with the sensor1 entry.
|
||||
The MTP008 chip has several pins that are configurable.
|
||||
|
||||
The three temperature sensors are configurable via the driver
|
||||
using either the /proc entries or 'set sensorx y' statements in
|
||||
/etc/sensors.conf.
|
||||
One temperature input is always temp1, and the sensor type is configured
|
||||
with the sensor1 entry in /proc.
|
||||
One input is either in4 or temp2, and is configured with the sensor2 entry.
|
||||
One input is either in5 or temp3, and is configured with the sensor3 entry.
|
||||
|
||||
We are making the initial assumption that
|
||||
AIN4 is to be configured as PII temp sensor 2.
|
||||
We are also making the assumption that
|
||||
For example, on the Tyan S1824D motherboard,
|
||||
AIN4 is configured as PII temp sensor 2 and
|
||||
AIN5 is hooked up to the -12V sensing circuit.
|
||||
This is the configuration on the Tyan S1824D motherboard.
|
||||
|
||||
Setting temp sensors 1 and 2 to be a PII sensors is done as follows:
|
||||
Other Tyan motherboards (the 2510 Thunder and the Tiger 200) appear to
|
||||
have different configurations.
|
||||
|
||||
Register 0x57: 0 0 0 0 1 1 0 0
|
||||
| \ / +-- AIN5/VT3 with AIN5
|
||||
| +----- AIN4/VT2/PII with PII
|
||||
+-------- VT1/PII with PII
|
||||
The PWM outputs are configurable but not via the driver.
|
||||
The Fan input types (2 wire or 3 wire) are configurable but
|
||||
not via the driver.
|
||||
|
||||
The driver now preserves pin settings that the BIOS configures.
|
||||
If your BIOS did it right then the driver should work great.
|
||||
|
||||
The MTP008 has sensor type selection in /proc like the Winbond W83782D.
|
||||
However, the appropriate values used to make the selection are different.
|
||||
|
||||
To select a sensor type, echo the value to the /proc entry, for example:
|
||||
echo 1 > /proc/sys/dev/sensors/mtp008-i2c-0-2d/sensor1
|
||||
Or, use /etc/sensors.conf and add a line 'set sensor1 1', for example.
|
||||
Hopefully the BIOS has set these already.
|
||||
|
||||
Sensor selection is as follows:
|
||||
|
||||
|
||||
Reference in new issue
Block a user