Skip to content

NotiLo-A/fan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fan

Command-line tool for controlling ThinkPad fan speed through /proc/acpi/ibm/fan.

Requirements

  • ThinkPad with thinkpad_acpi kernel module loaded

Install

AUR

yay -S fan

Manual

git clone https://github.com/NotiLo-A/fan.git
cd fan
cargo build --release
sudo install -Dm755 target/release/fan /usr/local/bin/fan

Usage

fan <value>
Value Effect
stat, info show current status
w watch status, updates every 1s
on enable fan
off disable fan
auto hand control back to firmware
max full speed
min level 1
17 set specific level

Commands that write to /proc/acpi/ibm/fan require root. If not run as root, the tool re-executes itself with sudo automatically.

About

ThinkPad fan control via /proc/acpi/ibm/fan

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages