Skip to content

Instantly share code, notes, and snippets.

View namangup's full-sized avatar
:octocat:

Naman Gupta namangup

:octocat:
View GitHub Profile
@namangup
namangup / PredatorSenseLinux
Last active June 2, 2024 20:58
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]