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