Skip to content

Assembly powered version of "thinkfan-cli". Made for fun/education, not suitable for stable usage.

Notifications You must be signed in to change notification settings

rahmedi/tpfc-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tpfc-cli

  • Assembly powered version of thinkfan-cli, without thinkpad_acpi dependency.
  • Made for fun and education, not suitable for stable use.
  • Only used on thinkpads.

Disclaimer

use this software at your own risk. i am not responsible for any hardware damage, overheating, or other issues caused by direct port manipulation.

How to build

git clone https://github.com/rahmedi/tpfc-cli
cd tpfc-cli

cargo build --release
sudo ./target/release/tpfc-cli -h

# to make it executable on system-wide:
sudo cp ./target/release/tpfc-cli /usr/bin

Why i made this

I made this because thinkpad_acpi installation makes my bluetooth unusable, so I read thinkpad_acpi source code and implemented its fan control structure into tpfc-cli.

Why you shouldn't use this

Because if you're not using a thinkpad, your EC activates a different event on your device and makes your kernel panic, shuts your device, maybe makes your device unusable or just nothing happens.

Why you should use this

Use this if you are suffering from thinkpad_acpi's problems (like bluetooth problem) and just want to control the fan without module dependency

Roadmap

  • Fetching fan information
  • Thinkpad detection on building part
  • A new version of acpi module only with fan support

About

Assembly powered version of "thinkfan-cli". Made for fun/education, not suitable for stable usage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors