1.\" $OpenBSD: lm.4,v 1.16 2007/05/26 22:38:55 cnst Exp $ 2.\" $NetBSD: lm.4,v 1.11 2001/09/22 01:22:49 wiz Exp $ 3.\" $DragonFly: src/share/man/man4/lm.4,v 1.4 2007/10/05 18:34:47 swildner Exp $ 4.\" 5.\" Copyright (c) 2000 The NetBSD Foundation, Inc. 6.\" All rights reserved. 7.\" 8.\" This code is derived from software contributed to The NetBSD Foundation 9.\" by Bill Squier. 10.\" 11.\" Redistribution and use in source and binary forms, with or without 12.\" modification, are permitted provided that the following conditions 13.\" are met: 14.\" 1. Redistributions of source code must retain the above copyright 15.\" notice, this list of conditions and the following disclaimer. 16.\" 2. Redistributions in binary form must reproduce the above copyright 17.\" notice, this list of conditions and the following disclaimer in the 18.\" documentation and/or other materials provided with the distribution. 19.\" 3. All advertising materials mentioning features or use of this software 20.\" must display the following acknowledgement: 21.\" This product includes software developed by the NetBSD 22.\" Foundation, Inc. and its contributors. 23.\" 4. Neither the name of The NetBSD Foundation nor the names of its 24.\" contributors may be used to endorse or promote products derived 25.\" from this software without specific prior written permission. 26.\" 27.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 28.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 29.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 30.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 31.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 32.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 33.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 34.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 35.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 36.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 37.\" POSSIBILITY OF SUCH DAMAGE. 38.\" 39.Dd August 19, 2007 40.Dt LM 4 41.Os 42.Sh NAME 43.Nm lm 44.Nd NatSemi LM78/79/81 and Winbond Super I/O Hardware Monitor 45.Sh SYNOPSIS 46.Cd "device lm0 at isa? port 0x290" 47.Cd "device lm1 at isa? port 0x280" 48.Cd "device lm2 at isa? port 0x310" 49.Sh DESCRIPTION 50The 51.Nm 52driver provides support for the 53.Tn National Semiconductor 54LM 78/79/81 and 55.Tn Winbond 56Super I/O 57hardware monitors, 58and registers compatible chips under the 59.Va HW_SENSORS 60.Xr sysctl 3 61tree. 62.Sh HARDWARE 63Chips supported by the 64.Nm 65driver include: 66.Pp 67.Bl -dash -offset indent -compact 68.It 69National Semiconductor LM78 and LM78-J 70.It 71National Semiconductor LM79 72.It 73National Semiconductor LM81 74.It 75Winbond W83627HF, W83627THF, W83637HF and W83697HF 76.It 77Winbond W83627DHG and W83627EHF 78.It 79Winbond W83781D, W83782D and W83783S 80.It 81Winbond W83791D, W83791SD and W83792D 82.It 83ASUS AS99127F 84.El 85.Sh SEE ALSO 86.Xr systat 1 , 87.Xr sysctl 3 , 88.Xr sensorsd 8 , 89.Xr sysctl 8 90.Sh HISTORY 91The 92.Nm 93driver first appeared in 94.Nx 1.5 , 95was ported to 96.Ox 3.4 97and imported into 98.Dx 1.11 . 99.Sh AUTHORS 100.An -nosplit 101The 102.Nm 103driver was written by 104.An Bill Squier 105and ported to 106.Ox 3.4 107by 108.An Alexander Yurchenko Aq grange@openbsd.org . 109The driver was largely rewritten for 110.Ox 3.9 111by 112.An Mark Kettenis Aq kettenis@openbsd.org . 113The driver was then ported to 114.Fx 115by 116.An Constantine A. Murenin Aq cnst@FreeBSD.org 117as a part of a Google Summer of Code 2007 project. 118.Sh CAVEATS 119Some vendors connect these chips to non-standard thermal diodes and 120resistors. 121This will result in bogus sensor values. 122.Sh BUGS 123Interrupt support is unimplemented. 124.Pp 125There are currently no known pnpbios IDs assigned to LM chips. 126.Pp 127This driver attaches to the Winbond W83791SD chip even though that 128chip does not have any sensors. 129