e-lisa / nitro-5-fanspeed-hack

A very simple hack to gain fanspeed control for the Acer Nitro 5 (AN515-57) laptop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Legal disclaimer

This script has NO WARRANTY and is to be USED AT YOUR OWN RISK

What is this?

This is a quick and dirty hack for the "Acer Nitro 5" to enable temperature based fan-speed control

This script is not meant to be the "right way of doing this" but rather a low effort way of getting this to work now. Ideally this repository is not needed. But for now works fine.

Setup

Dependencies

For installing:

  • GNU Make

Debian/Ubuntu

These steps will install and configure the service to control you fans based on temperature. To test if it is running you can run: systemctl status nitro5-fan-speed-hack.service

  1. Clone repository: git clone https://github.com/e-lisa/nitro-5-fanspeed-hack

  2. Change directories to the repository: cd nitro-5-fanspeed-hack

  3. Install lm-sensors and GNU Make: sudo apt install lm-sensors make

  4. Configure sensors: yes |sudo sensors-detect

  5. Install the service and scripts: sudo make

Remove

  1. Change directories to the repository: cd nitro-5-fanspeed-hack

  2. Stop the service: systemctl stop nitro5-fan-speed-hack.service

  3. Run the uninstall script: make uninstall

Notes

The current fan-speed % is stored in /tmp/fanspeed and can be viewed with cat /tmp/fanspeed eg: 5 would be 5%

Happy Hacking!

About

A very simple hack to gain fanspeed control for the Acer Nitro 5 (AN515-57) laptop

License:GNU General Public License v3.0


Languages

Language:Shell 79.9%Language:Makefile 20.1%