perfmode

Crates.ioperfmode
lib.rsperfmode
version0.1.0
created_at2025-02-28 17:06:11.973653+00
updated_at2025-02-28 17:06:11.973653+00
descriptionFan/Performance Control for ASUS TUF Gaming laptops
homepage
repositoryhttps://github.com/falcon71181/perfmode
max_upload_size
id1573000
size15,585
Abhay Thakur (falcon71181)

documentation

https://github.com/falcon71181/perfmode/blob/main/README.md

README

Perfmode

Perfmode is a performance control utility for ASUS TUF Gaming series of laptops. It allows both fan and thermal policy control along with backlight control of the laptop.

Fan Control Modes

  • turbo | t
  • balanced | b
  • silent | s

Thermal Policy

  • overboost | ob
  • default | df
  • silent | s

Keyboard backlight :

  • off
  • min
  • med
  • max

You can use either of Fan or Thermal policy options and it will take desired effect. Read program help for more information.

Usage

Command Line mode

Generic usage:

$ sudo perfmode -option arg
  • Viewing Help
$ perfmode --help

Please do note that this program relies on the files present in /sys/devices/platform/ and assumes if they exist, then the kernel driver is also loaded. Earlier the program relied on lsmod output but that was not feasible where the module(s) were built into the kernel.

Dependencies

  • cargo
  • git (optional)

Installation

Regular Linux Distributions

git clone https://github.com/falcon71181/perfmode.git && cd perfmode
cargo build --release # optional - installs to /usr/bin

Or

cargo install perfmode

Clone. Make. Install. Simple as that!

Commit count: 11

cargo fmt