1.\" $NetBSD: lm.4,v 1.32 2010/02/21 05:16:29 cnst 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.\" 18.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 19.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 20.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 22.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28.\" POSSIBILITY OF SUCH DAMAGE. 29.\" 30.Dd February 16, 2010 31.Dt LM 4 32.Os 33.Sh NAME 34.Nm lm 35.Nd National Semiconductor LM78, LM79 and compatible hardware monitors 36.Sh SYNOPSIS 37.Cd "lm0 at isa? port 0x280 flags 0x00" 38.Cd "lm1 at isa? port 0x290 flags 0x00" 39.Cd "lm2 at isa? port 0x310 flags 0x00" 40.Cd "lm3 at isa? port 0xa00 flags 0x00" 41.Cd "lm0 at pnpbios0 index ? flags 0x00" 42.Cd "lm0 at iic? addr 0x2e flags 0x00" 43.Cd "lm* at wbsio?" 44.Sh DESCRIPTION 45The 46.Nm 47driver provides support for the 48.Tn National Semiconductor 49LM series hardware monitors and register compatible chips to be used with 50the 51.Xr envsys 4 52API. 53.Pp 54Most supported devices possess 11 sensors: 55.Bl -column "Sensor" "Units" "Typical" -offset indent 56.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use" 57.It Li "IN0" Ta "uV DC" Ta "Core voltage" 58.It Li "IN1" Ta "uV DC" Ta "unknown" 59.It Li "IN2" Ta "uV DC" Ta "+3.3V" 60.It Li "IN3" Ta "uV DC" Ta "+5V" 61.It Li "IN4" Ta "uV DC" Ta "+12V" 62.It Li "IN5" Ta "uV DC" Ta "-12V" 63.It Li "IN6" Ta "uV DC" Ta "-5V" 64.It Li "Temp" Ta "uK" Ta "Motherboard Temperature" 65.It Li "Fan0" Ta "RPM" Ta "Fan" 66.It Li "Fan1" Ta "RPM" Ta "Chassis Fan" 67.It Li "Fan2" Ta "RPM" Ta "Fan" 68.El 69for some devices (most Winbond devices) sensor names and numbers will be 70different. 71.Pp 72Due to hardware limitations, fresh sensor data is only available every 732 seconds. 74.Sh HARDWARE 75Chips supported by the 76.Nm 77driver include: 78.Pp 79.Bl -item -offset indent 80.It 81.Tn National Semiconductor 82.Em LM78 , 83.Em LM78-J , 84.Em LM79 85and 86.Em LM81 . 87.It 88.Tn Winbond 89.Em W83627HF* , 90.Em W83627THF* , 91.Em W83627EHF* , 92.Em W83627DHG* , 93.Em W83637HF* , 94.Em W83697HF* , 95.Em W83781D , 96.Em W83782D* , 97.Em W83783S* , 98.Em W83791D* , 99.Em W83791SD 100and 101.Em W83792D . 102.It 103.Tn ASUS 104.Em AS99127F . 105.El 106.Pp 107For most of the Winbond chips (identified with a * above), the 108.Em flags 109configuration option can be specified to select the type of temperature 110sensor: 111.Bl -column "flags" "Sensor Type" -offset indent 112.It Sy "flags" Ta Sy "Sensor Type" 113.It Li "0" Ta "Thermistor diode (Power-On default)" 114.It Li "1" Ta "Pentium-II diode" 115.It Li "2" Ta "2N3904 Bipolar" 116.It Li "4" Ta "Thermistor diode" 117.El 118.Sh SEE ALSO 119.Xr envsys 4 , 120.Xr wbsio 4 , 121.Xr envstat 8 122.Sh HISTORY 123The 124.Nm 125device appeared in 126.Nx 1.5 . 127.Sh BUGS 128Interrupt support is unimplemented. 129.Pp 130There are currently no known pnpbios IDs assigned to LM chips. 131