Hi there,
I've been fiddling with thinkfan but I can't seem to get the /etc/thinkfan.conf file right in Ubuntu 22.04. Can you share a configuration file?
I believe T400 / X200 and other Montevina machines should have similar configurations.
Thanks.
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
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
thinkfan.conf for X301
thinkfan.conf for X301
X301: SU9600 | 8GB | 1TB | WXGA+
X1C5: 7600U | 16GB | 1TB | FHD
X1C9: 1145G7 | 16GB | 1TB | WUXGA | WWAN
X1Y8: 1365U | 32GB | 1TB | WUXGA
P14s G1 AMD: 4750U | 32GB | 1TB | PG FHD Touch
T14 G2: 1145G7 | 32GB | 1TB | FHD
X1C5: 7600U | 16GB | 1TB | FHD
X1C9: 1145G7 | 16GB | 1TB | WUXGA | WWAN
X1Y8: 1365U | 32GB | 1TB | WUXGA
P14s G1 AMD: 4750U | 32GB | 1TB | PG FHD Touch
T14 G2: 1145G7 | 32GB | 1TB | FHD
-
- Posts: 5
- Joined: Fri Jul 23, 2021 11:48 am
- Location: Copenhagen, Denmark
Re: thinkfan.conf for X301
Not a direct answer, but I'm using zcfan on my X301. It allows minimal configuration, but so far, it's doing a good job.
It's available in the Ubuntu repos.
It's available in the Ubuntu repos.
-
- Freshman Member
- Posts: 55
- Joined: Fri May 20, 2022 12:21 pm
- Location: Surabaya, East Java, Indonesia
- Contact:
Re: thinkfan.conf for X301
I've version 2.0 from the repo, the config is
Code: Select all
##############################################################################
# thinkfan Example Config File
# ============================
#
# Please read the config manpage thinkfan.conf(5) before playing around with
# this.
#
# This is NOT a working config file that can just be copied. It is only meant
# to give a rough idea what can be done. In particular, don't copy & paste the
# fan speed config! Think about what you're doing.
#
# If you don't know what temperatures are right for your system, you should
# not be using thinkfan!
##############################################################################
##############################################################################
# Sensor Drivers and Temperature Inputs
# =====================================
#
# ATTENTION: The order in which sensors are specified here is significant when
# specifying the fan speeds further below!
#
# There are multiple ways in which a temperature input can be specified. An
# example for each is given below.
#
# The "correction:" and "optional:" keywords may be specified on any type of
# sensor.
sensors:
# hwmon: Full path to a temperature file (single sensor).
# =======================================================
# Disadvantage is that the index in "hwmon0" depends on the load order of
# the driver modules, which may change across bootups on some systems.
#- hwmon: /sys/class/hwmon/hwmon0/temp1_input
- hwmon: /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp3_input
max_errors: 10 # <<< New config option
- hwmon: /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
max_errors: 10 # <<< New config option
- hwmon: /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input
max_errors: 10 # <<< New config option
# hwmon: Base path with name-based search
# =======================================
# Thinkfan will search under the given path for a hwmon driver that has a
# file called "name" which contains the given name. This method should work
# with all hwmon drivers and is robust against driver load order.
# Sensors can also be optional, e.g. in case of removable hardware
# atasmart: Read the temperature from a hard disk via S.M.A.R.T
# =============================================================
# Note that this is unreasonably CPU-intensive. Since Linux 5.6, the kernel
# can report the temperatures of hard disks via the hwmon interface (see the
# example above), which should be preferred if available.
#
# This is only available if thinkfan was compiled with USE_ATASMART enabled.
#- atasmart: /dev/sda
# tpacpi: Legacy interface to the thinkpad_acpi driver
# ====================================================
# Particularly on older Thinkpad laptops, this interface may give access to
# 8-16 temperature sensors, but it may be hard to tell where/what exactly
# they measure.
# Some documentation for older models may be found at the thinkpad wiki:
# https://www.thinkwiki.org/wiki/Thermal_Sensors
#
# Note that the hwmon interface is to be preferred nowadays.
# - tpacpi: /proc/acpi/ibm/thermal
# # Some of the temperature entries in /proc/acpi/ibm/thermal may be
# # irrelevant or unused, so individual ones can be selected:
# indices: [1, 2, 3, 4]
# nvml: The proprietary nVidia driver
# ===================================
# Temperatures can be read directly from nVidia GPUs that run with the
# proprietary driver. The "nvml:" entry must specify the PCI bus ID of the
# GPU (can be found with lspci)
#
# Note that this does not work with the open-source "nouveau" driver. Open
# source drivers should support the hwmon interface instead (see above).
# - nvml: 27:00.0
##############################################################################
##############################################################################
# Fan Drivers
# ===========
#
# Currently, thinkfan supports only one fan, but support for multiple fans is
# in development and will be released soon. For the time being, the examples
# given below are mutually exclusive.
#
fans:
# hwmon: Full path to a PWM file
# ==============================
# Also subject to the potential problem with driver load order (see above)
#- hwmon: /sys/class/hwmon/hwmon0/pwm1
# hwmon: Path to a complete driver folder
# =======================================
#- hwmon: /sys/class/graphics/fb0/device/hwmon
# indices: [1] # Use pwm1
# hwmon: Base path with name-based search
# =======================================
# - hwmon: /sys/class/hwmon
# name: amdgpu
# indices: [1]
# tpacpi: Thinkpad-specific fan interface
# =======================================
# Currently, this is the only way to use disengaged and automatic mode on
# thinkpads.
- tpacpi: /proc/acpi/ibm/fan
max_errors: 10 # <<< New config option
##############################################################################
##############################################################################
# Fan Speeds (detailed mode)
# ==========================
#
# It is generally advisable to configure the temperature limits for each
# sensor individually.
#
# The speed values used here range from 0 to 255, which is valid for the PWM
# control files used by hwmon-based drivers.
#
# The temperatures specified in upper_limit and lower_limit apply to the
# sensors in the same order in which they were specified in the "sensors:"
# section above, and their length must match the total number of sensors that
# have been configured.
#
levels:
- speed: 0
upper_limit: [38, 38, 38]
- speed: 1
lower_limit: [38, 38, 38]
upper_limit: [41, 41, 41]
- speed: 2
lower_limit: [41, 41, 41]
upper_limit: [43, 43, 43]
- speed: 3
lower_limit: [43, 43, 43]
upper_limit: [45, 45, 45]
- speed: 4
lower_limit: [45, 45, 45]
upper_limit: [47, 47, 47]
- speed: 5
lower_limit: [47, 47, 47]
upper_limit: [50, 50, 50]
- speed: 6
lower_limit: [50, 50, 50]
upper_limit: [53, 53, 53]
- speed: 7
lower_limit: [53, 53, 53]
upper_limit: [57, 57, 57]
- speed: 64
lower_limit: [57, 57, 57]
##############################################################################
It will cause the service fail to run if you force the 64/max speed without -D flag.
X220 with Win 10 21H2 Fedora 38 XFCE 4.18 (official spins)
i7-2640m, disabled Hyper Thread, Temp Drop on average 10*C, all core activated, need KVM for Windows
12gb RAM (enough for now, DDR3L)
480 Kingston Fake SSD
64gb Samsung SD Card
Recently rolled back to Windows 7 from Win 10 21H2. Sad
i7-2640m, disabled Hyper Thread, Temp Drop on average 10*C, all core activated, need KVM for Windows
12gb RAM (enough for now, DDR3L)
480 Kingston Fake SSD
64gb Samsung SD Card
Recently rolled back to Windows 7 from Win 10 21H2. Sad
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Anyone ever ran Haiku OS on an X301?
by cultOfThinkpad » Thu Feb 22, 2024 11:32 am » in ThinkPad X200/X201/X220 and X300/X301 Series - 1 Replies
- 340 Views
-
Last post by axur-delmeria
Thu Feb 22, 2024 1:07 pm
-
Who is online
Users browsing this forum: No registered users and 24 guests