Home | History | Annotate | Line # | Download | only in man4
 $NetBSD: lmenv.4,v 1.1 2013/10/15 19:14:41 jdc Exp $

This code is derived from software contributed to The NetBSD Foundation
by Julian Coleman.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

.Dd October 14, 2013 .Dt LMENV 4 .Os .Sh NAME .Nm lmenv .Nd National Semiconductor LM81, LM87, and compatible hardware monitors .Sh SYNOPSIS .Cd "lmenv0 at iic0 addr 0x2c: ADM9240 rev 2" .Sh DESCRIPTION The .Nm driver provides support for the .Tn National Semiconductor LM87, .Tn National Semiconductor LM81, .Tn Analog Devices ADM9240, and .Tn Dallas Semiconductor DS1780 iicbus hardware monitors. Sensor values are reported through the .Xr envstat 8 interface.

p The .Nm supports the following voltage, temperature, and fan speed sensors: l -column "+5Vin/Vcc" "Temperature" -offset indent t Sy "Sensor" Ta "Type" t Li "+2.5Vin" Ta "Volts DC" t Li "Vccp1" Ta "Volts DC" t Li "+Vcc" Ta "Volts DC" t Li "+5Vin/Vcc" Ta "Volts DC" t Li "+12Vin" Ta "Volts DC" t Li "Vccp2" Ta "Volts DC" t Li "External" Ta "Temperature" t Li "Internal" Ta "Temperature" t Li "FAN1" Ta "Speed" t Li "FAN2" Ta "Speed" .El On the LM87 monitor, AIN1 and AIN2 Volts DC sensors may replace either, or both of the FAN1 and FAN2 speed sensors, respectively. .Sh SEE ALSO .Xr envsys 4 , .Xr envstat 8 .Sh HISTORY The .Nm driver first appeared in .Ox 3.9 . .Nx support was added in .Nx 7.0 . .Sh AUTHORS The .Nm driver was written for .Ox by .An Mark Kettenis .Aq kettenis (at] openbsd.org , and ported to .Nx by .An Julian Coleman .Aq jdc (at] NetBSD.org . .Sh BUGS High and low sensor limits are not supported.

p Interrupt support is not implemented.