You are not logged in.

#21 2017-09-02 03:50:42

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

Re: [SOLVED] CPU fan

I did just notice that the default thinkfan.conf file doesn't have any temperature settings in it.  This sounds like a debian bug to me, but I don't know where to report this to debian.  An "easy" fix for this would be to add some temperature settings at the end of the file.

Offline

#22 2017-09-02 10:30:08

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,665

Re: [SOLVED] CPU fan

^This is not a Debian bug, it's a bug from you!
At the top, HoaS Links exactly what you have to do.

T420 --> check this: http://thinkwiki.de/Thinkfan#Keine_Funk … n_Modellen   wink

Offline

#23 2017-09-02 12:27:30

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

Re: [SOLVED] CPU fan

jerk-o wrote:

I did just notice that the default thinkfan.conf file doesn't have any temperature settings in it.  This sounds like a debian bug to me, but I don't know where to report this to debian.

No, as unklar notes the file is supposed to be user-configured.

I think we have an answer in respect of "safety" if the package is installed:

empty@testbed:~ $ cat /usr/share/doc/thinkfan/README.Debian                                                          
thinkfan for Debian
-------------------

WARNING!
 thinkfan CAN kill your system and is thus disabled by default

If you really want to enable thinkfan, adjust /etc/thinkfan.conf to your
needs and then enable thinkfan in your init system.

If you are using SysV init, use “update-rc.d thinkfan enable”.

If you are using systemd, use “systemctl enable thinkfan.service”.

Additionally, on ThinkPads, you need to load the thinkpad_acpi module with
fan_control=1, or it will refuse to accept control from thinkfan.
That's most easily done with a file /etc/modprobe.d/thinkfan.conf and the
following entry in it:
options thinkpad_acpi fan_control=1

 -- Evgeni Golov <evgeni@debian.org>  Sun, 12 Mar 2017 09:01:50 +0100
empty@testbed:~ $

@OP, are you sure that your problem was fixed by simply installing the package?

According to the above it should be disabled by default.

What is the output of these commands from your BL system:

sudo lsmod | grep thinkpad
cat /proc/acpi/ibm/fan
systemctl status thinkfan

Offline

#24 2017-09-02 18:16:59

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

Re: [SOLVED] CPU fan

thinkpad_acpi          69632  1
nvram                  16384  1 thinkpad_acpi
rfkill                 20480  6 bluetooth,thinkpad_acpi,cfg80211
video                  36864  2 thinkpad_acpi,i915
snd                    57344  15 snd_hda_intel,snd_hwdep,snd_hda_codec_conexant,snd_hda_codec,snd_timer,thinkpad_acpi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_pcm
status:		enabled
speed:		3208
level:		auto
thinkfan.service - simple and lightweight fan control program
   Loaded: loaded (/lib/systemd/system/thinkfan.service; disabled; vendor preset: enabled)
   Active: inactive (dead)

I just had the idea of having bl-welcome check to see if the user is using a thinkpad and suggesting that the user look into the thinkfan package and maybe set up the temperature entries in thinkpad.conf themselves.

Last edited by Head_on_a_Stick (2017-09-02 19:07:54)

Offline

#25 2017-09-02 19:11:43

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

Re: [SOLVED] CPU fan

So thinkpad.service is disabled, how about the fan control?

cat /sys/modules/thinkpad_acpi/parameters/fan_control # path may be slightly different, use tab-completion to grope around

And does the script actually work if you run it manually?

/usr/sbin/thinkfan

If it's not too much trouble, could you please confirm that removing the thinkfan package breaks your fan again because it doesn't look like it's doing anything at all  hmm

Offline

#26 2017-09-02 20:22:59

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

Re: [SOLVED] CPU fan

Yes, removing the thinkfan package broke the fan.  Installing the thinkfan package and adding the temp*_input stuff mentioned by http://forums.debian.net/viewtopic.php?t=118734 seems to have fixed the fan.  I do think the temperatures listed in thinkfan.conf are a little bit on the higher side, but it wasn't that hard to change them to what I wanted.

Offline

Board footer

Powered by FluxBB