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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/77370

Title:
  Laptop Fan always on after resume from suspend to RAM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpi/+bug/77370/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to