Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

SOLUTION: TP X300 - fan control for Xubuntu 16.04 64bit?

Linux on ThinkPads
Post Reply
Message
Author
Insomniac1971
Sophomore Member
Posts: 153
Joined: Sun Jun 26, 2005 2:00 pm
Location: Puerto Galera, Philippines
Contact:

SOLUTION: TP X300 - fan control for Xubuntu 16.04 64bit?

#1 Post by Insomniac1971 » Wed Sep 06, 2017 5:24 am

Hi, I want to ask owners of this laptop who has or are running linux on it, if they use fan control software of any kind and if they know how to get it working in xubuntu 16.04 64bit.

On my R500 I have Xubuntu 14.04 32bit and tpfand installed because the CPU/GPU tend to get a bit hot, last version were made for 14.04 and 14.10, not 16.04 and not for 64bit, also I read something about thinkpad_acpi no longer is in the kernel.

I don't know if it's even needed on my X300 as I just started using it with 16.04 yesterday, but in case it can be installed then I rather have it when its not needed - than need it and not have it.

It does not have to tpfand, but that one is nice because of the GUI - so do you know of any such program for 16.04 64bit?

JBJ
Last edited by Insomniac1971 on Fri Sep 29, 2017 6:55 pm, edited 1 time in total.
Live life to to fullest:) I do!
Thinkpads: T500, R500, X300 - (dead R61(intel), T61(Nvidia))
Other: Toshiba Satellite L40-139(dead)

jaspen-meyer
Senior Member
Senior Member
Posts: 837
Joined: Wed May 19, 2010 11:21 pm
Location: Pardubice, Czech Republic
Contact:

Re: TP X300 - fan control for Xubuntu 16.04 64bit?

#2 Post by jaspen-meyer » Tue Sep 26, 2017 10:41 am

thinkfan - simple and lightweight fan control program

requires you install
lm-sensors - utilities to read temperature/voltage/fan sensors

And, perhaps, requires adding the following line to /etc/modprobe.d/thinkpad_acpi.conf:

options thinkpad_acpi fan_control=1

(Perhaps that's not required on Ubuntu, or it may be a different file.)
T420 i7 3612QM seabios; T420 i7 3630QM; T400 Q9100 seabios; T61 P9600; T60 libreboot; x62; x60s libreboot, led; x24 xiphmont led

Insomniac1971
Sophomore Member
Posts: 153
Joined: Sun Jun 26, 2005 2:00 pm
Location: Puerto Galera, Philippines
Contact:

Re: TP X300 - fan control for Xubuntu 16.04 64bit?

#3 Post by Insomniac1971 » Fri Sep 29, 2017 5:16 pm

For anyone looking for same solution, here is a guide:
Requirements

* Python 2.7
* DBus, GTK+, libglade and GNU gettext with bindings for Python
* pkexec to obtain superuser privileges
Ubuntu users need to install the package python-gobject

Download
https://github.com/tpfanco/tpfancod
https://github.com/tpfanco/tpfanco-admin

then extract the files to a temporary folder

Go to the tpfancod-master folder and open a terminal, then run this command

sudo make install-systemd

Then

sudo systemctl enable tpfancod

Reboot your laptop


Then in terminal run

systemctl status tpfancod

Close the terminal window if everything ok, if not then go to https://github.com/tpfanco/tpfancod/issues and file the issue

Now open the tpfanco-admin-master folder

Open a terminal and run

sudo make install

then

Reboot your laptop

Open a terminal and run

tpfanco-admin_polkit

Reboot once more and you can find tpfanco-admin in Applications>Settings

You have to type your password for it to work.

Hope this helps someone

JBJ
Last edited by Insomniac1971 on Fri Sep 29, 2017 5:36 pm, edited 2 times in total.
Live life to to fullest:) I do!
Thinkpads: T500, R500, X300 - (dead R61(intel), T61(Nvidia))
Other: Toshiba Satellite L40-139(dead)

Insomniac1971
Sophomore Member
Posts: 153
Joined: Sun Jun 26, 2005 2:00 pm
Location: Puerto Galera, Philippines
Contact:

Re: TP X300 - fan control for Xubuntu 16.04 64bit?

#4 Post by Insomniac1971 » Fri Sep 29, 2017 5:21 pm

Now I just have to figure out why the fan RPM levels is reported so high - In idle the fan is reported as 5731 rpm level 255 which is hwctrl it should be something like 2000 and full fan speed is reported as 10151 rpm level 256 which should be something like 5000 - very strange.

Maybe someone here can explain this.

JBJ
Live life to to fullest:) I do!
Thinkpads: T500, R500, X300 - (dead R61(intel), T61(Nvidia))
Other: Toshiba Satellite L40-139(dead)

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 10 guests