2010-02-21 08:16:29 +03:00
|
|
|
.\" $NetBSD: lm.4,v 1.32 2010/02/21 05:16:29 cnst Exp $
|
2000-02-27 03:59:23 +03:00
|
|
|
.\"
|
|
|
|
.\" 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.
|
|
|
|
.\"
|
|
|
|
.\" 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.
|
|
|
|
.\"
|
2010-02-21 08:16:29 +03:00
|
|
|
.Dd February 16, 2010
|
2000-02-27 03:59:23 +03:00
|
|
|
.Dt LM 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm lm
|
|
|
|
.Nd National Semiconductor LM78, LM79 and compatible hardware monitors
|
|
|
|
.Sh SYNOPSIS
|
2010-02-09 00:42:41 +03:00
|
|
|
.Cd "lm0 at isa? port 0x280 flags 0x00"
|
|
|
|
.Cd "lm1 at isa? port 0x290 flags 0x00"
|
|
|
|
.Cd "lm2 at isa? port 0x310 flags 0x00"
|
|
|
|
.Cd "lm3 at isa? port 0xa00 flags 0x00"
|
|
|
|
.Cd "lm0 at pnpbios0 index ? flags 0x00"
|
|
|
|
.Cd "lm0 at iic? addr 0x2e flags 0x00"
|
2010-02-21 08:16:29 +03:00
|
|
|
.Cd "lm* at wbsio?"
|
2000-02-27 03:59:23 +03:00
|
|
|
.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 envsys 4
|
|
|
|
API.
|
|
|
|
.Pp
|
2000-07-28 01:59:21 +04:00
|
|
|
Most supported devices possess 11 sensors:
|
2000-02-27 03:59:23 +03:00
|
|
|
.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
|
2004-05-12 02:42:47 +04:00
|
|
|
for some devices (most Winbond devices) sensor names and numbers will be
|
2000-07-28 01:59:21 +04:00
|
|
|
different.
|
2000-02-27 03:59:23 +03:00
|
|
|
.Pp
|
2000-03-10 08:30:38 +03:00
|
|
|
Due to hardware limitations, fresh sensor data is only available every
|
2007-09-09 09:50:02 +04:00
|
|
|
2 seconds.
|
2000-02-27 03:59:23 +03:00
|
|
|
.Sh HARDWARE
|
|
|
|
Chips supported by the
|
|
|
|
.Nm
|
|
|
|
driver include:
|
|
|
|
.Pp
|
|
|
|
.Bl -item -offset indent
|
|
|
|
.It
|
|
|
|
.Tn National Semiconductor
|
2007-03-12 00:59:09 +03:00
|
|
|
.Em LM78 ,
|
|
|
|
.Em LM78-J ,
|
2000-08-03 01:52:08 +04:00
|
|
|
.Em LM79
|
2007-03-21 10:04:09 +03:00
|
|
|
and
|
2007-03-12 00:59:09 +03:00
|
|
|
.Em LM81 .
|
2005-10-15 04:43:33 +04:00
|
|
|
.It
|
2000-02-27 03:59:23 +03:00
|
|
|
.Tn Winbond
|
2010-02-09 00:42:41 +03:00
|
|
|
.Em W83627HF* ,
|
2010-02-09 02:10:35 +03:00
|
|
|
.Em W83627THF* ,
|
|
|
|
.Em W83627EHF* ,
|
|
|
|
.Em W83627DHG* ,
|
|
|
|
.Em W83637HF* ,
|
|
|
|
.Em W83697HF* ,
|
2004-05-24 04:09:49 +04:00
|
|
|
.Em W83781D ,
|
2010-02-09 02:10:35 +03:00
|
|
|
.Em W83782D* ,
|
|
|
|
.Em W83783S* ,
|
|
|
|
.Em W83791D* ,
|
2007-03-12 00:59:09 +03:00
|
|
|
.Em W83791SD
|
2000-08-03 01:52:08 +04:00
|
|
|
and
|
2007-03-12 00:59:09 +03:00
|
|
|
.Em W83792D .
|
|
|
|
.It
|
|
|
|
.Tn ASUS
|
|
|
|
.Em AS99127F .
|
2000-08-14 19:30:11 +04:00
|
|
|
.El
|
2010-02-12 13:54:53 +03:00
|
|
|
.Pp
|
2010-02-09 02:10:35 +03:00
|
|
|
For most of the Winbond chips (identified with a * above), the
|
2010-02-09 00:42:41 +03:00
|
|
|
.Em flags
|
|
|
|
configuration option can be specified to select the type of temperature
|
|
|
|
sensor:
|
|
|
|
.Bl -column "flags" "Sensor Type" -offset indent
|
|
|
|
.It Sy "flags" Ta Sy "Sensor Type"
|
2010-02-09 17:10:08 +03:00
|
|
|
.It Li "0" Ta "Thermistor diode (Power-On default)"
|
2010-02-09 00:42:41 +03:00
|
|
|
.It Li "1" Ta "Pentium-II diode"
|
|
|
|
.It Li "2" Ta "2N3904 Bipolar"
|
|
|
|
.It Li "4" Ta "Thermistor diode"
|
|
|
|
.El
|
2000-02-27 03:59:23 +03:00
|
|
|
.Sh SEE ALSO
|
2000-07-04 12:57:44 +04:00
|
|
|
.Xr envsys 4 ,
|
2010-02-21 08:16:29 +03:00
|
|
|
.Xr wbsio 4 ,
|
2000-07-04 12:57:44 +04:00
|
|
|
.Xr envstat 8
|
2000-02-27 03:59:23 +03:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
device appeared in
|
|
|
|
.Nx 1.5 .
|
2001-09-22 05:22:48 +04:00
|
|
|
.Sh BUGS
|
|
|
|
Interrupt support is unimplemented.
|
|
|
|
.Pp
|
|
|
|
There are currently no known pnpbios IDs assigned to LM chips.
|