LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2020, 07:58 AM   #1
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware/FreeBSD
Posts: 54

Rep: Reputation: 8
No temperature data


Slackware current 5.4.12

Code:
~ % cat /sys/class/thermal/thermal_zone0/temp
44000
~ % cat /sys/class/thermal/thermal_zone1/temp
44000
~ % cat /sys/class/thermal/thermal_zone2/temp
45000
~ % cat /sys/class/thermal/thermal_zone3/temp
cat: /sys/class/thermal/thermal_zone3/temp: No data available
I have noticed it today after upgrading from 5.4.11 to 5.4.12
 
Old 01-16-2020, 08:03 AM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,342

Rep: Reputation: 224Reputation: 224Reputation: 224
I just checked: mine returns 51000 - is that 51C ? Slackware, kernel 5.4.12 (build my own)
 
Old 01-16-2020, 08:41 AM   #3
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,367

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
From /usr/src/linux/Documentation/driver-api/thermal/syfs-api.rst
Code:
temp
	Current temperature as reported by thermal zone (sensor).
	Unit: millidegree Celsius
	RO, Required
 
Old 01-16-2020, 09:02 AM   #4
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware/FreeBSD
Posts: 54

Original Poster
Rep: Reputation: 8
I am sorry, guys, but it just started working...
 
Old 01-17-2020, 11:40 AM   #5
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware/FreeBSD
Posts: 54

Original Poster
Rep: Reputation: 8
I happened again. Can this be hardware problem?
Can bios or os disable it for power saving?

Last edited by unInstance; 01-17-2020 at 11:47 AM.
 
Old 01-18-2020, 10:15 PM   #6
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,342

Rep: Reputation: 224Reputation: 224Reputation: 224
I vote that the hardware suffers from hiatus.
 
Old 01-19-2020, 09:20 PM   #7
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware (x86 and ARM)
Posts: 250

Rep: Reputation: Disabled
Check the output from "dmesg -T" and compare timestamps against your accesses to the thermal data files (successful or failing). If a hardware sensor is in a pre-failure state, there may be information about it in the system log.
 
Old 01-19-2020, 09:55 PM   #8
speck
Member
 
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 366

Rep: Reputation: 109Reputation: 109
I've seen it switch around the thermal zones after upgrading to a new kernel, so this might be your issue. You can check the type file in the thermal_zone* folders for info about which hardware it represents. I use Polybar to display temperatures, so I ended up writing a script that finds the correct thermal_zones and then adds them to the Polybar configuration file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Will adding data to a hdd that already has data on it using the dd command overwrite the pre-existing data? hddfsck Linux - Newbie 17 09-08-2019 07:21 PM
C++ Tinyb ble temperature reader application gives constant readings which doesn't reflect the actual temperature variation ba_kirang Programming 1 05-27-2019 04:33 PM
Monitoring data passing on USB bus & copying data (dumping) to hard drive (forking an identical data stream) cilbuper Programming 4 12-11-2017 02:58 PM
Temperature inside computer box and CPU temperature Lola Kews Linux - Hardware 14 11-29-2013 07:22 PM
optimal PIII temperature range jonfa Linux - General 13 02-26-2002 01:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration