xref: /netbsd-src/share/man/man4/lm.4 (revision 8b0f9554ff8762542c4defc4f70e1eb76fb508fa)
1.\"	$NetBSD: lm.4,v 1.22 2007/09/09 05:50:02 xtraeme 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.\" 3. All advertising materials mentioning features or use of this software
18.\"    must display the following acknowledgement:
19.\"        This product includes software developed by the NetBSD
20.\"        Foundation, Inc. and its contributors.
21.\" 4. Neither the name of The NetBSD Foundation nor the names of its
22.\"    contributors may be used to endorse or promote products derived
23.\"    from this software without specific prior written permission.
24.\"
25.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
26.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
27.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
28.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
29.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35.\" POSSIBILITY OF SUCH DAMAGE.
36.\"
37.Dd September 9, 2007
38.Dt LM 4
39.Os
40.Sh NAME
41.Nm lm
42.Nd National Semiconductor LM78, LM79 and compatible hardware monitors
43.Sh SYNOPSIS
44.Cd "lm0 at isa? port 0x290"
45.Cd "lm0 at pnpbios0 index ?"
46.Sh DESCRIPTION
47The
48.Nm
49driver provides support for the
50.Tn National Semiconductor
51LM series hardware monitors and register compatible chips to be used with
52the
53.Xr envsys 4
54API.
55.Pp
56Most supported devices possess 11 sensors:
57.Bl -column "Sensor" "Units" "Typical" -offset indent
58.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use"
59.It Li "IN0" Ta "uV DC" Ta "Core voltage"
60.It Li "IN1" Ta "uV DC" Ta "unknown"
61.It Li "IN2" Ta "uV DC" Ta "+3.3V"
62.It Li "IN3" Ta "uV DC" Ta "+5V"
63.It Li "IN4" Ta "uV DC" Ta "+12V"
64.It Li "IN5" Ta "uV DC" Ta "-12V"
65.It Li "IN6" Ta "uV DC" Ta "-5V"
66.It Li "Temp" Ta "uK" Ta "Motherboard Temperature"
67.It Li "Fan0" Ta "RPM" Ta "Fan"
68.It Li "Fan1" Ta "RPM" Ta "Chassis Fan"
69.It Li "Fan2" Ta "RPM" Ta "Fan"
70.El
71for some devices (most Winbond devices) sensor names and numbers will be
72different.
73.Pp
74Due to hardware limitations, fresh sensor data is only available every
752 seconds.
76.Sh HARDWARE
77Chips supported by the
78.Nm
79driver include:
80.Pp
81.Bl -item -offset indent
82.It
83.Tn National Semiconductor
84.Em LM78 ,
85.Em LM78-J ,
86.Em LM79
87and
88.Em LM81 .
89.It
90.Tn Winbond
91.Em W83627HF ,
92.Em W83627THF ,
93.Em W83627EHF ,
94.Em W83627DHG ,
95.Em W83637HF ,
96.Em W83697HF ,
97.Em W83781D ,
98.Em W83782D ,
99.Em W83783S ,
100.Em W83791D ,
101.Em W83791SD
102and
103.Em W83792D .
104.It
105.Tn ASUS
106.Em AS99127F .
107.El
108.Sh SEE ALSO
109.Xr envsys 4 ,
110.Xr envstat 8
111.Sh HISTORY
112The
113.Nm
114device appeared in
115.Nx 1.5 .
116.Sh BUGS
117Interrupt support is unimplemented.
118.Pp
119There are currently no known pnpbios IDs assigned to LM chips.
120