Difference between revisions of "Package:Lm sensors"

From Funtoo
Jump to navigation Jump to search
Line 13: Line 13:
== Configuration ==
== Configuration ==


The <code>lm_sensors</code> service needs configuration in the <code>/etc/conf.d/lm_sensors</code> file, which doesn't exists by default and can be generated by running the <code>sensors-detect</code> tool. This tool will try to identify the kernel's modules needed by sensors and then place them into configuration file to be loaded/unloaded when the service starts/stops.
The <code>lm_sensors</code> service needs configuration in the <code>/etc/conf.d/lm_sensors</code> file, which doesn't exists by default and can be generated by running the <code>sensors-detect</code> tool.  


Beware, when some of these modules are loaded when the tool starts (e.g. from <code>/etc/conf.d/modules</code> or manually) , they will not added into configuration file. When the modules are loaded manually, the result can be, that they will not be loaded on next system (re)start.
{{console|body=
###i## sensors-detect
}}
This tool will try to identify the kernel's modules needed by sensors and then place them into configuration file <code>/etc/conf.d/lm_sensors</code> to be loaded/unloaded when the service starts/stops.
 
{{Note|When some of these modules are loaded (e.g. from <code>/etc/conf.d/modules</code> or manually), <code>sensors-detect</code> can skip adding them  into configuration file and service will not start them with next system (re)start.}}


{{EbuildFooter}}
{{EbuildFooter}}

Revision as of 17:38, June 9, 2016

Lm sensors

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Introduction

lm_sensors is a free and open-source application that provides tools and drivers for monitoring temperatures, voltage, and fans. This document explains how to install, configure, and use lm_sensors.

Installation

root # emerge lm_sensors

Configuration

The lm_sensors service needs configuration in the /etc/conf.d/lm_sensors file, which doesn't exists by default and can be generated by running the sensors-detect tool.

root # sensors-detect

This tool will try to identify the kernel's modules needed by sensors and then place them into configuration file /etc/conf.d/lm_sensors to be loaded/unloaded when the service starts/stops.

   Note

When some of these modules are loaded (e.g. from /etc/conf.d/modules or manually), sensors-detect can skip adding them into configuration file and service will not start them with next system (re)start.