source: general/sysutils/lm_sensors.xml@ 70d6ea4

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 70d6ea4 was 15445ab, checked in by Douglas R. Reno <renodr@…>, 16 months ago

Lots of tags

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