Annotation of src/share/man/man4/lm.4, Revision 1.36
1.36 ! wiz 1: .\" $NetBSD: lm.4,v 1.35 2018/03/08 07:35:21 msaitoh Exp $
1.1 groo 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: .\"
1.35 msaitoh 30: .Dd March 8, 2018
1.1 groo 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
1.27 pgoyette 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"
1.32 cnst 43: .Cd "lm* at wbsio?"
1.1 groo 44: .Sh DESCRIPTION
45: The
46: .Nm
1.36 ! wiz 47: driver provides support for the National Semiconductor
1.1 groo 48: LM series hardware monitors and register compatible chips to be used with
49: the
50: .Xr envsys 4
51: API.
52: .Pp
1.33 msaitoh 53: The original LM78 hardware monitor supports 11 sensors:
1.1 groo 54: .Bl -column "Sensor" "Units" "Typical" -offset indent
55: .It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use"
56: .It Li "IN0" Ta "uV DC" Ta "Core voltage"
57: .It Li "IN1" Ta "uV DC" Ta "unknown"
58: .It Li "IN2" Ta "uV DC" Ta "+3.3V"
59: .It Li "IN3" Ta "uV DC" Ta "+5V"
60: .It Li "IN4" Ta "uV DC" Ta "+12V"
61: .It Li "IN5" Ta "uV DC" Ta "-12V"
62: .It Li "IN6" Ta "uV DC" Ta "-5V"
63: .It Li "Temp" Ta "uK" Ta "Motherboard Temperature"
64: .It Li "Fan0" Ta "RPM" Ta "Fan"
65: .It Li "Fan1" Ta "RPM" Ta "Chassis Fan"
66: .It Li "Fan2" Ta "RPM" Ta "Fan"
67: .El
1.33 msaitoh 68: For other devices, sensors' names and numbers will be different.
1.1 groo 69: .Pp
1.3 groo 70: Due to hardware limitations, fresh sensor data is only available every
1.22 xtraeme 71: 2 seconds.
1.1 groo 72: .Sh HARDWARE
73: Chips supported by the
74: .Nm
75: driver include:
76: .Bl -item -offset indent
77: .It
1.36 ! wiz 78: National Semiconductor
1.19 xtraeme 79: .Em LM78 ,
80: .Em LM78-J ,
1.36 ! wiz 81: .Em LM79 ,
1.21 wiz 82: and
1.19 xtraeme 83: .Em LM81 .
1.17 xtraeme 84: .It
1.36 ! wiz 85: Nuvoton
1.33 msaitoh 86: .Em NCT5104D ,
87: .Em NCT6775F ,
88: .Em NCT6776F ,
89: .Em NCT6102D ,
90: .Em NCT6104D ,
91: .Em NCT6106D ,
92: .Em NCT6779D ,
93: .Em NCT6791D ,
94: .Em NCT6792D ,
95: .Em NCT6793D ,
1.36 ! wiz 96: .Em NCT6795D ,
1.35 msaitoh 97: and
98: .Em NCT6796D .
1.33 msaitoh 99: .It
1.36 ! wiz 100: Winbond
1.27 pgoyette 101: .Em W83627HF* ,
1.29 pgoyette 102: .Em W83627THF* ,
103: .Em W83627EHF* ,
104: .Em W83627DHG* ,
105: .Em W83637HF* ,
106: .Em W83697HF* ,
1.14 wiz 107: .Em W83781D ,
1.29 pgoyette 108: .Em W83782D* ,
109: .Em W83783S* ,
110: .Em W83791D* ,
1.36 ! wiz 111: .Em W83791SD ,
1.7 bouyer 112: and
1.19 xtraeme 113: .Em W83792D .
114: .It
1.36 ! wiz 115: ASUS
1.19 xtraeme 116: .Em AS99127F .
1.9 msaitoh 117: .El
1.31 njoly 118: .Pp
1.29 pgoyette 119: For most of the Winbond chips (identified with a * above), the
1.27 pgoyette 120: .Em flags
121: configuration option can be specified to select the type of temperature
122: sensor:
123: .Bl -column "flags" "Sensor Type" -offset indent
124: .It Sy "flags" Ta Sy "Sensor Type"
1.30 pgoyette 125: .It Li "0" Ta "Thermistor diode (Power-On default)"
1.27 pgoyette 126: .It Li "1" Ta "Pentium-II diode"
127: .It Li "2" Ta "2N3904 Bipolar"
128: .It Li "4" Ta "Thermistor diode"
129: .El
1.1 groo 130: .Sh SEE ALSO
1.5 enami 131: .Xr envsys 4 ,
1.32 cnst 132: .Xr wbsio 4 ,
1.5 enami 133: .Xr envstat 8
1.1 groo 134: .Sh HISTORY
135: The
136: .Nm
137: device appeared in
138: .Nx 1.5 .
1.33 msaitoh 139: .Sh CAVEATS
140: Some vendors connect these chips to non-standard thermal diodes and
141: resistors.
142: This will result in bogus sensor values.
1.11 wiz 143: .Sh BUGS
144: Interrupt support is unimplemented.
145: .Pp
146: There are currently no known pnpbios IDs assigned to LM chips.
CVSweb <webmaster@jp.NetBSD.org>