Comment 83 for bug 77370

Revision history for this message
Ricardo Bocaz L. (rbocazl) wrote :

This worked for me. HP420 running openSUSE. Thanks a lot!!!!

Fabrizio F (f-forzano) wrote on 2011-11-17: #82

Combining all previous posts, i made this file /etc/pm/sleep.d/99fancontrol.sh that worked perfectly for me:

--------------------------------------
#!/bin/sh
#
# Blocca le ventole.
# ripreso da: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.17/+bug/77370

case "$1" in
 hibernate|suspend)
  # Stopping is not required.
  ;;
 thaw|resume)
# In background.
   ( sleep 10 ; echo -n "0" > /sys/devices/virtual/thermal/cooling_device1/cur_state ) &

  ;;
 *) exit $NA
  ;;
esac

--------------------------------------

I'm using a laptop HP6735S, with ubuntu maverick:

uname -a
Linux gaviota-maverick 2.6.35-30-generic #61-Ubuntu SMP Tue Oct 11 15:29:15 UTC 2011 i686 GNU/Linux

PS: remember to chmod 755 the newly created file