Comment 61 for bug 50031

Revision history for this message
Simon Rönnqvist (simon-iki) wrote : Solution: [regression] Suspend [to-RAM and to-disk] is broken in 2.6.15-25.43

Adding ec_intr=0 to the bootparameters in GRUB seems to solve the problem for ThinkPads. I've tested under Dapper on a R60 and Edgy Beta on R51 today.

Short HOWTO:
$ sudo nano -w /boot/grub/menu.lst
Ctrl-W (Find), look for "kopt"
append the line(s) that specify your boot parameters with ec_intr=0
ie. # kopt=root=/dev/sda1 ro ec_intr=0
Ctrl-X (Exit) and choose to save the file
$ sudo update-grub

Reboot and you're all done! :-)
You'll need to repeat this after each kernel update.

I found the solution (between the lines) from here:
http://www.thinkwiki.org/wiki/How_to_make_ACPI_work
http://www.thinkwiki.org/wiki/Problems_with_ACPI_suspend-to-ram

While this is easy to solve this isn't the way it's supposed to be, why can't this bug get out of the kernel? It's been hanging out there for quite some time, and affects otherwise very Ubuntu-compatible laptops such as the ThinkPads. I'd like to be able to tell my friends to get a ThinkPad and Ubuntu/Kubuntu and everything will work out of the box. :-) Sadly some get turned off by having to edit kernel parameters, many people don't even know what a kernel or GRUB is. So for these folks it'd be very important to get rid of this rather annoying bug.

BTW. Here are some other more complex howtos which seem to get suspend to work (among many other things) on T60:s, haven't tried 'em though:
http://vizzzion.org/?id=t60
http://ceallaigh.net/log/2006/06/16/ubuntu-dapper-drake-604-on-a-lenovo-t60-thinkpad/