summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2007-10-14 10:55:50 +0000
committernetchild <netchild@FreeBSD.org>2007-10-14 10:55:50 +0000
commit8423df3d9411c6e4e79b3a3b06ea1c3c6aaaa81f (patch)
treee4b345443d79b791d5fbc3088afe36b5cdb70868 /share
parent4af9918bc0e8f388ffda416ed716c9b17ca6c0fd (diff)
downloadFreeBSD-src-8423df3d9411c6e4e79b3a3b06ea1c3c6aaaa81f.zip
FreeBSD-src-8423df3d9411c6e4e79b3a3b06ea1c3c6aaaa81f.tar.gz
Import it(4) and lm(4), supporting most popular Super I/O Hardware Monitors.
Submitted by: Constantine A. Murenin <cnst@FreeBSD.org> Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith Obtained from: OpenBSD (parts)
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/Makefile3
-rw-r--r--share/man/man4/it.4104
-rw-r--r--share/man/man4/lm.4138
3 files changed, 245 insertions, 0 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 2777514..1a8001c 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -131,6 +131,7 @@ MAN= aac.4 \
iscsi_initiator.4 \
isp.4 \
ispfw.4 \
+ ${_it.4} \
iwi.4 \
ixgb.4 \
joy.4 \
@@ -143,6 +144,7 @@ MAN= aac.4 \
le.4 \
led.4 \
lge.4 \
+ lm.4 \
lmc.4 \
lo.4 \
lp.4 \
@@ -547,6 +549,7 @@ _ichwd.4= ichwd.4
_if_nfe.4= if_nfe.4
_if_nve.4= if_nve.4
_if_nxge.4= if_nxge.4
+_it.4= it.4
_ipmi.4= ipmi.4
_nfsmb.4= nfsmb.4
_nfe.4= nfe.4
diff --git a/share/man/man4/it.4 b/share/man/man4/it.4
new file mode 100644
index 0000000..6b65628
--- /dev/null
+++ b/share/man/man4/it.4
@@ -0,0 +1,104 @@
+.\" $FreeBSD$
+.\" $OpenBSD: it.4,v 1.8 2006/09/08 15:09:14 jmc Exp $
+.\"
+.\" Copyright (c) 2003 Julien Bordet <zejames@greygats.org>
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\"
+.Dd 13 September 2007
+.Dt IT 4
+.Os
+.Sh NAME
+.Nm it
+.Nd ITE IT8705F/12F/16F and SiS SiS950 Super I/O Hardware Monitor
+.Sh SYNOPSIS
+.Cd "device isa"
+.Cd "device it"
+.Pp
+In
+.Pa /boot/device.hints :
+.Cd hint.it.0.at="isa"
+.Cd hint.it.0.port="0x290"
+.Cd hint.it.1.at="isa"
+.Cd hint.it.1.port="0xc00"
+.Cd hint.it.2.at="isa"
+.Cd hint.it.2.port="0xd00"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the
+.Tn IT8705F , IT8712F , IT8716F
+and
+.Tn SiS950
+hardware monitors.
+The values are exposed through the
+.Va HW_SENSORS
+.Xr sysctl 3
+interface.
+.Pp
+Most supported devices possess 15 sensors:
+.Bl -column "Sensor" "Units" "Typical" -offset indent
+.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use"
+.It Li "Fan0" Ta "RPM" Ta "CPU Fan"
+.It Li "Fan1" Ta "RPM" Ta "Fan"
+.It Li "Fan2" Ta "RPM" Ta "Fan"
+.It Li "IN0" Ta "uV DC" Ta "Core voltage"
+.It Li "IN1" Ta "uV DC" Ta "Core voltage"
+.It Li "IN2" Ta "uV DC" Ta "+3.3V"
+.It Li "IN3" Ta "uV DC" Ta "+5V"
+.It Li "IN4" Ta "uV DC" Ta "+12V"
+.It Li "IN5" Ta "uV DC" Ta "Unknown"
+.It Li "IN6" Ta "uV DC" Ta "-12V"
+.It Li "IN7" Ta "uV DC" Ta "-5V"
+.It Li "IN8" Ta "uV DC" Ta "VBAT"
+.It Li "Temp" Ta "uK" Ta "Motherboard Temperature"
+.It Li "Temp" Ta "uK" Ta "Motherboard Temperature"
+.It Li "Temp" Ta "uK" Ta "CPU Temperature"
+.El
+.Pp
+For some devices, sensors' names and numbers will be different.
+.Sh SEE ALSO
+.Xr systat 1 ,
+.Xr sysctl 3 ,
+.Xr sensorsd 8 ,
+.Xr sysctl 8
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Ox 3.4 .
+.Fx
+support was added in
+.Fx 7.XXX .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Julien Bordet Aq zejames@greyhats.org .
+It was ported to
+.Fx
+by
+.An Constantine A. Murenin Aq cnst@FreeBSD.org
+as a part of a Google Summer of Code 2007 project.
+.Sh BUGS
+Interrupt support is unimplemented.
diff --git a/share/man/man4/lm.4 b/share/man/man4/lm.4
new file mode 100644
index 0000000..1c731b4
--- /dev/null
+++ b/share/man/man4/lm.4
@@ -0,0 +1,138 @@
+.\" $FreeBSD$
+.\" $OpenBSD: lm.4,v 1.16 2007/05/26 22:38:55 cnst Exp $
+.\" $NetBSD: lm.4,v 1.11 2001/09/22 01:22:49 wiz Exp $
+.\"
+.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" This code is derived from software contributed to The NetBSD Foundation
+.\" by Bill Squier.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\" must display the following acknowledgement:
+.\" This product includes software developed by the NetBSD
+.\" Foundation, Inc. and its contributors.
+.\" 4. Neither the name of The NetBSD Foundation nor the names of its
+.\" contributors may be used to endorse or promote products derived
+.\" from this software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+.\" POSSIBILITY OF SUCH DAMAGE.
+.\"
+.Dd 19 August 2007
+.Dt LM 4
+.Os
+.Sh NAME
+.Nm lm
+.Nd NatSemi LM78/79/81 and Winbond Super I/O Hardware Monitor
+.Sh SYNOPSIS
+.Cd "device isa"
+.Cd "device lm"
+.Pp
+In
+.Pa /boot/device.hints :
+.Cd hint.lm.0.at="isa"
+.Cd hint.lm.0.port="0x290"
+.Cd hint.lm.1.at="isa"
+.Cd hint.lm.1.port="0x280"
+.Cd hint.lm.2.at="isa"
+.Cd hint.lm.2.port="0x310"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the
+.Tn National Semiconductor
+LM 78/79/81 and
+.Tn Winbond
+Super I/O
+hardware monitors,
+and registers compatible chips under the
+.Va HW_SENSORS
+.Xr sysctl 3
+tree.
+.Sh HARDWARE
+Chips supported by the
+.Nm
+driver include:
+.Pp
+.Bl -dash -offset indent -compact
+.It
+National Semiconductor LM78 and LM78-J
+.It
+National Semiconductor LM79
+.It
+National Semiconductor LM81
+.It
+Winbond W83627HF, W83627THF, W83637HF and W83697HF
+.It
+Winbond W83627DHG and W83627EHF
+.It
+Winbond W83781D, W83782D and W83783S
+.It
+Winbond W83791D, W83791SD and W83792D
+.It
+ASUS AS99127F
+.El
+.Sh SEE ALSO
+.Xr systat 1 ,
+.Xr sysctl 3 ,
+.Xr sensorsd 8 ,
+.Xr sysctl 8
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Nx 1.5 ;
+.Ox
+support was added in
+.Ox 3.4 ;
+.Fx
+support was added in
+.Fx 7.XXX .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Bill Squier
+and ported to
+.Ox 3.4
+by
+.An Alexander Yurchenko Aq grange@openbsd.org .
+The driver was largely rewritten for
+.Ox 3.9
+by
+.An Mark Kettenis Aq kettenis@openbsd.org .
+The driver was then ported to
+.Fx
+by
+.An Constantine A. Murenin Aq cnst@FreeBSD.org
+as a part of a Google Summer of Code 2007 project.
+.Sh CAVEATS
+Some vendors connect these chips to non-standard thermal diodes and
+resistors.
+This will result in bogus sensor values.
+.Sh BUGS
+Interrupt support is unimplemented.
+.Pp
+There are currently no known pnpbios IDs assigned to LM chips.
+.Pp
+This driver attaches to the Winbond W83791SD chip even though that
+chip does not have any sensors.
OpenPOWER on IntegriCloud