2 .\" Copyright (c) 2016 Andriy Gapon <avg@FreeBSD.org>
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 .Nd driver for temperature sensors on memory modules
34 .Bd -ragged -offset indent
39 Alternatively, to load the driver as a
40 module at boot time, place the following line in
42 .Bd -literal -offset indent
47 .Pa /boot/device.hints :
48 .Bd -literal -offset indent
49 .Cd hint.jedec_ts.0.at="smbus0"
50 .Cd hint.jedec_ts.0.addr="0x30"
51 .Cd hint.jedec_ts.1.at="smbus0"
52 .Cd hint.jedec_ts.1.addr="0x32"
53 .Cd hint.jedec_ts.2.at="smbus0"
54 .Cd hint.jedec_ts.2.addr="0x34"
55 .Cd hint.jedec_ts.3.at="smbus0"
56 .Cd hint.jedec_ts.3.addr="0x36"
57 .Cd hint.jedec_ts.4.at="smbus0"
58 .Cd hint.jedec_ts.4.addr="0x38"
59 .Cd hint.jedec_ts.5.at="smbus0"
60 .Cd hint.jedec_ts.5.addr="0x3A"
61 .Cd hint.jedec_ts.6.at="smbus0"
62 .Cd hint.jedec_ts.6.addr="0x3C"
63 .Cd hint.jedec_ts.7.at="smbus0"
64 .Cd hint.jedec_ts.7.addr="0x3E"
69 driver provides access to sensor data over the
71 The driver supports temperature sensors on memory modules that conform
72 to JEDEC Standard 21-C, TSE2002 Specification.
79 .Bl -tag -width "dev.jedec_ts.%d.temp"
80 .It Va dev.jedec_ts.%d.temp
81 read-only value of the current temperature read by the sensor.
86 these values are configurable for
88 .Bl -tag -width "hint.jedec_ts.%d.addr"
89 .It Va hint.jedec_ts.%d.at
92 .It Va hint.jedec_ts.%d.addr
99 temperature sensors can be wired to eight different addresses,
100 allowing up to eight sensors on the same
103 If the sensors are on an I2C bus behind an
107 bridge driver can be used to attach the
110 .Ss Sensor read out for two memory modules:
112 dev.jedec_ts.0.temp: 40.2500C
113 dev.jedec_ts.1.temp: 40.7500C
123 driver first appeared in
129 driver and this manual page were written by
130 .An Andriy Gapon Aq Mt avg@FreeBSD.org .