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.\" 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 March 8, 2010 39.Dt LM 4 40.Os 41.Sh NAME 42.Nm lm 43.Nd "NatSemi LM78/79/81 and Winbond Super I/O Hardware Monitor" 44.Sh SYNOPSIS 45.Cd "device lm0 at isa? port 0x290" 46.Cd "device lm1 at isa? port 0x280" 47.Cd "device lm2 at isa? port 0x310" 48.Pp 49.Cd "device wbsio0 at isa? port 0x2e" 50.Cd "device wbsio1 at isa? port 0x4e" 51.Cd "device lm#3 at wbsio?" 52.Sh DESCRIPTION 53The 54.Nm 55driver provides support for the 56.Tn National Semiconductor 57LM 78/79/81 and 58.Tn Winbond 59Super I/O 60hardware monitors, 61and registers compatible chips under the 62.Dv HW_SENSORS 63.Xr sysctl 3 64tree. 65.Sh HARDWARE 66Chips supported by the 67.Nm 68driver include: 69.Pp 70.Bl -dash -offset indent -compact 71.It 72National Semiconductor LM78 and LM78-J 73.It 74National Semiconductor LM79 75.It 76National Semiconductor LM81 77.It 78Winbond W83627HF, W83627THF, W83637HF and W83697HF 79.It 80Winbond W83627DHG and W83627EHF 81.It 82Winbond W83781D, W83782D and W83783S 83.It 84Winbond W83791D, W83791SD and W83792D 85.It 86ASUS AS99127F 87.El 88.Sh SEE ALSO 89.Xr systat 1 , 90.Xr sysctl 3 , 91.Xr isa 4 , 92.Xr wbsio 4 , 93.Xr sensorsd 8 , 94.Xr sysctl 8 95.Sh HISTORY 96The 97.Nm 98driver first appeared in 99.Nx 1.5 , 100was ported to 101.Ox 3.4 102and imported into 103.Dx 1.11 . 104.Sh AUTHORS 105.An -nosplit 106The 107.Nm 108driver was written by 109.An Bill Squier 110and ported to 111.Ox 3.4 112by 113.An Alexander Yurchenko Aq Mt grange@openbsd.org . 114The driver was largely rewritten for 115.Ox 3.9 116by 117.An Mark Kettenis Aq Mt kettenis@openbsd.org . 118The driver was then ported to 119.Fx 120by 121.An Constantine A. Murenin Aq Mt cnst@FreeBSD.org 122as a part of a Google Summer of Code 2007 project. 123.Sh CAVEATS 124Some vendors connect these chips to non-standard thermal diodes and 125resistors. 126This will result in bogus sensor values. 127.Sh BUGS 128Interrupt support is unimplemented. 129.Pp 130There are currently no known pnpbios IDs assigned to LM chips. 131.Pp 132This driver attaches to the Winbond W83791SD chip even though that 133chip does not have any sensors. 134