Changeset c1beec54 for general/sysutils


Ignore:
Timestamp:
07/31/2023 01:44:37 PM (11 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
08c3c25
Parents:
9cc0aba5
git-author:
Xi Ruoyao <xry111@…> (07/30/2023 01:33:16 PM)
git-committer:
Xi Ruoyao <xry111@…> (07/31/2023 01:44:37 PM)
Message:

lm_sensors: Modernize, and use new rendering for kernel configuration

I believe the book documented how to configure the sensors in 1990s.
Let's document some modern thing instead.

Location:
general/sysutils
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/lm_sensors.xml

    r9cc0aba5 rc1beec54  
    101101
    102102    <para>
    103       Getting your kernel config right is an iterative process that may require
    104       that you recompile your kernel a couple of times. The simplest way to go
    105       about it is to start by enabling modules and then compile everything that
    106       may be needed by Lm Sensors as a module:
    107     </para>
    108 
    109 <screen><literal>[*] Enable loadable module support  ---&gt;  [CONFIG_MODULES]
    110 
    111 Device Drivers  ---&gt;
    112   [*] PCI support ---&gt;                    [CONFIG_PCI]
    113   I2C support ---&gt;
    114     &lt;*/M&gt; I2C device interface            [CONFIG_I2C_CHARDEV]<!--
    115 Seems to be automatically selected and invisible on linux 3.17:
    116     I2C Algorithms  -&45;-&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   &lt;*/M&gt; Hardware Monitoring support  ---&gt; [CONFIG_HWMON]
    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.
     103      The following configuration options attempt to cover the most common
     104      hardware monitoring devices in a typical desktop or laptop system.
     105      View the help of each (by pressing the <keycap>H</keycap> button
     106      with the option focused in the <command>make menuconfig</command>)
     107      to know if you need it.  There are many platform-specific hardware
     108      monitoring devices so it's impossible to list the configuration for
     109      all of them here.  You may investigate the content of
     110      <filename class='directory'>/sys/class/hwmon</filename> within a
     111      <quote>mainstream</quote> distro running on the system to know which
     112      drivers you need.
     113    </para>
     114
     115    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     116      href="lm_sensors-kernel.xml"/>
     117
     118    <para>
     119      Recompile your kernel and reboot into the new kernel.
    127120    </para>
    128121
     
    199192
    200193    </sect3>
    201 
     194    <!-- Completely outdated.  It only sets a list of kernel modules which
     195         should be loaded by lm_sensors.  But today udev will load them
     196         once the sensor device is detected by the kernel.
    202197    <sect3><title>Configuration Information</title>
    203198
     
    217212
    218213    </sect3>
    219 
     214    -->
    220215  </sect2>
    221216
Note: See TracChangeset for help on using the changeset viewer.