↓ Skip to main content
  1. Posts/

让松下 Let's Note SV9 在 Arch 下听话地转风扇

·107 words·1 min·
f4bb0
Author
f4bb0
Meow meow meow
Table of Contents

环境:Panasonic Let’s Note CF-SV9 / Arch Linux

起因
#

松下的 EC 在 Linux 下风扇没有直接提供 pwm 调速。panafanpwr 这个社区工具绕过厂商支持,控制 Embedded Controller,把风扇曲线和功耗模式接管过来,还能跟着 power-profiles-daemon 自动切换。

项目地址:https://git.sr.ht/~szern/panafanpwr(AUR 里也有:panafanpwr)

装依赖:acpi_call
#

核心是把 ACPI 方法调用进内核,所以先要 acpi_call 模块:

sudo pacman -S --needed acpi_call
sudo modprobe acpi_call
# 开机自动加载
echo acpi_call | sudo tee /etc/modules-load.d/acpi_call.conf

装 panafanpwr
#

从 AUR 装上(会顺带拉 python-jeepney、power-profiles-daemon):

yay -S panafanpwr

然后起服务:

sudo systemctl enable --now panafanpwrd.socket panafanpwrd-ppd.service
sudo systemctl enable panafanpwrd-resume.service

关键一步:型号 override
#

SV9 不在官方测试过的支持列表里(列表上只有 CF-SV1、CF-SV8、CF-SR4、CF-SC6 这些),守护进程按 product_name 匹配,认不出就直接不干活。这台机器的 EC 行为和 SV8 一系基本一致,所以直接借用 CF-SV8 的平台配置:

sudo nano /etc/panafanpwrd.conf

找到这一行:

#platform_id_override = CFSV1-2

改成:

platform_id_override = CFSV8-2

存盘后重启服务让配置生效:

sudo systemctl restart panafanpwrd-ppd.service

验证
#

panafanpwr status

能读到当前功耗模式和风扇状态就说明通了。之后切换性能/均衡/省电档时,风扇曲线和功耗限制会跟着系统电源配置自动套用,不用手动干预。

注意:override 属于跨型号套用配置,不是官方支持路径。观察下来日常档位没问题,但如果遇到风扇转速异常,先把 override 注释掉回退到默认状态。