Skip to content

Instantly share code, notes, and snippets.

@codexetreme
Forked from alfredalpaca/AW_fan_control.sh
Created February 10, 2019 09:50
Show Gist options
  • Save codexetreme/e2d0fa3049944d2c49381a7fd44b1cba to your computer and use it in GitHub Desktop.
Save codexetreme/e2d0fa3049944d2c49381a7fd44b1cba to your computer and use it in GitHub Desktop.
Alienware Fan Control Script for Ubuntu
#!/bin/bash
# Script to turn on fans, tested only for dell alienware 15 laptop
# Works on Ubuntu 18.04, causes issues with other drivers on earlier verisons
# Requires i8kutils, lm_sensors and fancontrol packages
sudo modprobe dell-smm-hwmon force=1
sudo pwmconfig
@HikariS97
Copy link

It can not control the RPM smoothly. Fans work on maximum power while pwm value at 200 above. But the Fans work much less slowly under 200. It seems some intermediate levels are sikpped.

@codexetreme
Copy link
Author

codexetreme commented Aug 12, 2019 via email

Copy link

ghost commented May 9, 2020

hello is there support for arch Linux and dose it work on the Alienware m15 r2

@codexetreme
Copy link
Author

I haven't tried it on arch so I am not so sure, but if you can the packages and the drivers it may work good luck :)

@ForesterSOF
Copy link

I did the two commands and then the questions on my Alienware m17R4 from 2012 and it worked fine.

@tdakhran
Copy link

Thanks! Works as well at Alienware m15 Ryzen Edition R5, ubuntu 21.10, 5.15.1-051501-generic

@BingzheZhou
Copy link

Thanks, it works as well on my Alienware m15-Ryzen-Edition-R5 with Ubuntu20.04, 5-13.0-30-generic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment