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