注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Package:Lm sensors"

From Funtoo
Jump to navigation Jump to search
(notice about configuration)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
== Introduction==
== Introduction==
<code>lm_sensors</code> 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.
<code>lm_sensors</code> 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 ==
{{console|body=
###i## emerge lm_sensors
}}
== 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.
 
{{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.}}


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.
To enable service at boot time, add the service into openrc runlevel:


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## rc-update add lm_sensors default
}}


{{EbuildFooter}}
{{EbuildFooter}}

Latest revision as of 17:58, 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.

To enable service at boot time, add the service into openrc runlevel:

root # rc-update add lm_sensors default