Can't get temperatures on Slackware64-current on Dell 15 5565
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# 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
# 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.
(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 ?
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
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 ... ?
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.
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
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@
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.