source: general/sysutils/lm_sensors.xml@ 71a9f67f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind 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 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 71a9f67f was c1968e6, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Fcron-3.1.3 (remove not working ftp) gegl-0.2.0 and babl-0.1.10 (fix URL's). Archive (comment out) XML::Parser. lm_sensors-3.3.5: Remove ftp URL and add one patch for fancontrol and for sensors.conf.default. Archive-Zip: Fix URL.

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

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