The fact that resume always works when PM tracing is turned on (which
just manipulates the RTC state to store the debug info) brought me to me
the idea that the problem might be related to the RTC.

So I changed the /etc/acpi/sleep.sh script:

<snip>
# Generic preparation code
. /etc/acpi/prepare.sh

if [ x$DISABLE_DMA = xtrue ] && [ -b /dev/hda ]; then
  hdparm -d 0 /dev/hda
fi

# quirk (set hwclock)
#echo 1 > /sys/power/pm_trace
hwclock --set --date 1970/01/01

echo -n $ACPI_SLEEP_MODE >/sys/power/state
</snip>

And voilĂ : it works!!! (except that it still f***s with my hwclock)

So the problem really seems to be related to the RTC.

But why? Maybe this is about unhandled RTC interrupts?

-- 
Resume from ACPI S3 does not work -- when waiting too long
https://bugs.launchpad.net/bugs/162320
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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

Reply via email to