Comment 34 for bug 261084

Revision history for this message
Pierre-Alexandre Meyer (pam-mouraf) wrote :

Same issue with Intrepid and Beta Jaunty (amd64), seen on both T500 and HP2530p.

It happens when suspending via the hotkey or simply closing the lid. On resume, the laptop suspends right away.

A workaround for the lid is to check the state in /proc, at the beginning of /etc/acpi/sleep.sh (was tested on Intrepid):

   grep -q closed /proc/acpi/button/lid/*/state
   if [[ $? != 0 && $1 = "from_lid" ]]; then
      exit
   fi