Skip to content

Instantly share code, notes, and snippets.

@ebroder
Created August 27, 2013 21:39
Show Gist options
  • Save ebroder/6359515 to your computer and use it in GitHub Desktop.
Save ebroder/6359515 to your computer and use it in GitHub Desktop.
evan@caron:~$ cat /etc/modprobe.d/ibm.conf
options thinkpad_acpi fan_control=1
evan@caron:~$ cat /etc/pm/power.d/ibm_fan
#!/bin/sh
fan="/proc/acpi/ibm/fan"
[ -w "$fan" ] || exit $NA
case "$1" in
true) echo level auto > "$fan" ;;
false) echo level disengaged > "$fan" ;;
*) exit 254 ;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment