Skip to content

maxdulay/omen-fan-controller-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OMEN fan controller in rust

This is my first rust project and it is largely based on this project. I wanted something that could easily be run as a service and most importantly lets me prevent the very annoying pulsing sound of the fans of my HP OMEN 17.

Example config file (/etc/omen-fan/config.toml):

[service]
TEMP_CURVE = [[45, 57], [50, 60], [55, 65], [60, 70]]
SPEED_CURVE = [0, 25, 50, 100]
POLL_INTERVAL = 500 # In milliseconds

The values in TEMP_CURVE serve as ranges where the speed of the fan will only change once it drops below the bottom value. The values in speed curve represent that percent of the max speed the fans will go at the different ranges.

Warning

If the program crashes for some reason, it will not give fan control back to the bios.

Created and tested for the OMEN by HP Laptop 17-ck1xxx. Use on other laptops at your own risk. Will probably require changing the offset values in the source code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages