Skip to main content

Questions tagged [sensors]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
39 views

Does udev have an issue with the 'hwmon' subsystem?

I have a temp/humidity sensor connected to the i2c-0 interface on a Raspberry Pi: Rpi OS ver 'bookworm'. It works fine, and I can read sensor values from the files in /sys/class/hwmon/hwmon2 (or ...
Seamus's user avatar
  • 3,087
1 vote
1 answer
325 views

Getting CPU temp from the command line

What is the best way to get the CPU temperature on Linux from the command line? On one small portable system, I was able to get the CPU temperature from here: /sys/class/thermal/thermal_zone0/temp or ...
ppppppp2's user avatar
0 votes
2 answers
83 views

Access sensors of PowerX H61 motherboard

I have recently bought a motherboard of the PowerX model having an Intel H61 chipset -- this one. I ran the sensors command and it shows only the CPU temperatures. Fan speed is not available. Running ...
Puspam's user avatar
  • 126
-1 votes
1 answer
98 views

How can I 'sudo watch sensors' and 'sudo docker stats' in one window on Ubuntu Server?

I tried watch 'sensors | sudo docker stats' sudo 'docker stats | watch sensors' sudo docker stats | sudo watch sensors So I assume its not possible to display both outputs in one window? Other than ...
cpitts88's user avatar
0 votes
1 answer
2k views

pwmconfig can't find fans, which are modifiable in uefi Bios

I would like to change the fan speeds on my PC. In the Asus BIOS settings, this is possible with PWM and DC (three of them are connected with 4 pins), but the running operating system seems to have ...
user7954302's user avatar
0 votes
2 answers
666 views

Why aren't the CPU core numbers in sensors output consecutive?

The core number is 0,4,8,.....39 in the sensors command. Why not 0,1,2,3,4.....? foo@foo-linux:~$ sensors coretemp-isa-0000 Adapter: ISA adapter Package id 0: +73.0°C (high = +80.0°C, crit = +100.0°...
Mark K's user avatar
  • 895
13 votes
12 answers
15k views

CPU temperature often reaches 100°C

I have a new desktop computer with Intel i7-12700 32GB RAM. I am doing build code stuff, I use the sensors command to check CPU temperature, and I found most of the cores are @ 100C. Is that normal? ...
Mark K's user avatar
  • 895
1 vote
0 answers
352 views

How to properly read from a sensor with libiio?

I am trying to read one sample from a sensor using libiio, but for some reason I always get the same sample unless I restart the application. Here is a minimal example #include <stdio.h> #...
neolith's user avatar
  • 253
0 votes
1 answer
150 views

AntiX linux disable laptop fan

I am trying to boot AntiX LiveCD on my old Toshiba A200 laptop with 2 GB of RAM. But when I accidentally launched the "sensors" in the terminal, I saw that the CPU temperature was 70°C! I ...
Peter's user avatar
  • 17
0 votes
1 answer
211 views

How to solve error "Retrieving package sensors failed to mount" to succeed installation of sensors package by zypper?

I have a server, i need to check server temperature ,so simply i decided to use sensors package, using zypper to install it. So First I used zypper install sensors command by root user, The result ...
setare's user avatar
  • 1
0 votes
1 answer
2k views

Is there any difference between #include <linux/ioctl.h> and #include <sys/ioctl.h>?

I have to write a device driver code for temperature sensor using IOCTL, when I was going through a lot of sample codes, I found while surfing the net, I came across this difference in header file, I ...
hari's user avatar
  • 9
1 vote
1 answer
396 views

Arch linux: CPU temprerature is -125°C (thinkpad x390)

I had some problems with fans in my laptop so I tried to diagnose it. When I run sensors command I get this: ... coretemp-isa-0000 Adapter: ISA adapter Package id 0: +58.0°C (high = +100.0°C, crit =...
Jan Černý's user avatar
  • 1,441
1 vote
1 answer
188 views

Debian Testing freezing because of overheating, fan sensors give confusing info

I'm running Debian Testing on a Dell Latitude 7480. I've been having a lot of freezing issues, and I have finally narrowed it down to an overheating problem. On battery, I can work for 1hr+ with no ...
mathbekunkus's user avatar
1 vote
1 answer
967 views

How to check harddisk maximum temperature throughout lifespan?

How to check harddisk maximum temperature throughout its lifespan in Linux? In the Windows software Hard Disk Sentinel, we can check the Maximum Temperature (during entire lifespan): The software ...
midnite's user avatar
  • 443
0 votes
0 answers
37 views

Out of sequence data in sensor monitoring program

I am logging data on a long term basis from four USB serial ports on a Raspberry Pi that ultimately needs to get to another machine on the local network for further processing. There are a couple of ...
JohnAckermann's user avatar
8 votes
1 answer
5k views

No temperature reading on Ryzen 5700G?

I've built a new computer with a AMD Ryzen 5700G and to my surprise, no sensor information is picked up whatsoever. I thought perhaps the new AMD chips would not yet be recognized by Linux, but the ...
kasimir's user avatar
  • 445
1 vote
2 answers
527 views

hwmon driver working, yet not working

Trying to get hwmon working more fully on a system with an ASRock Z370M Pro4. The coretemp and drivetemp drivers seem to be fine. However, this board also has a Nuvoton NCT6683 chip for the usual ...
ddawson's user avatar
  • 313
2 votes
0 answers
412 views

How to modify /usr/lib/udev/hwdb.d/60-sensor.hwdb to correct screen rotation in tablet mode?

OS: Debian 11 udev comes with a configuration file /usr/lib/udev/hwdb.d/60-sensor.hwdb in which it states that: # Allowed properties are: # ACCEL_MOUNT_MATRIX=<matrix> # ...
seamux's user avatar
  • 148
0 votes
1 answer
114 views

How to press a key of a peripheral device (not keyboard) from terminal/python?

I have recently acquired a dial indicator and a keyboard like device that when attached to the dial indicator it types the value of the dial indicator on the computer. It is similar to a keyboard. ...
Forens's user avatar
  • 1
1 vote
1 answer
637 views

How to get sensors-detect to detect an AMD Phenom II temtperature sensor

Yes, I know that is an old chip. Running a sensors-detect with all the optional tests yields nothing. My sensors refuse to read the temperature of the CPU. I know there is a working temperature sensor ...
Betta George's user avatar
1 vote
1 answer
2k views

hwmon: add missing kernel module

TL;DR: The kernel module sht3x (https://www.kernel.org/doc/html/latest/hwmon/sht3x.html) seems to be missing in a standard debian installation. I need it in order to read an external sensor. How can I ...
Marcel's user avatar
  • 1,124
0 votes
1 answer
332 views

No crit high low returned by sensors - is this normal?

I assembled a brand new Ryzen-based workstation. The temperature sensors returned by sensors seems to be working fine, but those of the CPU do not specify low, crit, and high thresholds. > sensors ...
nicoco's user avatar
  • 419
0 votes
1 answer
2k views

lm_sensors not reporting individual core temps on AM4/B450

This is the output from sensors on my machine, Ryzen 5 3600X on a Biostar B450MH: amdgpu-pci-0a00 Adapter: PCI adapter vddgfx: 725.00 mV fan1: 0 RPM (min = 0 RPM, max = 3630 RPM) ...
lokus's user avatar
  • 133
2 votes
2 answers
684 views

Asus PN50 mini-PC: There are no pwm-capable sensor modules installed

I am running Linux Mint on a PN50 Ryzen 5 4500U. Fan is very loud and I think it can make it quieter with a little bit of fan RPM control. However, I am not able to detect the fan speed: $ sudo ...
Manolete's user avatar
  • 233
1 vote
1 answer
763 views

Get content of files with same name in subfolders to obtain a JSON array

I have the files in folders that begin with 28-. They are one wire bus sensors to measure the temperature. The Raspberry recognize them via its SPI interface; every probe has its ID (something ...
Federico Munerotto's user avatar
2 votes
5 answers
2k views

Thermal throttling on i7-1185G7

I have a brand new i7-1185G7 laptop whose CPU is being heavily throttled on Linux 5.8.0, even though it's thermals are in bounds (albeit a bit high). $ sensors ucsi_source_psy_USBC000:001-isa-0000 ...
thwd's user avatar
  • 203
0 votes
0 answers
147 views

Using temperature data obtained over UART as part of hwmon/thermal subsystem

I am attempting to integrate an OEM module into a product that runs embedded Linux. I am only able to communicate with the module through a UART, and the most important thing that I need to get from ...
JLimbocker's user avatar
0 votes
1 answer
1k views

How reliable is the program `lm-sensors` in Linux?

How reliable is the program lm-sensors in Linux? When I run watch sensors, I see large skips of temperature, as high as 10 degrees Celsius within the refresh interval of 2 seconds. The two readings ...
gilbertohasnofb's user avatar
1 vote
0 answers
130 views

Cannot match sensor with sensors.conf chip

On my system, there is a pmbus device (dps1600). I want to change the label for sensors output. My config file /etc/sensors.d/sensors.conf: bus "i2c-11" "i2c-3-mux (chan_id 0)" bus ...
Yu-Ting Chen's user avatar
0 votes
1 answer
633 views

Failed to start Load Kernel Modules IT8688E

Since the motherboard's IT8688E chip is not supported I forced the 8628 one as in this Github lm-sensors issue and it detected all sensors correctly. This is what I did to make it work: Added ...
Clodoaldo's user avatar
  • 346
0 votes
0 answers
108 views

Are /dev/i2c-1 and /dev/mem colliding?

I write a program which should handle a motion sensor and an ultrasonic sensor at the same time. I'm using a Jetson Nano with 40 GPIO-pins. The first one uses I2C interface and thus accesses /dev/i2c-...
Totemi1324's user avatar
0 votes
1 answer
16 views

How to merge the output of these 2 tracking scripts

I have 2 scripts: track_temps.sh while true do echo -n "$(date +"%H:%M:%S"): " sensors | grep Tdie # Sleeping for X seconds sleep 1 done track_mhz.sh while ...
Ginger's user avatar
  • 139
1 vote
1 answer
954 views

What devices use ath10k_hwmon-pci-1400 sensor chip?

I've been trying to figure out what devices the specific sensor chip type ..._hwmon-pci-... is used for. In this case, say it's ath10k_hwmon-pci-140. I can't find this documented, I saw some ...
Lizardx's user avatar
  • 3,078
0 votes
1 answer
970 views

Are temp sensors for Ryzen CPUs inaccurate?

I have a Ryzen 3950X cpu. In the Asus Bios, I sent the fans to spin at 100% RPM at a temperature of 70C. However, they definitely don't spin at 100% RPM at 70C. The temperature needs to reach 75C-80C ...
Ginger's user avatar
  • 139
1 vote
1 answer
240 views

Where do I put Fan Controller Thermometers in my desktop Linux PC?

I just purchased a 5.25" touchscreen fan controller for my AMD Ryzen 5 3600X 6-Core 3.8GHz Desktop PC. I've never used one of these devices before so I'd like to know how to set up the ...
Ev-'s user avatar
  • 639
1 vote
1 answer
161 views

Suspend-to-RAM breaks ACPI thermals

Sometimes after waking from suspend-to-RAM, my ACPI thermal sensor is "frozen" on a fixed, mostly higher temperature. The rest of the sensors are working fine, but since the fan speed is ...
tobiashellbusch's user avatar
0 votes
1 answer
376 views

Get only temp core from sensors

I'm trying to retrieve only the temp of the 4 cores, to display them into my terminal (I needed them separated). My original output is : (OC) √ ~ $ sensors ...
Nathan30's user avatar
  • 103
0 votes
1 answer
3k views

Running sensors I get gpu temp of 72C and fan 0 rpm... bad?

Not sure if I should be concerned. The temp is not considered high. But it is much higher than anything else. Also if I play a video the GPU temp is 85C. And the fan shows 0 rpm. Never noticed ...
jdl's user avatar
  • 895
1 vote
0 answers
137 views

How do you make the Xfce Sensors Plugin fit in the Panel

I want to display two temperatures on top of each other in my panel, but even with the text set to be x-small they won't fit. There is an option to 'Small Horizontal Spacing' which reduces the gab ...
AdLinux's user avatar
  • 111
2 votes
1 answer
40k views

How to manually set CPU Fan Speed in Debian Linux?

As my CPU cooler fan broke on a setup with older hardware, I had to replace it with a similar fan, which unfortunately is pretty noisy. I am using the following system: Mainboard Gigabyte F2A88X-Up4 ...
JohnSane's user avatar
0 votes
1 answer
698 views

Need help writing my first script (LM-Sensors Custom Output)

I'm new here and to UNIX and Gnu/Linux scripts, I need help to build a script that modifies the lm-sensors output. When I use the command sensors this is the current output mint@desktop:~$ sensors ...
linuxnewbie's user avatar
0 votes
1 answer
2k views

How does "acpi" or "upower" decide the battery percentage?

Correction Notice I'm sorry to bring this issue up based on a misremembering the cell count in series. There were not 4 cells in series, but 3 cells. Silly me. For 3 cells in series, the maximum ...
ceremcem's user avatar
  • 2,361
3 votes
1 answer
6k views

Standard way to check the hard drive temperature without installing additional packages

I want to check the temperature of my hard drive without installing hddtemp or smartctl. Is there a standard UNIX way to do this? For example, to check the CPU temperature one doesn't need to install ...
teagut's user avatar
  • 81
2 votes
0 answers
394 views

How to solve the problem with heating the laptop?

The question is: How to solve the problem with heating the laptop? Additional question (optional): What exactly is the sensors talking about? I had installed Linux Mint and my laptop started to warm ...
SageCat's user avatar
  • 153
0 votes
0 answers
2k views

How to read GPS device from /dev/gps?

I have a GPS module in my Linux board with Ubuntu 16.04 armhf on it (OrangePi 3G-IoT). I need to read the GPS module's data. It exists in /dev/gps. How can I read the /dev/gps device and get ...
eminfedar's user avatar
  • 200
4 votes
1 answer
3k views

How to measure CPU voltage on a 570 motherboard with lm_sensors?

I am trying, and failing, to determine my CPU's Vcore voltage. My CPU is a Ryzen 3700X in an ASRock 570M Pro motherboard, using Arch Linux (fully updated). I downloaded the lm_sensors package, ran ...
alligator's user avatar
0 votes
1 answer
647 views

What does "power1: 4.29 MW (interval = 1.00 s)" mean? That is, what is the "MW" unit?

I installed the lm-sensors on my Ubuntu platform in order to check the temperature of my processors and possibly some other info. When I run the command, I see the following: alexis~$ sensors ...
Alexis Wilke's user avatar
  • 2,929
1 vote
1 answer
3k views

How I can fix "iio-sensor-proxy" detect orientation problem?

I am a Arch Linux user and I have a Laptop that has a built in sensor to detect orientation .and according this sensor the screen will be rotate. but the main problem here is that this sensor detect ...
Amir's user avatar
  • 11
3 votes
2 answers
12k views

Fan constantly running at full speed

Here I am repeating a question previously asked in a sister forum, as it is relevant here and I have neither received a response, nor been able to resolve the issue. On my ThinkPad T470 which is a ...
Pooya's user avatar
  • 583
0 votes
1 answer
426 views

Temperature sensors in android device

I'm learning Linux architecture, and I became curious about hardware health monitoring which Linux supports. So, most of the time it is temperature and voltage sensors. When I open CPU-Z app, I can ...
Igor Lerinc's user avatar