xref: /openbsd/share/man/man4/viapm.4 (revision 5af055cd)
1.\"	$OpenBSD: viapm.4,v 1.11 2013/07/16 16:05:49 schwarze Exp $
2.\"
3.\" Copyright (c) 2006 Mark Kettenis <kettenis@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: July 16 2013 $
18.Dt VIAPM 4
19.Os
20.Sh NAME
21.Nm viapm
22.Nd VIA SMBus controller and VIA VT82C686A/VT8231 hardware monitor
23.Sh SYNOPSIS
24.Cd "viapm* at pci?"
25.Cd "iic* at viapm?"
26.Sh DESCRIPTION
27The
28.Nm
29driver provides support for the bus control and power management
30component of the VIA VT82C596, VT82C596B, VT82C686A, VT8231, VT8233,
31VT8233A, VT8235, VT8237, VT8237A, VT8237S, VT8251, CX700, VX800 and
32VX855 South Bridges.
33Only the SMBus host interface is supported and can be used with the
34.Xr iic 4
35framework.
36.Pp
37The
38.Nm
39driver provides support for the hardware monitor in the VIA VT82C686A
40and VT8231 South Bridges.
41The hardware monitor is used with the
42.Xr sysctl 8
43interface.
44.Pp
45The device has 10 sensors:
46.Bl -column "Sensor" "Units" "Typical" -offset indent
47.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use"
48.It Li "TSENS1" Ta "uK" Ta "CPU temperature"
49.It Li "TSENS2" Ta "uK" Ta "System temperature"
50.It Li "TSENS3" Ta "uK" Ta "Unknown"
51.It Li "FAN1" Ta "RPM" Ta "CPU fan"
52.It Li "FAN2" Ta "RPM" Ta "System fan"
53.It Li "VSENS1" Ta "uV DC" Ta "CPU core voltage (2.0V)"
54.It Li "VSENS2" Ta "uV DC" Ta "North Bridge core voltage (2.5V)"
55.It Li "Vcore" Ta "uV DC" Ta "Internal core voltage (3.3V)"
56.It Li "VSENS3" Ta "uV DC" Ta "+5V"
57.It Li "VSENS4" Ta "uV DC" Ta "+12V"
58.El
59.Pp
60Sensor data is updated every 1.5 seconds.
61.Sh SEE ALSO
62.Xr iic 4 ,
63.Xr intro 4 ,
64.Xr pci 4 ,
65.Xr sensorsd 8 ,
66.Xr sysctl 8
67.Sh HISTORY
68The
69.Nm
70driver first appeared in
71.Ox 3.9 .
72.Pp
73The
74.Nm viaenv
75driver first appeared in
76.Nx 1.5 .
77.Ox
78support was added in
79.Ox 3.4 .
80.Sh AUTHORS
81.An -nosplit
82The
83.Nm
84driver was written by
85.An Mark Kettenis Aq Mt kettenis@openbsd.org .
86.Pp
87The
88.Nm viaenv
89driver was written by
90.An Johan Danielsson
91and ported to
92.Ox 3.4
93by
94.An Alexander Yurchenko Aq Mt grange@openbsd.org .
95It was merged with
96.Nm
97in
98.Ox 5.0 .
99.Sh BUGS
100The driver doesn't support commands with a data buffer size of more
101than 2 bytes.
102.Pp
103Interrupt support is unimplemented, as is support for setting values.
104