debian12手动控制thinkpad风扇转速

配置驱动

添加如下配置文件,并重启系统

 ~ ✘ cat /etc/modprobe.d/thinkpad_acpi.conf 
options thinkpad_acpi fan_control=1
 ~ ✘ 

配置确认

  • 驱动加载
 ~ ✘ lsmod |grep  thinkpad_acpi
thinkpad_acpi         139264  0
nvram                  16384  1 thinkpad_acpi
platform_profile       16384  1 thinkpad_acpi
ledtrig_audio          16384  3 snd_ctl_led,snd_hda_codec_generic,thinkpad_acpi
snd                   126976  19 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm
rfkill                 36864  8 iwlmvm,bluetooth,thinkpad_acpi,cfg80211
video                  65536  2 thinkpad_acpi,i915
drm                   614400  13 drm_kms_helper,drm_display_helper,drm_buddy,thinkpad_acpi,i915,ttm
battery                28672  1 thinkpad_acpi
  • 驱动使能
 ~ ✘ cat /sys/module/thinkpad_acpi/parameters/fan_control 
Y
 ~ ✘ 

风扇参数

 ~ ✘ cat /proc/acpi/ibm/fan 
status:         enabled
speed:          0
level:          auto
commands:       level <level> (<level> is 0-7, auto, disengaged, full-speed)
commands:       enable, disable
commands:       watchdog <timeout> (<timeout> is 0 (off), 1-120 (seconds))
 ~ ✘ 

风扇控制

 ~ ✘ echo 'level 1' | sudo tee /proc/acpi/ibm/fan 
level 1
 ~ ✘ echo 'level 3' | sudo tee /proc/acpi/ibm/fan 
level 3
 ~ ✘ echo 'level 5' | sudo tee /proc/acpi/ibm/fan 
level 5
 ~ ✘ echo 'level 7' | sudo tee /proc/acpi/ibm/fan 
level 7
 ~ ✘ echo 'level auto' | sudo tee /proc/acpi/ibm/fan 
level auto
 ~ ✘ 
posted @ 2024-02-16 17:49  rdwr  阅读(247)  评论(0编辑  收藏  举报