Skip to content

Instantly share code, notes, and snippets.

@namangup
Last active March 10, 2023 05:44
Embed
What would you like to do?
Fan Control on Linux (Acer Predator Helios 300 PH315-51)
/*
yay -S nbfc-linux (or equivalent)
sudo su
*/
modprobe -r ec_sys
modprobe ec_sys write_support=1
ec_probe write 0x21 0x30
ec_probe write 0x22 0x0c
ec_probe write 0x37 0x[value]
ec_probe write 0x3a 0x[value]
// here [value] can be from 00 to 64, the latter setting max fan speed
// basically we are writing to certain registers in the Embedded Controller (EC) which is responsible for controlling fan speeds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment