source: general/sysutils/lm_sensors.xml@ 4ad93b6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4ad93b6 was 4ad93b6, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Update to unrar-5.0.8.
Update to sysstat-10.1.6.
Update to sg3_utils-1.36.
Update to mc-4.8.9.
Update to lm_sensors-3.3.4.
Update to colord-1.0.2.

Tag several packages as lfs73.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11438 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 11.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY lm_sensors-download-http
8 "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-&lm_sensors-version;.tar.bz2">
9 <!ENTITY lm_sensors-download-ftp
10 "ftp://ftp.netroedge.com/pub/lm-sensors/lm_sensors-&lm_sensors-version;.tar.bz2">
11 <!ENTITY lm_sensors-md5sum "60cfb98ab7a8915c3ac684af5459de2e">
12 <!ENTITY lm_sensors-size "176 KB">
13 <!ENTITY lm_sensors-buildsize "2.7 MB">
14 <!ENTITY lm_sensors-time "less than 0.1 SBU">
15]>
16
17<sect1 id="lm_sensors" xreflabel="lm_sensors-&lm_sensors-version;">
18 <?dbhtml filename="lm_sensors.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>lm_sensors-&lm_sensors-version;</title>
26
27 <indexterm zone="lm_sensors">
28 <primary sortas="a-lm_sensors">lm_sensors</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to lm_sensors</title>
33
34 <para>
35 The <application>lm_sensors</application> package provides user-space
36 support for the hardware monitoring drivers in the Linux kernel.
37 This is useful for monitoring the temperature of the CPU and adjusting the
38 performance of some hardware (such as cooling fans).
39 </para>
40
41 &lfs73_checked;
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>
47 Download (HTTP): <ulink url="&lm_sensors-download-http;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download (FTP): <ulink url="&lm_sensors-download-ftp;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download MD5 sum: &lm_sensors-md5sum;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download size: &lm_sensors-size;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated disk space required: &lm_sensors-buildsize;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated build time: &lm_sensors-time;
73 </para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">lm_sensors Dependencies</bridgehead>
78
79 <bridgehead renderas="sect4">Required</bridgehead>
80 <para role="required">
81 <xref linkend="which"/>
82 </para>
83
84 <bridgehead renderas="sect4">Optional</bridgehead>
85 <para role="optional">
86 <ulink url="http://oss.oetiker.ch/rrdtool/">RRDtool (required to build the
87 <command>sensord</command> program)</ulink>
88 </para>
89
90 <para condition="html" role="usernotes">
91 User Notes: <ulink url="&blfs-wiki;/lm_sensors"/>
92 </para>
93 </sect2>
94
95 <sect2 role="kernel" id="lm_sensors-kernel">
96 <title>Kernel Configuration</title>
97
98 <para>
99 Getting your kernel config right is an iterative process that may require
100 that you recompile your kernel a couple of times. The simplest way to go
101 about it is to start by enabling modules and then compile everything that
102 may be needed by Lm Sensors as a module:
103 </para>
104
105<screen><literal>Top level
106 [*] Enable loadable module support ---&gt;
107
108Bus options (PCI etc.) ---&gt;
109 [*] PCI support
110
111Device Drivers ---&gt;
112 [*] I2C support
113 [*] I2C device interface
114 I2C Algorithms ---&gt;
115 &lt;M&gt; (configure all of them as modules)
116 I2C Hardware Bus support ---&gt;
117 &lt;M&gt; (configure all of them as modules)
118 I2C Hardware Bus support ---&gt;
119 &lt;M&gt; (configure all of them as modules)
120 [*] Hardware Monitoring support ---&gt;
121 &lt;M&gt; (configure all of them as modules)</literal></screen>
122
123 <para>
124 Recompile your kernel and reboot into the new kernel. Don't forget to
125 <command>make modules_install</command> We will come back to the kernel in
126 the Configuring section below.
127 </para>
128
129 <indexterm zone="lm_sensors lm_sensors-kernel">
130 <primary sortas="d-lm_sensors">lm_sensors</primary>
131 </indexterm>
132 </sect2>
133
134 <sect2 role="installation">
135 <title>Installation of lm_sensors</title>
136
137 <para>
138 Install <application>lm_sensors</application> by running the following
139 commands:
140 </para>
141
142<screen><userinput>make PREFIX=/usr \
143 BUILD_STATIC_LIB=0 \
144 MANDIR=/usr/share/man</userinput></screen>
145
146 <para>
147 This package does not come with a test suite.
148 </para>
149
150 <para>
151 Now, as the <systemitem class="username">root</systemitem> user:
152 </para>
153
154<screen role="root"><userinput>make PREFIX=/usr \
155 BUILD_STATIC_LIB=0 \
156 MANDIR=/usr/share/man install &amp;&amp;
157install -v -m755 -d /usr/share/doc/lm_sensors-&lm_sensors-version; &amp;&amp;
158cp -rv README INSTALL doc/* \
159 /usr/share/doc/lm_sensors-&lm_sensors-version;</userinput></screen>
160 </sect2>
161
162 <sect2 role="commands">
163 <title>Command Explanations</title>
164
165 <para>
166 <parameter>BUILD_STATIC_LIB=0</parameter>: This parameter disables
167 compiling and installing the static version of
168 <filename class="libraryfile">libsensors</filename>.
169 </para>
170
171 <para>
172 <parameter>PROG_EXTRA=sensord</parameter>: This parameter enables
173 compiling <command>sensord</command>, a daemon that can monitor your
174 system at regular intervals. Compiling <command>sensord</command> requires
175 <ulink url="http://oss.oetiker.ch/rrdtool/">RRDtool</ulink>. Compiling
176 RRDtool 1.4.6 requires a sed: <command>sed -i '/ sv_undef/d'
177 bindings/perl-shared/RRDs.xs</command>.
178 </para>
179
180 </sect2>
181
182 <sect2 role="configuration">
183 <title>Configuring Lm Sensors</title>
184
185 <sect3 id="lm_sensors-config">
186 <title>Config File</title>
187
188 <para>
189 <filename>/etc/sensors3.conf</filename>
190 </para>
191
192 <indexterm zone="lm_sensors lm_sensors-config">
193 <primary
194 sortas="e-etc-path-Configfilename2">/etc/sensors3.conf</primary>
195 </indexterm>
196
197 </sect3>
198
199 <sect3><title>Configuration Information</title>
200
201 <para>
202 To find out what hardware sensors your system has, issue the following
203 command as the <systemitem class="username">root</systemitem> user:
204 </para>
205
206<screen role="root"><userinput>sensors-detect</userinput></screen>
207
208 <para>
209 The appropriate modules should have been loaded and a summary is
210 displayed at the end. Now you know what is needed and you can recompile
211 your kernel to enable just the options you need (i.e., don't enable the
212 modules you cannot use).
213 </para>
214
215 </sect3>
216
217 </sect2>
218
219 <sect2 role="content">
220 <title>Contents</title>
221
222 <segmentedlist>
223 <segtitle>Installed Programs</segtitle>
224 <segtitle>Installed Library</segtitle>
225 <segtitle>Installed Directories</segtitle>
226
227 <seglistitem>
228 <seg>
229 fancontrol, isadump, isaset, pwmconfig, sensors, sensors-conf-convert,
230 sensors-detect, and optionally, sensord
231 </seg>
232 <seg>
233 libsensors.so
234 </seg>
235 <seg>
236 /usr/include/sensors and
237 /usr/share/doc/lm_sensors-&lm_sensors-version;
238 </seg>
239 </seglistitem>
240 </segmentedlist>
241
242 <variablelist>
243 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
244 <?dbfo list-presentation="list"?>
245 <?dbhtml list-presentation="table"?>
246
247 <varlistentry id="fancontrol">
248 <term><command>fancontrol</command></term>
249 <listitem>
250 <para>
251 is a shell script for use with <application>lm_sensors</application>.
252 It reads its configuration from a file<!--what file?-->, then
253 calculates fan speeds from temperatures and sets the corresponding
254 PWM outputs to the computed values.
255 </para>
256 <indexterm zone="lm_sensors fancontrol">
257 <primary sortas="b-fancontrol">fancontrol</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 <varlistentry id="isadump">
263 <term><command>isadump</command></term>
264 <listitem>
265 <para>
266 is a small helper program to examine registers visible through the
267 ISA bus. It is intended to probe any chip that lives on the ISA bus
268 working with an address register and a data register (I2C-like
269 access) or a flat range (of up to 256 bytes).
270 </para>
271 <indexterm zone="lm_sensors isadump">
272 <primary sortas="b-isadump">isadump</primary>
273 </indexterm>
274 </listitem>
275 </varlistentry>
276
277 <varlistentry id="isaset">
278 <term><command>isaset</command></term>
279 <listitem>
280 <para>
281 is a small helper program to set registers visible through the ISA
282 bus.
283 </para>
284 <indexterm zone="lm_sensors isaset">
285 <primary sortas="b-isaset">isaset</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289
290 <varlistentry id="pwmconfig">
291 <term><command>pwmconfig</command></term>
292 <listitem>
293 <para>
294 tests the pulse width modulation (PWM) outputs of sensors and
295 configures fancontrol.
296 </para>
297 <indexterm zone="lm_sensors pwmconfig">
298 <primary sortas="b-pwmconfig">pwmconfig</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry id="sensors">
304 <term><command>sensors</command></term>
305 <listitem>
306 <para>
307 prints the current readings of all sensor chips.
308 </para>
309 <indexterm zone="lm_sensors sensors">
310 <primary sortas="b-sensors">sensors</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
315 <varlistentry id="sensors-conf-convert">
316 <term><command>sensors-conf-convert</command></term>
317 <listitem>
318 <para>
319 is a <application>Perl</application> script to convert
320 <application>lm-sensors</application> version 2 configuration files
321 to work with version 3.
322 </para>
323 <indexterm zone="lm_sensors sensors-conf-convert">
324 <primary sortas="b-sensors-conf-convert">sensors-conf-convert</primary>
325 </indexterm>
326 </listitem>
327 </varlistentry>
328
329 <varlistentry id="sensors-detect">
330 <term><command>sensors-detect</command></term>
331 <listitem>
332 <para>
333 is a <application>Perl</application> script that will walk you
334 through the process of scanning your system for various hardware
335 monitoring chips (sensors) supported by
336 <filename class="libraryfile">libsensors</filename>, or more
337 generally by the <application>lm_sensors</application> tool suite.
338 </para>
339 <indexterm zone="lm_sensors sensors-detect">
340 <primary sortas="b-sensors-detect">sensors-detect</primary>
341 </indexterm>
342 </listitem>
343 </varlistentry>
344
345 <varlistentry id="libsensors">
346 <term><filename class="libraryfile">libsensors.so</filename></term>
347 <listitem>
348 <para>
349 contains the <application>lm_sensors</application> API functions.
350 </para>
351 <indexterm zone="lm_sensors libsensors">
352 <primary sortas="c-libsensors">libsensors.so</primary>
353 </indexterm>
354 </listitem>
355 </varlistentry>
356
357 </variablelist>
358
359 </sect2>
360
361</sect1>
Note: See TracBrowser for help on using the repository browser.