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 July 1, 2023 14:48
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]