This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!
lm_sensors is a hardware monitoring utility package.
Table of contents¶
A correct kernel config is needed:
$ cd /usr/src/linux # make nconfig > > Device Drivers ---> > I2C support ---> > -*- I2C support # Symbol: I2C [=y] > ... > <*> I2C device interface # Symbol: I2C_CHARDEV [=y] > > Device Drivers ---> > <*> Hardware Monitoring support ---> # Symbol: HWMON [=y] # # Select a driver, e.g.: # > [*] Intel Core/Core2/Atom temperature sensor (coretemp) # Symbol: SENSORS_CORETEMP [=y]
After configuring the kernel don't forget to do a kernel make and rebuild!
lm_sensors to the USE variable in your
# euse -E lm_sensors # vi /etc/portage/make.conf # check that the use flag "lm_sensors" has been append: > ... > USE="... lm_sensors" > ...
After modifying the
USE variable in your
make.conf, don't forget to update the
system using the following command so the changes take effect:
# emerge --ask
--changed-use --deep @world
Run a sensors detection:
lm_sensorsto your init system start it:
- Finally, you can run it like so:
If this cheat sheet has been useful to you, then please consider leaving a star here.