Package Details: thermald-git 1.4.2-1

Git Clone URL: https://aur.archlinux.org/thermald-git.git (read-only)
Package Base: thermald-git
Description: The Linux Thermal Daemon program from 01.org
Upstream URL: https://github.com/01org/thermal_daemon
Licenses: GPL2
Conflicts: thermald
Provides: thermald
Submitter: rat4
Maintainer: ultraviolet
Last Packager: ultraviolet
Votes: 22
Popularity: 0.119571
First Submitted: 2013-05-11 09:18
Last Updated: 2015-08-29 06:54

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

FadeMind commented on 2016-02-18 18:50

Please change function pkgver() for:

pkgver() {
cd ${_pkgname}
git describe --tags --long | sed -r -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g'
}

IN results will print proper:

pkgver=1.5.r0.gaf19dc2

WHERE
1.5 = major version
r0 = commit no against major version
gaf19dc2 = g[commit]

ultraviolet commented on 2015-05-06 06:38

installs and works fine if you add --sbindir=/usr/bin to ./configure in build(). that seems to be all that is out of date.

gammel.holte commented on 2014-08-06 12:08

Currently broken with the kernel in core, 3.15.8-1?

Aug 06 13:11:34 mba systemd[1]: Starting Thermal Daemon Service...
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/power/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/enabled/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/name/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/power/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_time_window_us/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_power_limit_uw/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/enabled/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/device/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_power_limit_uw/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/subsystem/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_name/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_name/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/energy_uj/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_max_power_uw/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/uevent/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/max_energy_range_uj/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_max_power_uw/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_time_window_us/name
Aug 06 13:11:34 mba thermald[974]: RAPL domain count 0
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/subsystem/name
Aug 06 13:11:34 mba thermald[974]: sysfs read failed /sys/class/powercap/intel-rapl/uevent/name
Aug 06 13:11:34 mba thermald[974]: RAPL domain count 1

WonderWoofy commented on 2013-05-30 02:14

So I decided to take the all the advice of namcap. I have been using this tarball, which seems to work just fine. So I'll post it here in case anyone else wants it.
https://www.dropbox.com/s/59ev5bevuymnzly/thermald-git-92.76c1d0c-1.src.tar.gz?m

geric commented on 2013-05-21 03:28

Weird... On my system I had to install msr-tools to have the msr module available. I'm on sandy bridge, running 3.10r1 with some i915 patches but nothing related strictly to the CPU. Before I installed it the module wasn't available, and before I set the module to load I got:

[eric@eric-laptop ~]$ sudo systemctl status thermald
thermald.service - Thermal Daemon Service
Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled)
Active: active (running) since Mon 2013-05-20 23:27:49 EDT; 2s ago
Main PID: 28712 (thermald)
CGroup: name=systemd:/system/thermald.service
ââ28712 /usr/bin/thermald --no-daemon --dbus-enable

May 20 23:27:49 eric-laptop thermald[28712]: MSR READ Failed
May 20 23:27:49 eric-laptop thermald[28712]: update: Read MSR failed
May 20 23:27:49 eric-laptop thermald[28712]: MSR READ Failed
May 20 23:27:49 eric-laptop thermald[28712]: update: Read MSR failed
May 20 23:27:49 eric-laptop thermald[28712]: MSR CONTROL WILL BE DISABLED
May 20 23:27:49 eric-laptop thermald[28712]: Read set point 0
May 20 23:27:49 eric-laptop thermald[28712]: Default DTS processing for cpus mask = ffff
May 20 23:27:49 eric-laptop thermald[28712]: FD = 7
May 20 23:27:49 eric-laptop thermald[28712]: Current user preference is 0
May 20 23:27:49 eric-laptop thermald[28712]: thd_engine_thread begin


with the module loaded I get your output

WonderWoofy commented on 2013-05-21 02:52

Farthis, I don't get such complaints from thermald when I don't have msr-tools installed. I did include it as a dep in that tarball below, but this is what I get back from "journalctl -b -u thermald"
May 20 14:17:13 thinkpad thermald[330]: 13 CPUID levels; family:model:stepping 0x6:3a:9 (6:58:9)
May 20 14:17:13 thinkpad thermald[330]: Polling mode is enabled: 4
May 20 14:17:13 thinkpad thermald[330]: Found Intel pstate driver
May 20 14:17:13 thinkpad thermald[330]: Read set point 0
May 20 14:17:13 thinkpad thermald[330]: Default DTS processing for cpus mask = ffff
May 20 14:17:13 thinkpad thermald[330]: FD = 7
May 20 14:17:13 thinkpad thermald[330]: Current user preference is 0
May 20 14:17:13 thinkpad thermald[330]: thd_engine_thread begin

I have an Ive Bridge processor, and I have compiled my own kernel to have the pstate driver apply to my processor. Are you using a Sandy Bridge or otherwise have the kernel patched to handle your processor?

The thermald installation instructions say nothing about msr-tools and only that the msr module needs to be loaded. So I have added a modules-load.d file, but in /usr since it is suppied by the package.

Coments?

geric commented on 2013-05-20 23:12

Hey Woofy, its Fathis. Just to clarify, if you don't have msr-tools installed then "systemctl status thermald" complains about not being able to access MSR. msr-tools (specifically the msr module it includes) is needed for thermald to be able to access and modify individual CPU registers which is how thermald adjusts power levels and frequencies.

As i said, whoever picks this package up should also add a line that makes a file "/etc/modules-load.d/thermald.conf" be created with the single line "msr" in it to automatically load the needed module.

WonderWoofy commented on 2013-05-19 21:01

I fixed the PKGBUILD a little. I made the config file go into /etc as it should be, and put it in the backup array so it won't be overwritten. I also added msr-tools the the depends (though namcap tells me this is not necessary) and added a modules-load.d conf file to have msr loaded on boot.

I feel that if I adopt this package I won't be able to do it justice. So I am just going to put this link here, and hope someone can commit better than I.

https://www.dropbox.com/s/wrrgthg42pmv6dt/thermald-git-84.8ac943b-1.src.tar.gz?m

geric commented on 2013-05-17 21:40

NOTICE TO DOWNLOADERS: This package also requires

msr-tools (from AUR) and you need to set the module "msr" to autoload on boot in order to fully function.

geric commented on 2013-05-17 17:23

The config file is located at /usr/etc/thermald/thermal-conf.xml

Reading over it..its a clusterfsck to edit or make heads or tails of. Thankfully, on my Sandy Bridge laptop the only thing I have to do is:

sudo systemctl enable thermald
sudo systemctl start thermald

and let it go. I didnt have to touch even one config option, it automatically started working out of the box.

If you have this loaded, it automatically disabled cpupowerd and breaks setting the CPU governor via "cpupowerd frequency-set -g" because it unloads all governors and replaces it with simply intel_pstate

All comments