xref: /netbsd-src/share/man/man4/lmenv.4 (revision 15a46c19fcf6e11b806c636f98ce110a1df67f94)
1.\"	$NetBSD: lmenv.4,v 1.1 2013/10/15 19:14:41 jdc Exp $
2.\"
3.\" This code is derived from software contributed to The NetBSD Foundation
4.\" by Julian Coleman.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
15.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
16.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
18.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
20.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24.\" POSSIBILITY OF SUCH DAMAGE.
25.\"
26.Dd October 14, 2013
27.Dt LMENV 4
28.Os
29.Sh NAME
30.Nm lmenv
31.Nd National Semiconductor LM81, LM87, and compatible hardware monitors
32.Sh SYNOPSIS
33.Cd "lmenv0 at iic0 addr 0x2c: ADM9240 rev 2"
34.Sh DESCRIPTION
35The
36.Nm
37driver provides support for the
38.Tn National Semiconductor
39LM87,
40.Tn National Semiconductor
41LM81,
42.Tn Analog Devices
43ADM9240, and
44.Tn Dallas Semiconductor
45DS1780 iicbus hardware monitors.
46Sensor values are reported through the
47.Xr envstat 8
48interface.
49.Pp
50The
51.Nm
52supports the following voltage, temperature, and fan speed sensors:
53.Bl -column "+5Vin/Vcc" "Temperature" -offset indent
54.It Sy "Sensor" Ta "Type"
55.It Li "+2.5Vin" Ta "Volts DC"
56.It Li "Vccp1" Ta "Volts DC"
57.It Li "+Vcc" Ta "Volts DC"
58.It Li "+5Vin/Vcc" Ta "Volts DC"
59.It Li "+12Vin" Ta "Volts DC"
60.It Li "Vccp2" Ta "Volts DC"
61.It Li "External" Ta "Temperature"
62.It Li "Internal" Ta "Temperature"
63.It Li "FAN1" Ta "Speed"
64.It Li "FAN2" Ta "Speed"
65.El
66On the LM87 monitor, AIN1 and AIN2 Volts DC sensors may replace either,
67or both of the FAN1 and FAN2 speed sensors, respectively.
68.Sh SEE ALSO
69.Xr envsys 4 ,
70.Xr envstat 8
71.Sh HISTORY
72The
73.Nm
74driver first appeared in
75.Ox 3.9 .
76.Nx
77support was added in
78.Nx 7.0 .
79.Sh AUTHORS
80The
81.Nm
82driver was written for
83.Ox
84by
85.An Mark Kettenis
86.Aq kettenis@openbsd.org ,
87and ported to
88.Nx
89by
90.An Julian Coleman
91.Aq jdc@NetBSD.org .
92.Sh BUGS
93High and low sensor limits are not supported.
94.Pp
95Interrupt support is not implemented.
96