2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 22:05:11 +00:00
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1411 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
2002-06-30 21:12:33 +00:00
parent 28347b71b6
commit 8c8d844005
3 changed files with 82 additions and 0 deletions

View File

@@ -128,6 +128,10 @@ thmc50
via686a
via686a 3 5 2 - no yes
vt8231 3 5 2 - no yes
vt1211
vt1211 2-7 2-7 2 2 no yes (LPC)
w83781d
as99127f 3 7 3 2 pwm? yes no

View File

@@ -50,3 +50,8 @@ already have disappeared! Note that in the current implementation, all
hardware registers are read whenever any data is read (unless it is less
than 1.5 seconds since the last update). This means that you can easily
miss once-only alarms.
**********************
The lm_sensors project gratefully acknowledges the support of
Intel in the development of this driver.

73
doc/chips/vt1211 Normal file
View File

@@ -0,0 +1,73 @@
Kernel driver `vt1211.o'
=========================
Status: Beta.
Supported chips:
* Via VT1211 Super I/O Controller
Addresses scanned: none, address read from Super I/O config space
Authors: Mark D. Studebaker <mdsxyz123@yahoo.com>
Module Parameters
-----------------
force_addr=0xaddr Set the I/O base address. Useful for boards
that don't set the address in the BIOS.
Don't use this unless the driver complains that the
base address is not set.
Example: 'modprobe vt1211 force_addr=0x680'
Description
-----------
The Via VT1211 Super I/O chip
contains voltage/temperature monitoring and
PWM control circuitry for two fans.
We define the sensors as follows. Somewhat convoluted to minimize
changes from via686a.
Sensor Voltage Mode Temp Mode uch_config bit
-------- ------------ --------- --------------
Reading 1 temp3
Reading 3 temp1
UCH1/Reading2 in0 temp2 0x04
UCH2 in1 temp4 0x08
UCH3 in2 temp5 0x10
UCH4 in3 temp6 0x20
UCH5 in4 temp7 0x40
3.3V in5
-12V in6
As noted above, 5 of the sensors are "universal channels" and can
be set for either voltage or temperature.
Set the uch_config bit (in /proc) to 0 for voltage and 1 for temperature.
Voltages will read 0 if set for temperature.
Temperatures will read a really low number if set for voltage.
FAN rotation speeds are reported in RPM (rotations per minute). An alarm is
triggered if the rotation speed has dropped below a programmable limit. FAN
readings can be divided by a programmable divider (1, 2, 4 or 8) to give
the readings more range or accuracy. This is important because some FANs
report only one 'tick' each rotation, while others report two - making
all readings twice as high. Not all RPM values can accurately be represented,
so some rounding is done. With a divider of 2, the lowest representable
value is around 2600 RPM.
PWM values are from 0 to 100%. The first value in the /proc entry is
the percentage; the second is the enable (0 or 1).
If an alarm triggers, it will remain triggered until the hardware register
is read at least once. This means that the cause for the alarm may
already have disappeared! Note that in the current implementation, all
hardware registers are read whenever any data is read (unless it is less
than 1.5 seconds since the last update). This means that you can easily
miss once-only alarms.
**********************
The lm_sensors project gratefully acknowledges the support of
Via in the development of this driver.