我有一台具有以下规格的联想 Legion Y520:
zjeffer@ArchLinux
-----------------
OS: Arch Linux x86_64
Host: 80WK Lenovo Y520-15IKBN
Kernel: 5.1.7-arch1-1-ARCH
Uptime: 42 mins
Packages: 1659 (pacman)
Shell: zsh 5.7.1
Resolution: 1920x1080, 1920x1080
WM: bspwm
Theme: OSX-Arc-Plus [GTK2/3]
Icons: Papirus-Light [GTK2/3]
Terminal: gnome-terminal
CPU: Intel i7-7700HQ (8) @ 3.800GHz
GPU: NVIDIA GeForce GTX 1050 Mobile
GPU: Intel HD Graphics 630
Memory: 1369MiB / 7866MiB
我正在使用thinkfan来尝试控制我的 cpu 风扇。可悲的是,我看不到真正的风扇速度是多少,因为它总是说 8 RPM。
这是我的 thinkfan.conf,如果重要的话:
######################################################################
# thinkfan 0.7 example config file
# ================================
#
# ATTENTION: There is only very basic sanity checking on the configuration.
# That means you can set your temperature limits as insane as you like. You
# can do anything stupid, e.g. turn off your fan when your CPU reaches 70°C.
#
# That's why this program is called THINKfan: You gotta think for yourself.
#
######################################################################
#
# IBM/Lenovo Thinkpads (thinkpad_acpi, /proc/acpi/ibm)
# ====================================================
#
# IMPORTANT:
#
# To keep your HD from overheating, you have to specify a correction value for
# the sensor that has the HD's temperature. You need to do this because
# thinkfan uses only the highest temperature it can find in the system, and
# that'll most likely never be your HD, as most HDs are already out of spec
# when they reach 55 °C.
# Correction values are applied from left to right in the same order as the
# temperatures are read from the file.
#
# For example:
# tp_thermal /proc/acpi/ibm/thermal (0, 0, 10)
# will add a fixed value of 10 °C the 3rd value read from that file. Check out
# http://www.thinkwiki.org/wiki/Thermal_Sensors to find out how much you may
# want to add to certain temperatures.
# Syntax:
# (LEVEL, LOW, HIGH)
# LEVEL is the fan level to use (0-7 with thinkpad_acpi)
# LOW is the temperature at which to step down to the previous level
# HIGH is the temperature at which to step up to the next level
# All numbers are integers.
#
# I use this on my T61p:
# tp_fan /proc/acpi/ibm/fan
# tp_thermal /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp5_input
hwmon /sys/devices/virtual/thermal/thermal_zone1/temp
(0, 0, 51)
(1, 50, 52)
(2, 51, 55)
(3, 54, 58)
(4, 56, 63)
(5, 60, 70)
(6, 66, 79)
(7, 74, 92)
(127, 85, 32767)
这是输出dmesg | grep -i thinkpad
:
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=661a855a-c479-4291-bcb2-95b148ce2020 rw quiet nowatchdog nvidia-drm.modeset=1 thinkpad_acpi fan_control=1
[ 0.155975] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=661a855a-c479-4291-bcb2-95b148ce2020 rw quiet nowatchdog nvidia-drm.modeset=1 thinkpad_acpi fan_control=1
[ 4.231093] thinkpad_acpi: ThinkPad ACPI Extras v0.26
[ 4.231094] thinkpad_acpi: http://ibm-acpi.sf.net/
[ 4.231094] thinkpad_acpi: ThinkPad BIOS 4KCN40WW, EC unknown
[ 4.231094] thinkpad_acpi: Lenovo Lenovo Y520-15IKBN, model 80WK
[ 4.231554] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one
[ 4.231620] thinkpad_acpi: Console audio control enabled, mode: monitor (read only)
[ 4.232877] thinkpad_acpi: battery 1 registered (start 0, stop 0)
[ 4.232879] battery: new extension: ThinkPad Battery Extension
[ 4.232896] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input8
在这里它说EC unknown
,所以我不知道我有哪个 EC,并且在互联网上找不到任何关于我的模型的信息。
s-tui
我在, in/proc/acpi/ibm/fan
和 in 中检查了这个速度sensors
:它总是在 8 RPM,如果我在玩游戏时能听到它全速爆炸,这当然是不可能的。
在 Windows 10 中,我发现speedfan
找不到任何粉丝。我还将 BIOS 版本从 4KCN40WW 更新为 4KCN45WW。没有变化。
如何查看我的真实风扇速度?
部分答案:
从您的
dmesg
,thinkpad_acpi
被加载。我快速浏览了内核源代码,它似乎没有输出任何与粉丝相关的消息。但是,代码中的一些注释说:
EC 是笔记本电脑的嵌入式控制器。
因此存在三个潜在问题:在某些 thinkpad 上,转速计根本不可用,在某些 thinkpad 上,此位置有其他东西,在某些 thinkpad 上,固件有误。
这意味着您必须将Lenovo Legion Y520 与您使用的任何版本名称相匹配,并查找固件错误。
有疑问,我会通过内核 bugtracker 联系该模块的维护人员,看看他们是否对您的特定模型有任何想法。
我联系了联想支持,他们说我笔记本电脑的当前(和最新)版本的 BIOS 不支持风扇控制。