LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-20-2017, 09:27 AM   #1
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Can't get temperatures on Slackware64-current on Dell 15 5565


Quote:
Originally Posted by output of sensors-detect
Sorry, no sensors were detected.
This is relatively common on laptops, where thermal management is
handled by ACPI rather than the OS.

The above is what I get when I run through sensors-detect.

and here is what I get when I run sensors

Quote:
amdgpu-pci-0300
Adapter: PCI adapter
temp1: N/A (crit = +0.0°C, hyst = +0.0°C)

dell_smm-virtual-0
Adapter: Virtual device
fan1: 2800 RPM

fam15h_power-pci-00c4
Adapter: PCI adapter
power1: 35.30 mW (avg = 37.56 mW, interval = 0.01 s)
(crit = 15.00 W)

amdgpu-pci-0008
Adapter: PCI adapter
temp1: +0.0°C (crit = +0.0°C, hyst = +0.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
temp1: +0.0°C (high = +70.0°C)
(crit = +100.0°C, hyst = +99.0°C)
 
Old 06-20-2017, 09:42 AM   #2
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
khronosschoty --

Does `acpi -t` work ?

-- kjh

This is from my LT:

$ acpi -t

Code:
Thermal 0: ok, 51.0 degrees C
 
Old 06-20-2017, 11:39 AM   #3
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648

Original Poster
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by kjhambrick View Post
khronosschoty --

Does `acpi -t` work ?

-- kjh

This is from my LT:

$ acpi -t

Code:
Thermal 0: ok, 51.0 degrees C
I get no response with acpi -t
 
Old 06-20-2017, 11:58 AM   #4
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Oops !

acpi is an SBo Package !

Code:
# ls -la /var/log/packages/acpi-*

-rw-r--r-- 1 root root  774 Sep  9  2016 /var/log/packages/acpi-1.7-x86_64-1_SBo
See: https://slackbuilds.org/repository/14.2/system/acpi/

Sorry and HTH

-- kjh
 
Old 06-20-2017, 12:10 PM   #5
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648

Original Poster
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by kjhambrick View Post
Oops !

acpi is an SBo Package !

Code:
# ls -la /var/log/packages/acpi-*

-rw-r--r-- 1 root root  774 Sep  9  2016 /var/log/packages/acpi-1.7-x86_64-1_SBo
See: https://slackbuilds.org/repository/14.2/system/acpi/

Sorry and HTH

-- kjh

I have that installed:

Quote:
root@darkstar:~# ls -la /var/log/packages/acpi-*
-rw-r--r-- 1 root root 779 Jun 19 17:51 /var/log/packages/acpi-1.7-x86_64-1_SBo
but here is what I get when I run the command:

Quote:
root@darkstar:~# acpi -t
root@darkstar:~#
 
Old 06-20-2017, 01:25 PM   #6
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Hmmm ...

Maybe try: `man acpi` and then `acpi -V`

Aside from that I am stumped.

-- kjh

Code:
# acpi -V
Battery 0: Unknown, 99%
Battery 0: design capacity 5400 mAh, last full capacity 5275 mAh = 97%
Adapter 0: on-line
Thermal 0: ok, 50.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 120.0 degrees C
Cooling 0: ath10k_thermal 0 of 100
Cooling 1: x86_pkg_temp no state information available
Cooling 2: intel_powerclamp no state information available
Cooling 3: LCD 0 of 100
Cooling 4: Processor 0 of 3
Cooling 5: Processor 0 of 3
Cooling 6: Processor 0 of 3
Cooling 7: Processor 0 of 3
Cooling 8: Processor 0 of 3
Cooling 9: Processor 0 of 3
Cooling 10: Processor 0 of 3
Cooling 11: Processor 0 of 3
 
Old 06-20-2017, 01:57 PM   #7
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648

Original Poster
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by kjhambrick View Post
Hmmm ...

Maybe try: `man acpi` and then `acpi -V`

Aside from that I am stumped.

-- kjh

Code:
# acpi -V
Battery 0: Unknown, 99%
Battery 0: design capacity 5400 mAh, last full capacity 5275 mAh = 97%
Adapter 0: on-line
Thermal 0: ok, 50.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 120.0 degrees C
Cooling 0: ath10k_thermal 0 of 100
Cooling 1: x86_pkg_temp no state information available
Cooling 2: intel_powerclamp no state information available
Cooling 3: LCD 0 of 100
Cooling 4: Processor 0 of 3
Cooling 5: Processor 0 of 3
Cooling 6: Processor 0 of 3
Cooling 7: Processor 0 of 3
Cooling 8: Processor 0 of 3
Cooling 9: Processor 0 of 3
Cooling 10: Processor 0 of 3
Cooling 11: Processor 0 of 3
No success with that either... its a real head scratchier.
 
Old 06-20-2017, 02:29 PM   #8
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Stumped but intrigued ...

The hwmon site said about Dell on 2016-03-23:

Detected by sensors-detect = NO

Quote:
(2011-05-27) The driver is old, but it did not implement the standard hwmon interface until kernel 3.0. Please test the standalone driver and report. The monitoring part should be working fine, but the fan speed control part is still experimental.
If you're running the generic Kernel, maybe The Standalone Driver will work for you && yours ?

-- kjh
 
Old 06-20-2017, 02:48 PM   #9
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648

Original Poster
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
root@darkstar:~/18k/i8k# make
CC [M] /root/18k/i8k/i8k.o
In file included from ./include/linux/module.h:18:0,
from /root/18k/i8k/i8k.c:22:
/root/18k/i8k/i8k.c: In function ‘__check_force’:
./include/linux/moduleparam.h:146:27: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
param_check_##type(name, &(value)); \
^
./include/linux/moduleparam.h:344:68: note: in definition of macro ‘__param_check’
static inline type __always_unused *__check_##name(void) { return(p); }
^
./include/linux/moduleparam.h:146:2: note: in expansion of macro ‘param_check_bool’
param_check_##type(name, &(value)); \
^~~~~~~~~~~~
./include/linux/moduleparam.h:126:2: note: in expansion of macro ‘module_param_named’
module_param_named(name, name, type, perm)
^~~~~~~~~~~~~~~~~~
/root/18k/i8k/i8k.c:73:1: note: in expansion of macro ‘module_param’
module_param(force, bool, 0);
^~~~~~~~~~~~
/root/18k/i8k/i8k.c: In function ‘__check_ignore_dmi’:
./include/linux/moduleparam.h:146:27: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
param_check_##type(name, &(value)); \
^
./include/linux/moduleparam.h:344:68: note: in definition of macro ‘__param_check’
static inline type __always_unused *__check_##name(void) { return(p); }
^
./include/linux/moduleparam.h:146:2: note: in expansion of macro ‘param_check_bool’
param_check_##type(name, &(value)); \
^~~~~~~~~~~~
./include/linux/moduleparam.h:126:2: note: in expansion of macro ‘module_param_named’
module_param_named(name, name, type, perm)
^~~~~~~~~~~~~~~~~~
/root/18k/i8k/i8k.c:77:1: note: in expansion of macro ‘module_param’
module_param(ignore_dmi, bool, 0);
^~~~~~~~~~~~
/root/18k/i8k/i8k.c: In function ‘__check_restricted’:
./include/linux/moduleparam.h:146:27: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
param_check_##type(name, &(value)); \
^
./include/linux/moduleparam.h:344:68: note: in definition of macro ‘__param_check’
static inline type __always_unused *__check_##name(void) { return(p); }
^
./include/linux/moduleparam.h:146:2: note: in expansion of macro ‘param_check_bool’
param_check_##type(name, &(value)); \
^~~~~~~~~~~~
./include/linux/moduleparam.h:126:2: note: in expansion of macro ‘module_param_named’
module_param_named(name, name, type, perm)
^~~~~~~~~~~~~~~~~~
/root/18k/i8k/i8k.c:81:1: note: in expansion of macro ‘module_param’
module_param(restricted, bool, 0);
^~~~~~~~~~~~
/root/18k/i8k/i8k.c: In function ‘__check_power_status’:
./include/linux/moduleparam.h:146:27: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
param_check_##type(name, &(value)); \
^
./include/linux/moduleparam.h:344:68: note: in definition of macro ‘__param_check’
static inline type __always_unused *__check_##name(void) { return(p); }
^
./include/linux/moduleparam.h:146:2: note: in expansion of macro ‘param_check_bool’
param_check_##type(name, &(value)); \
^~~~~~~~~~~~
./include/linux/moduleparam.h:126:2: note: in expansion of macro ‘module_param_named’
module_param_named(name, name, type, perm)
^~~~~~~~~~~~~~~~~~
/root/18k/i8k/i8k.c:85:1: note: in expansion of macro ‘module_param’
module_param(power_status, bool, 0600);
^~~~~~~~~~~~
/root/18k/i8k/i8k.c: In function ‘i8k_proc_show’:
/root/18k/i8k/i8k.c:450:9: error: void value not ignored as it ought to be
return seq_printf(seq, "%s %s %s %d %d %d %d %d %d %d\n",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I8K_PROC_FMT,
~~~~~~~~~~~~~
bios_version,
~~~~~~~~~~~~~
i8k_get_dmi_data(DMI_PRODUCT_SERIAL),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cpu_temp,
~~~~~~~~~
left_fan, right_fan, left_speed, right_speed,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ac_power, fn_key);
~~~~~~~~~~~~~~~~~
/root/18k/i8k/i8k.c: In function ‘i8k_hwmon_set_pwm’:
/root/18k/i8k/i8k.c:515:6: error: implicit declaration of function ‘strict_strtol’; did you mean ‘simple_strtol’? [-Werror=implicit-function-declaration]
if (strict_strtol(buf, 10, &val) < 0 || val < 0 || val > 255)
^~~~~~~~~~~~~
simple_strtol
/root/18k/i8k/i8k.c: In function ‘i8k_proc_show’:
/root/18k/i8k/i8k.c:457:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:300: /root/18k/i8k/i8k.o] Error 1
make[1]: *** [Makefile:1490: _module_/root/18k/i8k] Error 2
make: *** [Makefile:29: modules] Error 2
It fails to compile. Thanks for all the help tho
 
Old 06-20-2017, 03:49 PM   #10
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Yikes !

Those are some Scary Errors for Kernel Module Code !!

It fails for me too ...

Maybe this is why ( note the Kernel Version TARGETs -- the module code looks kinda Krusty )

# head -6 Makefile
Code:
# For building for the current running version of Linux
TARGET          := $(shell uname -r)
# Or specific version
#TARGET         := 2.6.36.3
#TARGET         := 2.6.34.7-0.7-desktop
#TARGET         := 2.6.32.25
However, there is a Kernel Module in 4.4.73 for the Dell i8k under the HWMON Section:

# less /usr/src/linux/arch/x86/Kconfig
Code:
config I8K
        tristate "Dell i8k legacy laptop support"
        select HWMON
        select SENSORS_DELL_SMM
        ---help---
          This option enables legacy /proc/i8k userspace interface in hwmon
          dell-smm-hwmon driver. Character file /proc/i8k reports bios version,
          temperature and allows controlling fan speeds of Dell laptops via
          System Management Mode. For old Dell laptops (like Dell Inspiron 8000)
          it reports also power and hotkey status. For fan speed control is
          needed userspace package i8kutils.

          Say Y if you intend to run this kernel on old Dell laptops or want to
          use userspace package i8kutils.
          Say N otherwise.
And then there is the i8kutils Package on SBo which REQUIRES the i8k Kernel Module ...

Or then again, not having a Dell Inspiron 15 5565 maybe this is another Rabbit Hole ... ?

-- kjh
 
Old 06-20-2017, 04:14 PM   #11
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648

Original Poster
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by kjhambrick View Post
Yikes !

Those are some Scary Errors for Kernel Module Code !!

It fails for me too ...

Maybe this is why ( note the Kernel Version TARGETs -- the module code looks kinda Krusty )

# head -6 Makefile
Code:
# For building for the current running version of Linux
TARGET          := $(shell uname -r)
# Or specific version
#TARGET         := 2.6.36.3
#TARGET         := 2.6.34.7-0.7-desktop
#TARGET         := 2.6.32.25
However, there is a Kernel Module in 4.4.73 for the Dell i8k under the HWMON Section:

# less /usr/src/linux/arch/x86/Kconfig
Code:
config I8K
        tristate "Dell i8k legacy laptop support"
        select HWMON
        select SENSORS_DELL_SMM
        ---help---
          This option enables legacy /proc/i8k userspace interface in hwmon
          dell-smm-hwmon driver. Character file /proc/i8k reports bios version,
          temperature and allows controlling fan speeds of Dell laptops via
          System Management Mode. For old Dell laptops (like Dell Inspiron 8000)
          it reports also power and hotkey status. For fan speed control is
          needed userspace package i8kutils.

          Say Y if you intend to run this kernel on old Dell laptops or want to
          use userspace package i8kutils.
          Say N otherwise.
And then there is the i8kutils Package on SBo which REQUIRES the i8k Kernel Module ...

Or then again, not having a Dell Inspiron 15 5565 maybe this is another Rabbit Hole ... ?

-- kjh
might be anther rabbit hole but its at least something I've not explored yet, thank you.
 
Old 06-21-2017, 06:15 AM   #12
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,905

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
There's also the low tech solution:
Code:
test@ws1:~$ for dir in /sys/class/thermal/thermal_zone*; do   echo "$(< $dir/type ): $(< $dir/temp )"; done
acpitz: 41000
iwlwifi: 41000
x86_pkg_temp: 42000
 
1 members found this post helpful.
Old 06-21-2017, 07:07 AM   #13
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Thanks GazL !

Works for me && mine ... I like it !

-- kjh

Code:
# for dir in /sys/class/thermal/thermal_zone*; do   echo "$(< $dir/type ): $(< $dir/temp )"; done
acpitz: 49000
x86_pkg_temp: 49000
Each of the Files in /sys/class/thermal/ are SymLinks to files in /sys/devices/virtual/thermal/

These are all the files in /sys/devices/virtual/thermal/ on my LapTop:

Seems like something cheap-but-useful and fun could be done with a subset of these goodies

Code:
# i=0 ; for File in $(find /sys/devices/virtual/thermal -type f); do Base="$(basename $File)"; gawk 'BEGIN{ i = "'"$i"'" ; Base = "'"$Base"'" ; File = "'"$File"'" ; Fmt = "%-24s: %s\n" ; if ( i > 0 ){ print "" } ; printf( Fmt, Base, File ) }{ printf( Fmt, Base, $0 )}' $File 2>/dev/null ; i=`expr $i + 1` ; done
And the output ( the first row of each `basename` is the full path to the file ):
Code:
type                    : /sys/devices/virtual/thermal/cooling_device0/type
type                    : Processor

control                 : /sys/devices/virtual/thermal/cooling_device0/power/control
control                 : auto

runtime_active_time     : /sys/devices/virtual/thermal/cooling_device0/power/runtime_active_time
runtime_active_time     : 0

autosuspend_delay_ms    : /sys/devices/virtual/thermal/cooling_device0/power/autosuspend_delay_ms

runtime_status          : /sys/devices/virtual/thermal/cooling_device0/power/runtime_status
runtime_status          : unsupported

runtime_suspended_time  : /sys/devices/virtual/thermal/cooling_device0/power/runtime_suspended_time
runtime_suspended_time  : 0

cur_state               : /sys/devices/virtual/thermal/cooling_device0/cur_state
cur_state               : 0

uevent                  : /sys/devices/virtual/thermal/cooling_device0/uevent

max_state               : /sys/devices/virtual/thermal/cooling_device0/max_state
max_state               : 3

type                    : /sys/devices/virtual/thermal/cooling_device1/type
type                    : Processor

control                 : /sys/devices/virtual/thermal/cooling_device1/power/control
control                 : auto

runtime_active_time     : /sys/devices/virtual/thermal/cooling_device1/power/runtime_active_time
runtime_active_time     : 0

autosuspend_delay_ms    : /sys/devices/virtual/thermal/cooling_device1/power/autosuspend_delay_ms

runtime_status          : /sys/devices/virtual/thermal/cooling_device1/power/runtime_status
runtime_status          : unsupported

runtime_suspended_time  : /sys/devices/virtual/thermal/cooling_device1/power/runtime_suspended_time
runtime_suspended_time  : 0

cur_state               : /sys/devices/virtual/thermal/cooling_device1/cur_state
cur_state               : 0

uevent                  : /sys/devices/virtual/thermal/cooling_device1/uevent

max_state               : /sys/devices/virtual/thermal/cooling_device1/max_state
max_state               : 3

type                    : /sys/devices/virtual/thermal/cooling_device2/type
type                    : Processor

control                 : /sys/devices/virtual/thermal/cooling_device2/power/control
control                 : auto

runtime_active_time     : /sys/devices/virtual/thermal/cooling_device2/power/runtime_active_time
runtime_active_time     : 0

autosuspend_delay_ms    : /sys/devices/virtual/thermal/cooling_device2/power/autosuspend_delay_ms

runtime_status          : /sys/devices/virtual/thermal/cooling_device2/power/runtime_status
runtime_status          : unsupported

runtime_suspended_time  : /sys/devices/virtual/thermal/cooling_device2/power/runtime_suspended_time
runtime_suspended_time  : 0

cur_state               : /sys/devices/virtual/thermal/cooling_device2/cur_state
cur_state               : 0

uevent                  : /sys/devices/virtual/thermal/cooling_device2/uevent

max_state               : /sys/devices/virtual/thermal/cooling_device2/max_state
max_state               : 3

type                    : /sys/devices/virtual/thermal/cooling_device3/type
type                    : Processor

control                 : /sys/devices/virtual/thermal/cooling_device3/power/control
control                 : auto

runtime_active_time     : /sys/devices/virtual/thermal/cooling_device3/power/runtime_active_time
runtime_active_time     : 0

autosuspend_delay_ms    : /sys/devices/virtual/thermal/cooling_device3/power/autosuspend_delay_ms

runtime_status          : /sys/devices/virtual/thermal/cooling_device3/power/runtime_status
runtime_status          : unsupported

runtime_suspended_time  : /sys/devices/virtual/thermal/cooling_device3/power/runtime_suspended_time
runtime_suspended_time  : 0

cur_state               : /sys/devices/virtual/thermal/cooling_device3/cur_state
cur_state               : 0

uevent                  : /sys/devices/virtual/thermal/cooling_device3/uevent

max_state               : /sys/devices/virtual/thermal/cooling_device3/max_state
max_state               : 3

type                    : /sys/devices/virtual/thermal/cooling_device4/type
type                    : Processor

control                 : /sys/devices/virtual/thermal/cooling_device4/power/control
control                 : auto

runtime_active_time     : /sys/devices/virtual/thermal/cooling_device4/power/runtime_active_time
runtime_active_time     : 0

autosuspend_delay_ms    : /sys/devices/virtual/thermal/cooling_device4/power/autosuspend_delay_ms

runtime_status          : /sys/devices/virtual/thermal/cooling_device4/power/runtime_status
runtime_status          : unsupported

runtime_suspended_time  : /sys/devices/virtual/thermal/cooling_device4/power/runtime_suspended_time
runtime_suspended_time  : 0

cur_state               : /sys/devices/virtual/thermal/cooling_device4/cur_state
cur_state               : 0

uevent                  : /sys/devices/virtual/thermal/cooling_device4/uevent

max_state               : /sys/devices/virtual/thermal/cooling_device4/max_state
max_state               : 3

type                    : /sys/devices/virtual/thermal/cooling_device5/type
type                    : Processor

control                 : /sys/devices/virtual/thermal/cooling_device5/power/control
control                 : auto

runtime_active_time     : /sys/devices/virtual/thermal/cooling_device5/power/runtime_active_time
runtime_active_time     : 0

autosuspend_delay_ms    : /sys/devices/virtual/thermal/cooling_device5/power/autosuspend_delay_ms

runtime_status          : /sys/devices/virtual/thermal/cooling_device5/power/runtime_status
runtime_status          : unsupported

runtime_suspended_time  : /sys/devices/virtual/thermal/cooling_device5/power/runtime_suspended_time
runtime_suspended_time  : 0

cur_state               : /sys/devices/virtual/thermal/cooling_device5/cur_state
cur_state               : 0

uevent                  : /sys/devices/virtual/thermal/cooling_device5/uevent

max_state               : /sys/devices/virtual/thermal/cooling_device5/max_state
max_state               : 3

type                    : /sys/devices/virtual/thermal/cooling_device6/type
type                    : Processor

control                 : /sys/devices/virtual/thermal/cooling_device6/power/control
control                 : auto

runtime_active_time     : /sys/devices/virtual/thermal/cooling_device6/power/runtime_active_time
runtime_active_time     : 0

autosuspend_delay_ms    : /sys/devices/virtual/thermal/cooling_device6/power/autosuspend_delay_ms

runtime_status          : /sys/devices/virtual/thermal/cooling_device6/power/runtime_status
runtime_status          : unsupported

runtime_suspended_time  : /sys/devices/virtual/thermal/cooling_device6/power/runtime_suspended_time
runtime_suspended_time  : 0

cur_state               : /sys/devices/virtual/thermal/cooling_device6/cur_state
cur_state               : 0

uevent                  : /sys/devices/virtual/thermal/cooling_device6/uevent

max_state               : /sys/devices/virtual/thermal/cooling_device6/max_state
max_state               : 3

type                    : /sys/devices/virtual/thermal/cooling_device7/type
type                    : Processor

control                 : /sys/devices/virtual/thermal/cooling_device7/power/control
control                 : auto

runtime_active_time     : /sys/devices/virtual/thermal/cooling_device7/power/runtime_active_time
runtime_active_time     : 0

autosuspend_delay_ms    : /sys/devices/virtual/thermal/cooling_device7/power/autosuspend_delay_ms

runtime_status          : /sys/devices/virtual/thermal/cooling_device7/power/runtime_status
runtime_status          : unsupported

runtime_suspended_time  : /sys/devices/virtual/thermal/cooling_device7/power/runtime_suspended_time
runtime_suspended_time  : 0

cur_state               : /sys/devices/virtual/thermal/cooling_device7/cur_state
cur_state               : 0

uevent                  : /sys/devices/virtual/thermal/cooling_device7/uevent

max_state               : /sys/devices/virtual/thermal/cooling_device7/max_state
max_state               : 3

type                    : /sys/devices/virtual/thermal/cooling_device8/type
type                    : LCD

control                 : /sys/devices/virtual/thermal/cooling_device8/power/control
control                 : auto

runtime_active_time     : /sys/devices/virtual/thermal/cooling_device8/power/runtime_active_time
runtime_active_time     : 0

autosuspend_delay_ms    : /sys/devices/virtual/thermal/cooling_device8/power/autosuspend_delay_ms

runtime_status          : /sys/devices/virtual/thermal/cooling_device8/power/runtime_status
runtime_status          : unsupported

runtime_suspended_time  : /sys/devices/virtual/thermal/cooling_device8/power/runtime_suspended_time
runtime_suspended_time  : 0

cur_state               : /sys/devices/virtual/thermal/cooling_device8/cur_state
cur_state               : 0

uevent                  : /sys/devices/virtual/thermal/cooling_device8/uevent

max_state               : /sys/devices/virtual/thermal/cooling_device8/max_state
max_state               : 100

type                    : /sys/devices/virtual/thermal/cooling_device9/type
type                    : intel_powerclamp

control                 : /sys/devices/virtual/thermal/cooling_device9/power/control
control                 : auto

runtime_active_time     : /sys/devices/virtual/thermal/cooling_device9/power/runtime_active_time
runtime_active_time     : 0

autosuspend_delay_ms    : /sys/devices/virtual/thermal/cooling_device9/power/autosuspend_delay_ms

runtime_status          : /sys/devices/virtual/thermal/cooling_device9/power/runtime_status
runtime_status          : unsupported

runtime_suspended_time  : /sys/devices/virtual/thermal/cooling_device9/power/runtime_suspended_time
runtime_suspended_time  : 0

cur_state               : /sys/devices/virtual/thermal/cooling_device9/cur_state
cur_state               : -1

uevent                  : /sys/devices/virtual/thermal/cooling_device9/uevent

max_state               : /sys/devices/virtual/thermal/cooling_device9/max_state
max_state               : 50

k_d                     : /sys/devices/virtual/thermal/thermal_zone0/k_d

k_i                     : /sys/devices/virtual/thermal/thermal_zone0/k_i

k_po                    : /sys/devices/virtual/thermal/thermal_zone0/k_po

k_pu                    : /sys/devices/virtual/thermal/thermal_zone0/k_pu

mode                    : /sys/devices/virtual/thermal/thermal_zone0/mode
mode                    : enabled

temp                    : /sys/devices/virtual/thermal/thermal_zone0/temp
temp                    : 49000

type                    : /sys/devices/virtual/thermal/thermal_zone0/type
type                    : acpitz

integral_cutoff         : /sys/devices/virtual/thermal/thermal_zone0/integral_cutoff

control                 : /sys/devices/virtual/thermal/thermal_zone0/power/control
control                 : auto

runtime_active_time     : /sys/devices/virtual/thermal/thermal_zone0/power/runtime_active_time
runtime_active_time     : 0

autosuspend_delay_ms    : /sys/devices/virtual/thermal/thermal_zone0/power/autosuspend_delay_ms

runtime_status          : /sys/devices/virtual/thermal/thermal_zone0/power/runtime_status
runtime_status          : unsupported

runtime_suspended_time  : /sys/devices/virtual/thermal/thermal_zone0/power/runtime_suspended_time
runtime_suspended_time  : 0

slope                   : /sys/devices/virtual/thermal/thermal_zone0/slope

emul_temp               : /sys/devices/virtual/thermal/thermal_zone0/emul_temp

trip_point_0_temp       : /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp
trip_point_0_temp       : 120000

trip_point_0_type       : /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_type
trip_point_0_type       : critical

offset                  : /sys/devices/virtual/thermal/thermal_zone0/offset

policy                  : /sys/devices/virtual/thermal/thermal_zone0/policy
policy                  : step_wise

uevent                  : /sys/devices/virtual/thermal/thermal_zone0/uevent

passive                 : /sys/devices/virtual/thermal/thermal_zone0/passive
passive                 : 0

available_policies      : /sys/devices/virtual/thermal/thermal_zone0/available_policies
available_policies      : power_allocator user_space bang_bang fair_share step_wise 

sustainable_power       : /sys/devices/virtual/thermal/thermal_zone0/sustainable_power

k_d                     : /sys/devices/virtual/thermal/thermal_zone1/k_d
k_d                     : 0

k_i                     : /sys/devices/virtual/thermal/thermal_zone1/k_i
k_i                     : 0

k_po                    : /sys/devices/virtual/thermal/thermal_zone1/k_po
k_po                    : 0

k_pu                    : /sys/devices/virtual/thermal/thermal_zone1/k_pu
k_pu                    : 0

temp                    : /sys/devices/virtual/thermal/thermal_zone1/temp
temp                    : 53000

type                    : /sys/devices/virtual/thermal/thermal_zone1/type
type                    : x86_pkg_temp

integral_cutoff         : /sys/devices/virtual/thermal/thermal_zone1/integral_cutoff
integral_cutoff         : 0

control                 : /sys/devices/virtual/thermal/thermal_zone1/power/control
control                 : auto

runtime_active_time     : /sys/devices/virtual/thermal/thermal_zone1/power/runtime_active_time
runtime_active_time     : 0

autosuspend_delay_ms    : /sys/devices/virtual/thermal/thermal_zone1/power/autosuspend_delay_ms

runtime_status          : /sys/devices/virtual/thermal/thermal_zone1/power/runtime_status
runtime_status          : unsupported

runtime_suspended_time  : /sys/devices/virtual/thermal/thermal_zone1/power/runtime_suspended_time
runtime_suspended_time  : 0

slope                   : /sys/devices/virtual/thermal/thermal_zone1/slope
slope                   : 0

emul_temp               : /sys/devices/virtual/thermal/thermal_zone1/emul_temp

trip_point_0_temp       : /sys/devices/virtual/thermal/thermal_zone1/trip_point_0_temp
trip_point_0_temp       : 0

trip_point_0_type       : /sys/devices/virtual/thermal/thermal_zone1/trip_point_0_type
trip_point_0_type       : passive

trip_point_1_temp       : /sys/devices/virtual/thermal/thermal_zone1/trip_point_1_temp
trip_point_1_temp       : 0

trip_point_1_type       : /sys/devices/virtual/thermal/thermal_zone1/trip_point_1_type
trip_point_1_type       : passive

offset                  : /sys/devices/virtual/thermal/thermal_zone1/offset
offset                  : 0

policy                  : /sys/devices/virtual/thermal/thermal_zone1/policy
policy                  : step_wise

uevent                  : /sys/devices/virtual/thermal/thermal_zone1/uevent

available_policies      : /sys/devices/virtual/thermal/thermal_zone1/available_policies
available_policies      : power_allocator user_space bang_bang fair_share step_wise 

sustainable_power       : /sys/devices/virtual/thermal/thermal_zone1/sustainable_power
sustainable_power       : 0

type                    : /sys/devices/virtual/thermal/cooling_device10/type
type                    : ath10k_thermal

control                 : /sys/devices/virtual/thermal/cooling_device10/power/control
control                 : auto

runtime_active_time     : /sys/devices/virtual/thermal/cooling_device10/power/runtime_active_time
runtime_active_time     : 0

autosuspend_delay_ms    : /sys/devices/virtual/thermal/cooling_device10/power/autosuspend_delay_ms

runtime_status          : /sys/devices/virtual/thermal/cooling_device10/power/runtime_status
runtime_status          : unsupported

runtime_suspended_time  : /sys/devices/virtual/thermal/cooling_device10/power/runtime_suspended_time
runtime_suspended_time  : 0

cur_state               : /sys/devices/virtual/thermal/cooling_device10/cur_state
cur_state               : 0

uevent                  : /sys/devices/virtual/thermal/cooling_device10/uevent

max_state               : /sys/devices/virtual/thermal/cooling_device10/max_state
max_state               : 100
 
Old 06-22-2017, 01:14 PM   #14
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648

Original Poster
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by GazL View Post
There's also the low tech solution:
Code:
test@ws1:~$ for dir in /sys/class/thermal/thermal_zone*; do   echo "$(< $dir/type ): $(< $dir/temp )"; done
acpitz: 41000
iwlwifi: 41000
x86_pkg_temp: 42000
Thing is, I do not have a thermal_zone in the same way as you seem to. Here is what I have

Quote:
# ls /sys/class/thermal/
cooling_device0@ cooling_device1@ cooling_device2@ cooling_device3@ cooling_device4@
 
Old 06-22-2017, 02:44 PM   #15
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,905

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
Might be worth checking your kernel config has CONFIG_ACPI_THERMAL and CONFIG_X86_PKG_TEMP_THERMAL enabled.

Obviously, my hardware is different to yours, but fwiw, here's the thermal related config options I have set:
Code:
test@ws1:/tmp$ zgrep -i thermal /proc/config.gz |grep -v 'not set'
CONFIG_X86_THERMAL_VECTOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_THERMAL=y
CONFIG_THERMAL_HWMON=y
CONFIG_THERMAL_WRITABLE_TRIPS=y
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
CONFIG_THERMAL_GOV_STEP_WISE=y
CONFIG_THERMAL_GOV_USER_SPACE=y
CONFIG_X86_PKG_TEMP_THERMAL=m
# ACPI INT340X thermal drivers
(non-stock kernel build)
 
2 members found this post helpful.
  


Reply



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
Slackware64-current(>14.2): bug with UEFI install onto DELL Inspiron 14-3452 laptop ( eMMC 32GB drive ) from usb-stick image ckrzen Slackware - Installation 4 11-27-2016 08:24 AM
Slackware64-current installation rbob Slackware 13 02-10-2016 08:24 AM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
Updating from Slackware64-current to Slackware64 13. glore2002 Slackware 4 08-28-2009 06:50 PM
Slackware64-current on a second HD. glore2002 Slackware 7 08-23-2009 11:38 AM

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

All times are GMT -5. The time now is 03:01 PM.

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
Open Source Consulting | Domain Registration