#!/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
The included /etc/pm/sleep.d/10tpm_tis "fixes" the problem for me
(/usr/local/bin/tpm_startup is the program posted earlier).
- Bug#615110: tpm_tis prevents suspend working mo... Jonathan Nieder
- Processed: Re: tpm_tis prevents suspend wo... Debian Bug Tracking System
- Bug#615110: tpm_tis prevents suspend worki... John Hughes
- Bug#615110: tpm_tis prevents suspend w... Jonathan Nieder
- Processed: Re: tpm_tis prevents su... Debian Bug Tracking System
- Bug#615110: tpm_tis prevents suspe... John Hughes
- Bug#615110: tpm_tis prevents s... John Hughes
- Bug#615110: tpm_tis prevents suspe... John Hughes
- Bug#615110: tpm_tis prevents suspe... John Hughes
- Bug#615110: tpm_tis prevents s... Jonathan Nieder

