dimanche 7 avril 2013

Get Suspend/Hibernate working on Debian Squeeze

There are two things I had to do to get suspend/hibernate working on my Debian Squeeze.

1/ Create or edit /etc/pm/config.d/modules and put:

SUSPEND_MODULES="rfkill ehci_hcd"

This keeps the fan from going crazy each time you try to suspend or hibernate your laptop.

2/ Create a file /etc/pm/config.d/10no-vt-switc­h and put: [source]

ADD_PARAMETERS=" --quirk-no-chvt --quirk-none "

Without the --quirk-no-chvt suspend/hibernate worked only once. It always fails to resume the second time I tried a suspend/hibernate with a black screen