Changeset 33c63de8 for general


Ignore:
Timestamp:
09/06/2024 07:16:09 PM (2 weeks ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
trunk
Children:
ccb798f
Parents:
74d1cc1
Message:

Clean up lm-sensors page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/lm_sensors.xml

    r74d1cc1 r33c63de8  
    55  %general-entities;
    66
    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">
     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">
    1313]>
    1414
    1515<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>
     16  <?dbhtml filename="lm-sensors.html"?>
     17
     18
     19  <title>lm-sensors-&lm-sensors-version;</title>
    2020
    2121  <indexterm zone="lm_sensors">
    22     <primary sortas="a-lm_sensors">lm_sensors</primary>
     22    <primary sortas="a-lm_sensors">lm-sensors</primary>
    2323  </indexterm>
    2424
    2525  <sect2 role="package">
    26     <title>Introduction to Lm_sensors</title>
    27 
    28     <para>
    29       The <application>lm_sensors</application> package provides userspace
     26    <title>Introduction to lm-sensors</title>
     27
     28    <para>
     29      The <application>lm-sensors</application> package provides userspace
    3030      support for the hardware monitoring drivers in the Linux kernel.
    3131      This is useful for monitoring the temperature of the CPU and adjusting the
     
    3939      <listitem>
    4040        <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;
     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;
    6767        </para>
    6868      </listitem>
    6969    </itemizedlist>
    7070
    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>
     71    <bridgehead renderas="sect3">lm-sensors Dependencies</bridgehead>
    8272
    8373    <bridgehead renderas="sect4">Required</bridgehead>
     
    9181      build the <command>sensord</command> program) and
    9282      <ulink role="runtime"
    93              url="https://www.nongnu.org/dmidecode/">dmidecode</ulink>
    94       (runtime)
     83             url="https://www.nongnu.org/dmidecode/">dmidecode</ulink> (runtime)
    9584    </para>
    9685
     
    126115
    127116  <sect2 role="installation">
    128     <title>Installation of Lm_sensors</title>
    129 
    130     <para>
    131       Install <application>Lm_sensors</application> by running the following
     117    <title>Installation of lm-sensors</title>
     118
     119    <para>
     120      Install <application>lm-sensors</application> by running the following
    132121      commands:
    133122    </para>
    134123
    135 <!-- <screen><userinput>patch -Np1 -i ../lm_sensors-&lm_sensors-version;-upstream_fixes-1.patch &amp;&amp; -->
    136124<screen><userinput>make PREFIX=/usr           \
    137125     BUILD_STATIC_LIB=0    \
     
    151139     MANDIR=/usr/share/man install &amp;&amp;
    152140
    153 install -v -m755 -d /usr/share/doc/lm_sensors-&lm-sensors-version; &amp;&amp;
     141install -v -m755 -d /usr/share/doc/lm-sensors-&lm-sensors-version; &amp;&amp;
    154142cp -rv              README INSTALL doc/* \
    155                     /usr/share/doc/lm_sensors-&lm-sensors-version;</userinput></screen>
     143                    /usr/share/doc/lm-sensors-&lm-sensors-version;</userinput></screen>
    156144  </sect2>
    157145
     
    180168      to install RRDtool in <filename class="directory">/usr</filename>
    181169      by running <command>make prefix=/usr</command> when building it.
    182       Otherwise, Lm_sensors will not find it easily.
     170      Otherwise, lm-sensors will not find it easily.
    183171    </para>
    184172
     
    186174
    187175  <sect2 role="configuration">
    188     <title>Configuring Lm_sensors</title>
     176    <title>Configuring lm-sensors</title>
    189177
    190178    <sect3 id="lm_sensors-config">
     
    201189
    202190    </sect3>
    203     <!-- Completely outdated.  It only sets a list of kernel modules which
    204          should be loaded by lm_sensors.  But today udev will load them
    205          once the sensor device is detected by the kernel.
    206     <sect3><title>Configuration Information</title>
    207 
    208       <para>
    209         To find out what hardware sensors your system has, issue the following
    210         command as the <systemitem class="username">root</systemitem> user:
    211       </para>
    212 
    213 <screen role="root"><userinput>sensors-detect</userinput></screen>
    214 
    215       <para>
    216         The appropriate modules should have been loaded and a summary is
    217         displayed at the end. Now you know what is needed and you can recompile
    218         your kernel to enable just the options you need (i.e., don't enable the
    219         modules you cannot use).
    220       </para>
    221 
    222     </sect3>
    223     -->
     191
    224192  </sect2>
    225193
     
    243211          /etc/sensors.d,
    244212          /usr/include/sensors and
    245           /usr/share/doc/lm_sensors-&lm-sensors-version;
     213          /usr/share/doc/lm-sensors-&lm-sensors-version;
    246214        </seg>
    247215      </seglistitem>
     
    257225        <listitem>
    258226          <para>
    259             is a shell script for use with <application>lm_sensors</application>.
    260             It reads its configuration from a file<!--what file?-->, then
    261             calculates fan speeds from temperatures and sets the corresponding
    262             PWM outputs to the computed values
     227            is a shell script for use with
     228            <application>lm-sensors</application>.  It reads its configuration
     229            from a file (/etc/sensors3.conf by default), then calculates fan
     230            speeds from temperatures and sets the corresponding PWM outputs to
     231            the computed values
    263232          </para>
    264233          <indexterm zone="lm_sensors fancontrol">
     
    343312            monitoring chips (sensors) supported by
    344313            <filename class="libraryfile">libsensors</filename>, or more
    345             generally by the <application>lm_sensors</application> tool suite
     314            generally by the <application>lm-sensors</application> tool suite
    346315          </para>
    347316          <indexterm zone="lm_sensors sensors-detect">
     
    368337        <listitem>
    369338          <para>
    370             contains the <application>lm_sensors</application> API functions
     339            contains the <application>lm-sensors</application> API functions
    371340          </para>
    372341          <indexterm zone="lm_sensors libsensors">
Note: See TracChangeset for help on using the changeset viewer.