Thermald users -- > little reminder

I just add some warning to our thermald WIKI:

WARNING:

If thermald updates it will overwrite the file we do edit before, so we need to recreate the settings after each update or simple chattr it so that it can’t be changed on updates:

sudo chattr +i /usr/lib/systemd/system/thermald.service

This will give you an warning on next update of thermald eventually, but better this then overheating on your hardware.

error: cannot remove file ‘/usr/lib/systemd/system/thermald.service’: Operation not permitted
(7/7) upgrading thermald [——————————–] 100%
warning: warning given when extracting /usr/lib/systemd/system/thermald.service (Could not unlink)

if someone have a better solution, give it to me!

https://endeavouros.com/docs/hardware-and-network/powersaving/cpu-frequency-scaling/

2 Likes

How about copying it to /etc/systemd/system where it can override the “default” one?

1 Like

I would say this might be a far better solution than thermald

4 Likes

it is not in the repo … but I can mention it as an alternative to thermald sure.

sudo cp /usr/lib/systemd/system/thermald.service /etc/systemd/system/
sudo nano /etc/systemd/system/thermald.service
and change it to:

[Unit]
Description=Thermal Daemon Service
ConditionVirtualization=no

[Service]
Type=dbus
SuccessExitStatus=1
BusName=org.freedesktop.thermald
ExecStart=/usr/bin/thermald --systemd --dbus-enable --adaptive --ignore-cpuid-check

[Install]
WantedBy=multi-user.target
Alias=dbus-org.freedesktop.thermald.service

e.g. adding --ignore-cpuid-check to ExecStart line
is indeed the right solution!

thanks @pebcak ! makes your name honor again :grinning:

2 Likes

@jonathon’s post:

i do add this as alternative into the wiki entry!

2 Likes

also a way to do it:

sudo systemctl edit thermald.service

that will create an override directory and file where you can putt your changed configuration

will look like this:
/etc/systemd/system/thermald.service.d/.#override.confc0d3c252f7819879

i am still not sure what is the best way to do this, but both ways do work.

2 Likes

You asked, I replied. If you read the full post, I used chattr :hammer:

we both used the hammer :wink:

One thing i saw in the wiki that should be corrected.

Not available on official Repository so needs to be builded from AUR:

builded should be built, on should probably be in as well.

2 Likes

2020-09-07_00-01

4 Likes

I think there should probably also be an ‘it’ in there as well, perhaps like this?

Not available in the official repository so it needs to be built from AUR:

I also feel like there should be something after repository like a ‘;’ or a ‘,’ but I am not sure on that one. Perhaps someone else knows.

i am not a native speaker, and today i do read and write a lot, but seems legit to have a , there :sleeping_bed:t4:

1 Like