Arch linux lm sensors

Arch Linux User Repository

Search Criteria

Package Details: lm_sensors-git r5279.248d4a17-1

Package Actions

Git Clone URL: https://aur.archlinux.org/lm_sensors-git.git (read-only, click to copy)
Package Base: lm_sensors-git
Description: Collection of user space tools for general SMBus access and hardware monitoring
Upstream URL: https://github.com/lm-sensors/lm-sensors
Licenses: GPL, LGPL
Conflicts: lm_sensors
Provides: lm_sensors
Submitter: tlercher
Maintainer: tlercher
Last Packager: tlercher
Votes: 2
Popularity: 0.000006
First Submitted: 2018-02-17 00:31
Last Updated: 2020-05-08 08:50

Dependencies (4)

  • perl (perl-git)
  • git (git-git, git-vfs) (make)
  • rrdtool(make)
  • rrdtool(optional) – for logging with sensord

Required by (110)

  • afancontrol (requires lm_sensors) (optional)
  • archey4 (requires lm_sensors) (optional)
  • argonone-git (requires lm_sensors)
  • awn-extras-applets (requires lm_sensors) (optional)
  • awn-extras-applets-git (requires lm_sensors) (optional)
  • bfgminer (requires lm_sensors)
  • bfgminer-git (requires lm_sensors)
  • cairo-dock-plug-ins-git (requires lm_sensors) (optional)
  • cairo-dock-plug-ins-git (requires lm_sensors) (make)
  • cinnamon-applet-cpu-temperatur-git (requires lm_sensors)
  • climate (requires lm_sensors) (optional)
  • collectd (requires lm_sensors) (optional)
  • collectd (requires lm_sensors) (make)
  • conky-bargile (requires lm_sensors)
  • conky-colors-git (requires lm_sensors)
  • corestats (requires lm_sensors)
  • cpufreqd (requires lm_sensors)
  • cronograph-conky (requires lm_sensors)
  • distroflex (requires lm_sensors) (optional)
  • fancon (requires lm_sensors)
  • fancon-git (requires lm_sensors)
  • fancontrol-gui (requires lm_sensors)
  • fancontrol-gui-git (requires lm_sensors)
  • fanctl (requires lm_sensors)
  • gauge (requires lm_sensors)
  • gkrellm-git (requires lm_sensors)
  • gkrellmd-git (requires lm_sensors)
  • glxosd (requires lm_sensors)
  • glxosd-aarch64-git (requires lm_sensors)
  • glxosd-fix-git (requires lm_sensors)
  • glxosd-git (requires lm_sensors)
  • gnome-shell-extension-freon (requires lm_sensors)
  • gnome-shell-extension-freon-git (requires lm_sensors)
  • gnome-shell-extension-vitals-git (requires lm_sensors)
  • gst (requires lm_sensors)
  • hegemon (requires lm_sensors)
  • htop-dev-git (requires lm_sensors)
  • htop-solarized (requires lm_sensors) (make)
  • htop-solarized (requires lm_sensors) (optional)
  • htop-temperature (requires lm_sensors)
  • htop-temperature-git (requires lm_sensors)
  • htop-temperature-rpi (requires lm_sensors)
  • htop-vim (requires lm_sensors) (make)
  • htop-vim (requires lm_sensors) (optional)
  • htop-vim-temperature (requires lm_sensors)
  • i3blocks-contrib (requires lm_sensors) (optional)
  • i3blocks-contrib-git (requires lm_sensors) (optional)
  • i3blocks-git (requires lm_sensors) (optional)
  • i3status-rust-git (requires lm_sensors) (optional)
  • indicator-sensors (requires lm_sensors)
  • indicator-sensors-git (requires lm_sensors) (optional)
  • inxi (requires lm_sensors) (optional)
  • inxi-git (requires lm_sensors) (optional)
  • inxi-perl-git (requires lm_sensors) (optional)
  • j4status-git (requires lm_sensors)
  • kdebase-workspace (requires lm_sensors)
  • kdebase-workspace-consolekit (requires lm_sensors)
  • kdeplasma-applets-awesome-widgets-git (requires lm_sensors)
  • kismet-git (requires lm_sensors)
  • levd-git (requires lm_sensors)
  • libva-mesa-driver-noglvnd (requires lm_sensors) (make)
  • liquidprompt (requires lm_sensors) (optional)
  • liquidprompt-git (requires lm_sensors) (optional)
  • lxqt-panel-git (requires lm_sensors)
  • mate-sensors-applet-gtk2 (requires lm_sensors)
  • mesa-d3d12 (requires lm_sensors) (make)
  • mesa-d3d12 (requires lm_sensors)
  • mesa-git (requires lm_sensors)
  • mesa-i915g (requires lm_sensors)
  • mesa-i915g (requires lm_sensors) (make)
  • mesa-libgl-noglvnd (requires lm_sensors) (make)
  • mesa-minimal-git (requires lm_sensors)
  • mesa-noglvnd (requires lm_sensors)
  • mesa-noglvnd (requires lm_sensors) (make)
  • mesa-vdpau-noglvnd (requires lm_sensors) (make)
  • monitorix (requires lm_sensors) (optional)
  • monitorix-git (requires lm_sensors) (optional)
  • netdata-cloud (requires lm_sensors) (optional)
  • netdata-git (requires lm_sensors) (optional)
  • opencl-mesa-noglvnd (requires lm_sensors) (make)
  • openscada-lts (requires lm_sensors)
  • openss7-modules-ec2-lts-git (requires lm_sensors) (make)
  • perl-hardware-sensorparser (requires lm_sensors)
  • phpsysinfo (requires lm_sensors) (optional)
  • psensor-git (requires lm_sensors)
  • pyfan (requires lm_sensors) (optional)
  • pysensors-git (requires lm_sensors)
  • python-py3sensors-hg (requires lm_sensors)
  • python-sense-hat (requires lm_sensors)
  • python2-sensors (requires lm_sensors)
  • python3-sensors-git (requires lm_sensors)
  • qtile-git (requires lm_sensors) (optional)
  • sensors-lxpanel-plugin (requires lm_sensors)
  • synth-shell-greeter-git (requires lm_sensors)
  • synth-shell-prompt-git (requires lm_sensors)
  • system76-driver (requires lm_sensors)
  • system76-driver-git (requires lm_sensors)
  • thinkfan (requires lm_sensors) (optional)
  • thinkfan-git (requires lm_sensors) (optional)
  • thinkfan-ui (requires lm_sensors)
  • towerfall-hib (requires lm_sensors)
  • vdr-systeminfo (requires lm_sensors)
  • vulkan-intel-noglvnd (requires lm_sensors) (make)
  • vulkan-radeon-noglvnd (requires lm_sensors) (make)
  • wmgtemp (requires lm_sensors)
  • xde-applets (requires lm_sensors)
  • xde-applets-git (requires lm_sensors)
  • xfce4-sensors-plugin-nvidia (requires lm_sensors)
  • xfce4-sensors-plugin-nvidia-hddtemp_through_netcat-current (requires lm_sensors)
  • xsensors-gtk2 (requires lm_sensors)
Читайте также:  Не запускается spore galactic adventures windows 10

Sources (2)

Latest Comments

codebling commented on 2021-04-01 21:53

I can see that the package provides lm_sensors , but I am still getting a message warning me of a conflict whenever I try to upgrade.

I’m able to work around this by allowing pacman to install lm_sensors , then removing the package ( pacman -R -dd lm_sensors ) and reinstalling lm_sensors-git ( pikaur -Sa lm_sensors-git ), but any idea why pacman is complaining in the first place?

mati865 commented on 2018-03-17 18:39

Thanks for immediate reaction!

tlercher commented on 2018-03-17 18:37

Hi mati865, the bug was fixed upstream; I updated the PKGBUILD.

Thanks for letting me know!

mati865 commented on 2018-03-17 18:33

Hi, Patch doesn’t apply cleanly. Regards

Copyright © 2004-2021 aurweb Development Team.

AUR packages are user produced content. Any use of the provided files is at your own risk.

Источник

lm_sensors

lm_sensors (Linux monitoring 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.

Contents

Installation

Setup

Use sensors-detect as root to detect and generate a list of kernel modules:

It will ask to probe for various hardware. The «safe» answers are the defaults, so just hitting Enter to all the questions will generally not cause any problems. This will create the /etc/conf.d/lm_sensors configuration file which is used by lm_sensors.service to automatically load kernel modules on boot.

When the detection is finished, a summary of the probes is presented.

Running sensors

Example running sensors :

Adding DIMM Temperature sensors

This article or section needs language, wiki syntax or style improvements. See Help:Style for reference.

To find the temperature sensors of DIMMs, install the i2c-tools package. Once installed, load the i2c-dev kernel module.

Than search buses with this command.

This will show the SMBuses like:

In my system, RAM sticks connected to the bus is SMBus 0. i2cdetect command will show the devices that connected to the bus. The «-y 0» argument means use i2c-0 smbus. You can check other buses if needed.

command will gives the table:

RAM SPD’s are start from address 0x50 and RAM temp sensors start from 0x18 at same bus. In my system, there are 2 DIMMs available. So address of 0x18 and 0x19 are DIMMs temp sensors.

After found this info, to read temperatures of RAM sticks, we need jc42 kernel module loaded. After that you need to tell to module that which addresses are need to used. Process is writing to smbus

After that your ram sticks temperature will be visible on sensors command

Reading SPD values from memory modules (optional)

To read the SPD timing values from memory modules, install the i2c-tools package. Once installed, load the eeprom kernel module.

Читайте также:  Windows store ошибка 0x80240024

Finally, view memory information with decode-dimms .

Here is partial output from one machine:

Using sensor data

Graphical front-ends

There are a variety of front-ends for sensors data.

  • psensor — GTK application for monitoring hardware sensors, including temperatures and fan speeds. Monitors motherboard and CPU (using lm-sensors), Nvidia GPUs (using XNVCtrl), and harddisks (using hddtemp or libatasmart).

https://wpitchoune.net/psensor/ || psensor

  • xsensors — X11 interface to lm_sensors.

https://linuxhardware.org/xsensors/ || xsensors

  • Freon (GNOME Shell extension) — Extension for displaying CPU temperature, disk temperature, video card temperature , voltage and fan RPM in GNOME Shell.

https://github.com/UshakovVasilii/gnome-shell-extension-freon || gnome-shell-extension-freonAUR

  • GNOME Sensors Applet — Applet for the GNOME Panel to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings.

http://sensors-applet.sourceforge.net/ || sensors-applet

  • lm-sensors (LXPanel plugin) — Monitor temperature/voltages/fan speeds in LXDE through lm-sensors.

https://danamlund.dk/sensors_lxpanel_plugin/ || sensors-lxpanel-pluginAUR

  • MATE Sensors Applet — Display readings from hardware sensors in your MATE panel.

https://github.com/mate-desktop/mate-sensors-applet || mate-sensors-applet

  • Sensors (Xfce4 panel plugin) — Hardware sensors plugin for the Xfce panel.

https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin || xfce4-sensors-plugin

  • Thermal Monitor (Plasma 5 applet) — KDE Plasma applet for monitoring CPU, GPU and other available temperature sensors.

https://gitlab.com/agurenko/plasma-applet-thermal-monitor || plasma5-applets-thermal-monitor-gitAUR

sensord

There is an optional daemon called sensord (included with the lm_sensors package) which can log data to a round robin database (rrd) and later visualize graphically. See the sensord(8) man page for details.

Tips and tricks

Adjusting values

In some cases, the data displayed might be incorrect or users may wish to rename the output. Use cases include:

  • Incorrect temperature values due to a wrong offset (i.e. temps are reported 20 °C higher than actual).
  • Users wish to rename the output of some sensors.
  • The cores might be displayed in an incorrect order.

All of the above (and more) can be adjusted by overriding the package provides settings in /etc/sensors3.conf by creating /etc/sensors.d/foo wherein any number of tweaks will override the default values. It is recommended to rename ‘foo’ to the motherboard brand and model but this naming nomenclature is optional.

Example 1. Adjusting temperature offsets

This is a real example on a Zotac ION-ITX-A-U motherboard. The coretemp values are off by 20 °C (too high) and are adjusted down to Intel specs.

Run sensors with the -u switch to see what options are available for each physical chip (raw mode):

Create the following file overriding the default values:

Now invoking sensors shows the adjust values:

Example 2. Renaming labels

This is a real example on an Asus A7M266. The user wishes more verbose names for the temperature labels temp1 and temp2 :

Create the following file to override the default values:

Now invoking sensors shows the adjust values:

Example 3. Renumbering cores for multi-CPU systems

This is a real example on an HP Z600 workstation with dual Xeons. The actual numbering of physical cores is incorrect: numbered 0, 1, 9, 10 which is repeated into the second CPU. Most users expect the core temperatures to report out in sequential order, i.e. 0,1,2,3,4,5,6,7.

Again, run sensors with the -u switch to see what options are available for each physical chip:

Create the following file overriding the default values:

Читайте также:  Windows 10 маленький fps

Now invoking sensors shows the adjust values:

Automatic lm_sensors deployment

Users wishing to deploy lm_sensors on multiple machines can use the following to accept the defaults to all questions:

Troubleshooting

K10Temp module

Some K10 processors have issues with their temperature sensor. See the k10temp documentation for more information.

On affected machines the module will report «unreliable CPU thermal sensor; monitoring disabled». To force monitoring anyway, you can run the following:

Confirm that the sensor is in fact valid and reliable. If it is, can edit /etc/modprobe.d/k10temp.conf and add:

This will allow the module to load at boot.

Asus B450M-A/A320M-K/A320M-K-BR motherboards

These motherboards use a IT8655E chip, which is not supported by the it87 kernel driver, as of Nov 2020 [1]. However, it is supported by the upstream version of the kernel driver [2]. The DKMS variant is contained in it87-dkms-git AUR .

Asus B450/X399/X470 motherboards with AM4 Socket

Some recent Asus motherboards use a ITE IT8665E chip, accessing the temperature, fan and voltage sensors may require the asus-wmi-sensors module. Install asus-wmi-sensors-dkms-git AUR and load the asus-wmi-sensors kernel module, the module uses the UEFI interface and may require a BIOS update on some boards [3].

Alternatively, the it87 module reads the values from the chip directly, install it87-dkms-git AUR and load the it87 kernel module.

Asus H97/Z97/Z170/X570/B550 motherboards

With some recent Asus motherboards, fan and voltage sensor access may require the nct6775 kernel module to be loaded.

You may also need to add the following kernel parameter:

Gigabyte B250/Z370/B450M motherboards

Some Gigabyte motherboards use the ITE IT8686E chip, which is not supported by the it87 kernel driver, as of May 2019 [4]. However, it is supported by the upstream version of the kernel driver [5]. The DKMS variant is contained in it87-dkms-git AUR . As with #Asus H97/Z97/Z170/X570/B550 motherboards, a kernel parameter is required before attempting to install the module:

Furthermore, supply the id of the chip when loading the module as follows:

Or you can load the module during boot process by creating the following two files:

Once the module is loaded you can use the sensors tool to probe the chip. Now you can also use fancontrol to control the speed step of your case fan.

Optionally installation of zenpower-dkms AUR may allow greater fine tuning of the motherboard’s cooling system. However, it does disable the default k10temp module.

Gigabyte GA-J1900N-D3V

This motherboard uses the ITE IT8620E chip (useful also to read voltages, mainboard temp, fan speed). As of October 2014, lm_sensors has no driver support for chip ITE IT8620E [6] [7]. lm_sensors developers had a report that the chip is somewhat compatible with the IT8728F for the hardware monitoring part. However, as of August 2016, [8] lists the IT8620E as supported.

You can load the module at runtime with modprobe:

Or you can load the modules during boot process by creating the following two files:

Once the module is loaded you can use the sensors tool to probe the chip.

Now you can also use fancontrol to control the speedsteps of your case fan.

Источник

Оцените статью