Difference between revisions of "Package:Lm sensors"

From Funtoo
Jump to navigation Jump to search
 
Line 18: Line 18:
###i## sensors-detect
###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.
 
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.}}
{{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.}}
To enable service at boot time, add the service into openrc runlevel:
{{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