summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2003-04-25 21:27:34 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2003-04-25 21:27:34 +0000
commit474f69d6bb11b8f0bf0b031b0983889752f4381b (patch)
tree67dd7372b2eadded558ddd69617751c0b293a246
parent466ee8c6198a516a8f1b939ae30f5655d0a62d8f (diff)
lm(4) manual page
-rw-r--r--share/man/man4/Makefile4
-rw-r--r--share/man/man4/lm.4127
2 files changed, 129 insertions, 2 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 58efdb8e85b..85e0878c1ec 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.236 2003/03/09 18:51:30 deraadt Exp $
+# $OpenBSD: Makefile,v 1.237 2003/04/25 21:27:33 grange Exp $
MAN= aac.4 ac97.4 addcom.4 adv.4 aha.4 ahb.4 ahc.4 aic.4 \
ami.4 amdpm.4 amphy.4 an.4 aria.4 ast.4 atalk.4 atapiscsi.4 \
@@ -15,7 +15,7 @@ MAN= aac.4 ac97.4 addcom.4 adv.4 aha.4 ahb.4 ahc.4 aic.4 \
inet.4 inphy.4 iop.4 iopsp.4 ioprbs.4 iophy.4 ip.4 ipcomp.4 ipsec.4 \
isa.4 isapnp.4 ises.4 iso.4 isp.4 \
ksyms.4 kue.4 \
- lc.4 lge.4 lkm.4 lmc.4 lo.4 lofn.4 lpt.4 lxtphy.4 \
+ lc.4 lge.4 lkm.4 lm.4 lmc.4 lo.4 lofn.4 lpt.4 lxtphy.4 \
maestro.4 midi.4 mii.4 mpu.4 mtdphy.4 mtio.4 \
ncr.4 ne.4 neo.4 netintro.4 nge.4 noct.4 nofn.4 ns.4 nsip.4 nsgphy.4 \
nsphy.4 nsphyter.4 null.4 \
diff --git a/share/man/man4/lm.4 b/share/man/man4/lm.4
new file mode 100644
index 00000000000..cff70e47ade
--- /dev/null
+++ b/share/man/man4/lm.4
@@ -0,0 +1,127 @@
+.\" $OpenBSD: lm.4,v 1.1 2003/04/25 21:27:33 grange Exp $
+.\" $NetBSD: lm.4,v 1.11 2001/09/22 01:22:49 wiz Exp $
+.\"
+.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" This code is derived from software contributed to The NetBSD Foundation
+.\" by Bill Squier.
+.\"
+.\" 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.
+.\" 3. All advertising materials mentioning features or use of this software
+.\" must display the following acknowledgement:
+.\" This product includes software developed by the NetBSD
+.\" Foundation, Inc. and its contributors.
+.\" 4. Neither the name of The NetBSD Foundation nor the names of its
+.\" contributors may be used to endorse or promote products derived
+.\" from this software without specific prior written permission.
+.\"
+.\" 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 February 26, 2000
+.Dt LM 4
+.Os
+.Sh NAME
+.Nm lm
+.Nd National Semiconductor LM78, LM79 and compatible hardware monitors
+.Sh SYNOPSIS
+.Cd "lm0 at isa? port 0x290"
+.Cd "lm1 at isa? port 0x280"
+.Cd "lm2 at isa? port 0x310"
+.\" .Cd "lm0 at pnpbios0 index ?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the
+.Tn National Semiconductor
+LM series hardware monitors and register compatible chips to be used with
+the
+.Xr sysctl 3
+interface.
+.Pp
+Most supported devices possess 11 sensors:
+.Bl -column "Sensor" "Units" "Typical" -offset indent
+.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use"
+.It Li "IN0" Ta "uV DC" Ta "Core voltage"
+.It Li "IN1" Ta "uV DC" Ta "Unknown"
+.It Li "IN2" Ta "uV DC" Ta "+3.3V"
+.It Li "IN3" Ta "uV DC" Ta "+5V"
+.It Li "IN4" Ta "uV DC" Ta "+12V"
+.It Li "IN5" Ta "uV DC" Ta "-12V"
+.It Li "IN6" Ta "uV DC" Ta "-5V"
+.It Li "Temp" Ta "uK" Ta "Motherboard Temperature"
+.It Li "Fan0" Ta "RPM" Ta "Fan"
+.It Li "Fan1" Ta "RPM" Ta "Chassis Fan"
+.It Li "Fan2" Ta "RPM" Ta "Fan"
+.El
+.Pp
+For some devices (most Winbond devices) sensors names and numbers will be
+different.
+.Pp
+Due to hardware limitations, fresh sensor data is only available every
+1.5 seconds.
+.Sh HARDWARE
+Chips supported by the
+.Nm
+driver include:
+.Pp
+.Bl -item -offset indent
+.It
+.Tn National Semiconductor
+.Em LM78
+and
+.Em LM78-J
+.It
+.Tn National Semiconductor
+.Em LM79
+.It
+.Tn Winbond
+.Em W83697HF
+(untested)
+.It
+.Tn Winbond
+.Em W83627HF ,
+.Em W83781D
+and
+.Em W83782D
+.El
+.Sh SEE ALSO
+.Xr sysctl 8
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Nx 1.5 ,
+.Ox
+support was added in
+.Ox 3.4 .
+.Sh AUTHORS
+The
+.Nm
+driver was written by
+.An Bill Squier
+and ported to
+.Ox 3.4
+by
+.An Alexander Yurchenko Aq grange@openbsd.org .
+.Sh BUGS
+Interrupt support is unimplemented.
+.Pp
+There are currently no known pnpbios IDs assigned to LM chips.