1.\" $NetBSD: lm.4,v 1.11 2001/09/22 01:22:49 wiz Exp $ 2.\" 3.\" Copyright (c) 2000 The NetBSD Foundation, Inc. 4.\" All rights reserved. 5.\" 6.\" This code is derived from software contributed to The NetBSD Foundation 7.\" by Bill Squier. 8.\" 9.\" Redistribution and use in source and binary forms, with or without 10.\" modification, are permitted provided that the following conditions 11.\" are met: 12.\" 1. Redistributions of source code must retain the above copyright 13.\" notice, this list of conditions and the following disclaimer. 14.\" 2. Redistributions in binary form must reproduce the above copyright 15.\" notice, this list of conditions and the following disclaimer in the 16.\" documentation and/or other materials provided with the distribution. 17.\" 3. All advertising materials mentioning features or use of this software 18.\" must display the following acknowledgement: 19.\" This product includes software developed by the NetBSD 20.\" Foundation, Inc. and its contributors. 21.\" 4. Neither the name of The NetBSD Foundation nor the names of its 22.\" contributors may be used to endorse or promote products derived 23.\" from this software without specific prior written permission. 24.\" 25.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 26.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 27.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 28.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 29.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 30.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 31.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35.\" POSSIBILITY OF SUCH DAMAGE. 36.\" 37.Dd February 26, 2000 38.Dt LM 4 39.Os 40.Sh NAME 41.Nm lm 42.Nd National Semiconductor LM78, LM79 and compatible hardware monitors 43.Sh SYNOPSIS 44.Cd "lm0 at isa? port 0x290" 45.\" .Cd "lm0 at pnpbios0 index ?" 46.Sh DESCRIPTION 47The 48.Nm 49driver provides support for the 50.Tn National Semiconductor 51LM series hardware monitors and register compatible chips to be used with 52the 53.Xr envsys 4 54API. 55.Pp 56Most supported devices possess 11 sensors: 57.Bl -column "Sensor" "Units" "Typical" -offset indent 58.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use" 59.It Li "IN0" Ta "uV DC" Ta "Core voltage" 60.It Li "IN1" Ta "uV DC" Ta "unknown" 61.It Li "IN2" Ta "uV DC" Ta "+3.3V" 62.It Li "IN3" Ta "uV DC" Ta "+5V" 63.It Li "IN4" Ta "uV DC" Ta "+12V" 64.It Li "IN5" Ta "uV DC" Ta "-12V" 65.It Li "IN6" Ta "uV DC" Ta "-5V" 66.It Li "Temp" Ta "uK" Ta "Motherboard Temperature" 67.It Li "Fan0" Ta "RPM" Ta "Fan" 68.It Li "Fan1" Ta "RPM" Ta "Chassis Fan" 69.It Li "Fan2" Ta "RPM" Ta "Fan" 70.El 71for some devices (most Winbond devices) sensors names and numbers will be 72different. 73.Pp 74Sensor names as well as nominal RPMs for fans 0 and 1 may be changed 75through the 76.Dv ENVSYS_STREINFO 77.Xr ioctl 2 . 78.Pp 79Due to hardware limitations, fresh sensor data is only available every 801.5 seconds. 81.Sh HARDWARE 82Chips supported by the 83.Nm 84driver include: 85.Pp 86.Bl -item -offset indent 87.It 88.Tn National Semiconductor 89.Em LM78 90and 91.Em LM78-J 92.It 93.Tn National Semiconductor 94.Em LM79 95.It 96.Tn Winbond 97.Em W83697HF 98(untested) 99.It 100.Tn Winbond 101.Em W83627HF , 102.Em W83781D 103and 104.Em W83782D 105.El 106.Sh SEE ALSO 107.Xr envsys 4 , 108.Xr envstat 8 109.Sh HISTORY 110The 111.Nm 112device appeared in 113.Nx 1.5 . 114.Sh BUGS 115Interrupt support is unimplemented. 116.Pp 117There are currently no known pnpbios IDs assigned to LM chips. 118