← Back to team overview

hybrid-graphics-linux team mailing list archive

Working hibernation on U35J

 

Recently I tested out the tuxonice kernels and found it gives me
working hibernation (which hasn't worked with the vanilla kernels).
Suspend still doesn't work, but this is a big improvement - I'd
recommend anyone else who is having hibernate/suspend problems to give
it a try.

I added an additional hook to re-activate the nvidia card before
hibernate, and then de-activate it upon resume to keep the kernel
happy:

cat /etc/pm/sleep.d/15_acpi_call
#!/bin/sh

PATH=/sbin:/usr/sbin:/bin:/usr/bin

case "${1}" in
        suspend|hibernate)
                bash /home/charles/acpi_call/test_on.sh
                ;;
        resume|thaw)
                bash /home/charles/acpi_call/test_off.sh
                ;;
esac