Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Think fan stopped working.[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
truekaiser
l33t
l33t


Joined: 05 Mar 2004
Posts: 810

PostPosted: Sat Jun 27, 2020 5:40 pm    Post subject: Think fan stopped working.[solved] Reply with quote

Thinkfan stopped working on my travel laptop a t450s with this version.

Code:
[ebuild   R    ] app-laptop/thinkfan-1.0.2::gentoo  USE="yaml -atasmart -nvidia" 0 KiB


when i start it, it spits out this.

Code:
ERROR: /etc/thinkfan.conf Invalid entryInvalid entry.


using this config.

Code:

tp_fan /proc/acpi/ibm/fan

hwmon /sys/devices/virtual/thermal/thermal_zone0/temp

(0, 0, 45)
(1, 38, 50)
(2, 40, 51)
(3, 42, 53)
(4, 46, 55)
(5, 49, 56)
(7, 53, 32767)


so i do a bit of a search and think, okay they changed the syntax, so lets rewrite it.

Code:

 fans:
        - tpacpi: /proc/acpi/ibm/fan


 sensors:

        - hwmon: /sys/devices/virtual/thermal/thermal_zone0/temp

 levels:

        - [0, 0, 45]
        - [1, 38, 50]
        - [2, 40, 51]
        - [3, 42, 53]
        - [4, 46, 55]
        - [5, 49, 56]
        - [7, 53, 32767]


And it doesn't like that either....

Code:

* Starting thinkfan ...

ERROR: /etc/thinkfan.conf:41: Invalid syntax:
 fans:
 ^

 * start-stop-daemon: failed to start `/usr/sbin/thinkfan'
 * Failed to start thinkfan                                                                                                                                                                                                      [ !! ]
 * ERROR: thinkfan failed to start


what's going on here??


Last edited by truekaiser on Sun Jun 28, 2020 5:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
sdauth
l33t
l33t


Joined: 19 Sep 2018
Posts: 672
Location: Ásgarðr

PostPosted: Sat Jun 27, 2020 7:19 pm    Post subject: Reply with quote

I've had the same issue. I don't what happened.. But I compiled thinkfan again, made sure there wasn't any typo in the conf, rebooted and now it works.. Very strange though.
Here is my config :

Code:
tp_fan /proc/acpi/ibm/fan
tp_thermal /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)

(0,   0,   55)
(1,   48,   60)
(2,   50,   61)
(3,   52,   63)
(4,   56,   65)
(5,   59,   66)
(7,   63,   32767)


By the way, I'm not aware of any new syntax. The above is working.
Back to top
View user's profile Send private message
truekaiser
l33t
l33t


Joined: 05 Mar 2004
Posts: 810

PostPosted: Sat Jun 27, 2020 9:19 pm    Post subject: Reply with quote

sdauth wrote:
I've had the same issue. I don't what happened.. But I compiled thinkfan again, made sure there wasn't any typo in the conf, rebooted and now it works.. Very strange though.
Here is my config :

Code:
tp_fan /proc/acpi/ibm/fan
tp_thermal /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)

(0,   0,   55)
(1,   48,   60)
(2,   50,   61)
(3,   52,   63)
(4,   56,   65)
(5,   59,   66)
(7,   63,   32767)


By the way, I'm not aware of any new syntax. The above is working.


I'll try that in a bit once it's done updating, got the new syntax from what appears to be the github of it..
https://github.com/vmatare/thinkfan/blob/master/examples/thinkfan.yaml
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3943
Location: Hamburg

PostPosted: Sat Jun 27, 2020 9:30 pm    Post subject: Reply with quote

At my T440s I do no longer need that extra package, the kernel itself is fine.
Back to top
View user's profile Send private message
truekaiser
l33t
l33t


Joined: 05 Mar 2004
Posts: 810

PostPosted: Sun Jun 28, 2020 5:10 pm    Post subject: Reply with quote

Yea for some reason recompiling it makes it work. O.o
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum