[ltp] T61 Suspends, won't restore

Micha linux-thinkpad@linux-thinkpad.org
Mon, 07 Dec 2009 13:53:38 +0200

On 07/12/2009 03:41, John Jason Jordan wrote:
> On Sun, 6 Dec 2009 21:16:38 +0000
> Pedro Ribeiro<pedrib@gmail.com>  dijo:
>> On Sun, Dec 6, 2009 at 9:04 PM, John Jason Jordan<johnxj@comcast.net>  wrote:
>>> I have had my T61 for about a year and a half, always running Ubuntu x86_64.
>>> In all that time it will suspend when I close the lid, but when I open the
>>> lid it is stuck in suspend mode. The hard drive light runs a bit when I open
>>> the lid, but the keyboard and mouse are dead.
>>> Recently I installed a new hard disk and then installed Fedora 11.
>>> Unhappily, I get the same results.
>>> I have lived with this limiation long enough. I know this has been discussed
>>> here in the past, but I can't find the threads and solutions (if any). Can
>>> some kind soul point me in the right direction?
>>> --
>>> The linux-thinkpad mailing list home page is at:
>>> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>> Hi Jason,
>> I had the same problem and traced it back to pm-utils.
>> pm-utils is the package used in most distributions to do power
>> management on behalf of the (now dead) hal and desktops like GNOME and
>> KDE.
>> Its problem is that it is full of quirks for old hardware, and on
>> newer computers it totally breaks them.
>> For suspending, I use a custom script which does everything for me.
>> All you have to some is assign some keybinding for it and press it
>> whenever you want to suspend. There is also a way to specify a custom
>> script to run for hal power events, but I believe newer distributions
>> don't rely on hal anymore - so you would have to look at how its done
>> with Devicekit-power (which is the framework for which hal was
>> deprecated).
>> Anyway, try this script and see if your computer suspends and resumes OK.
>> I have a T400 which I believe has similar hardware to the T61. Having
>> said that, I do not guarantee it to work. Remember you have to run it
>> as root. Save the contents between ---------------- as
>> suspend-script.sh and make it executable (chmod +x suspend-script.sh)
> Pedro,
> Thanks for the script. However, I don't have any problem going to sleep. The
> problem is that it won't wake up.
> I seem to remember discussion of settings in the Grub boot commands that people
> were suggesting.

For me the problem was the nvidia card (or more specifically the nvidia driver). 
Suspend works for me using current nvidia driver (currently 190+, don't remember 
what happened with older ones) and current kernel (2.6.30+).

I do have some issues with an external screen after restore, but everything else 
works fine.

As for hibernate, I'm using tux on ice and appart for a 1 minute delay at 
startup again due to the nvidia hardware everything is good.

This is with recent debian BTW. Also for hibernate I had to change the turn of 
method in pm utils, I believe it was from 4 (acpi hibernate) to 5 (shutdown)