Bug#615110: tpm_tis prevents suspend working more than once
The included /etc/pm/sleep.d/10tpm_tis "fixes" the problem
for me (/usr/local/bin/tpm_startup is the program posted earlier).
|
#!/bin/bash
case $1 in
hibernate)
echo "Hey guy, we are going to suspend to disk!"
;;
suspend)
echo "Oh, this time we are doing a suspend to RAM. Cool!"
/usr/local/bin/tpm_startup
;;
thaw)
echo "Oh, suspend to disk is over, we are resuming..."
;;
resume)
echo "Hey, the suspend to RAM seems to be over..."
/usr/local/bin/tpm_startup
;;
*) echo "Somebody is calling me totally wrong."
;;
esac
Reply to: