You are not logged in.

#1 2017-08-30 07:07:24

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Add thinkfan package

Some hardware has a kind of broken fan-control and lets the fan run faster than really needed. Thinkfan will prevent this by controlling the fan on its own (the fan speed for each temperature interval can be adjusted in the configuration file).

https://packages.debian.org/stretch/thinkfan

A user has just reported fan problems in BL-He that were fixed by installation of the above package:

https://forums.bunsenlabs.org/viewtopic.php?id=4113

The package is only ~100KiB so perhaps we could just add it to the stock desktop?

Alternatively, the user who reported the problem suggested that an option may be added to the `bl-welcome` script.

Offline

#2 2017-08-30 07:37:24

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,661
Website

Re: Add thinkfan package

Looks promising.
Just installing the package was enough for that user?
Installing it won't mess up the fan on machines where it was running OK?
bl-welcome would be another option, yes, although just installing a regular package doesn't really call for a lot of scripting - unless there was some test that it could do to detect potential fan problems before offering the install.
A forum how-to is another option of course.

But as you say it's quite a small package, so if it did no harm we could just put it in.

Last edited by johnraff (2017-08-30 07:40:11)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#3 2017-08-30 19:01:52

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Add thinkfan package

johnraff wrote:

Just installing the package was enough for that user?

Apparently so, yes. See the linked thread.

Installing it won't mess up the fan on machines where it was running OK?

Good question  smile

I will try it on my Clevo laptop later and report back.

Offline

#4 2017-08-30 22:12:05

p9000
Member
Registered: 2017-05-28
Posts: 22

Re: Add thinkfan package

afaik software fan control should only be used when the firmware and the kernel do not understand each other thus the fan speed is set incorrectly. But the daemon is not guaranteed to read the temperature correctly or take optimal actions (should it speed up the fan if the cpu is cool but the gpu or the hdd are hot? some firmwares do this) so it should not be used on well working systems. Componets may age faster when running too hot.

Last edited by p9000 (2017-08-30 22:14:11)

Offline

#5 2017-08-31 06:24:48

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,661
Website

Re: Add thinkfan package

So this sounds like something for a HOW-TO, maybe?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#6 2017-08-31 06:26:19

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Add thinkfan package

^ Perhaps; however:

Head_on_a_Stick wrote:

I will try it on my Clevo laptop later and report back.

The package doesn't seem to do anything on a non-ThinkPad, my fan control works as usual and the systemd unit file is disabled:

empty@testbed:~ $ systemctl status thinkfan --no-pager                                    
● thinkfan.service - simple and lightweight fan control program
   Loaded: loaded (/lib/systemd/system/thinkfan.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
3|empty@testbed:~ $

So it seems to be fine to just add it.

Offline

#7 2017-08-31 07:51:20

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,661
Website

Re: Add thinkfan package

But

thinkfan wrote:

Originally designed specifically for IBM/Lenovo Thinkpads, it supports any kind of system via the sysfs hwmon interface.

and

p9000 wrote:

the daemon is not guaranteed to read the temperature correctly or take optimal actions (should it speed up the fan if the cpu is cool but the gpu or the hdd are hot? some firmwares do this) so it should not be used on well working systems.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#8 2017-08-31 23:28:42

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,661
Website

Re: Add thinkfan package

Head_on_a_Stick wrote:

...the systemd unit file is disabled

What's causing the systemd unit to be disabled, any idea? The debian postinst script perhaps?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#9 2017-09-01 06:16:22

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Add thinkfan package

^ Just what was printed in the `systemctl status` output.

I will look in the journal tonight and try to investigate further but as it stands I think the [SOLVED] thread is actually sufficient (we presume our users know about search engines, right?).

Offline

#10 2017-09-01 08:04:09

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,661
Website

Re: Add thinkfan package

^ I was curious as to by what mechanism thinkfan had decided it wasn't needed on that machine.

For sure, this thread is OK as it is.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#11 2017-09-06 04:55:37

jerk-o
Member
Registered: 2017-08-27
Posts: 18

Re: Add thinkfan package

If I do the command "sudo dmidecode -t 1 | grep Version" I get "Version: ThinkPad T420" so having bl-welcome check the output of that command and only installing the "thinkfan" package if you find "thinkpad" in the output might be something to do.

Offline

Board footer

Powered by FluxBB