Thinkpad T400 immeadiately resumes from suspend after Ubuntu upgrade

After I upgraded to Ubuntu 10.10 suspend (both suspend-to-ram and suspend-to-disk (hibernate)) stopped working. A closer look at /var/log/syslog pointed to the tpm_tis module. The message was

tpm_tis 00:0c: tpm_transmit: tpm_send: error -5


After taking a look at this post at launchpad I did the following:

sudo gedit /etc/pm/config.d/unload_module


Then I added the following line to the file:

SUSPEND_MODULES="tpm_tis"


And finally, not sure if it was necessary, I set the permissions to very loose.

sudo chmod 755 /etc/pm/config.d/unload_module

Now it works like a charm!
--------------------
UPDATE March 1 2011
I said it works like a charm. This did not last.  Performance was better than before, but the system hangs FAR more often than 10.04 ever did. I don't really know why. My guess is that it has to do with either VirtualBox or VMWare WorkStation, both of which I often have running vm's when suspending.

Comments

Popular posts from this blog

The unreasonable effectiveness of i3, or: ten years of a boring desktop environment

Idea time: RFID+E-Ink, electronic price tags without batteries

Parsing 10TB of Metadata, 26M Domain Names and 1.4M SSL Certs for $10 on AWS