I also have a T42 and recently upgraded to 10.10 from 10.04 and had the
same problem - on resume I would have a TTY login appear, but no
recognition of the keyboard.  I would hold the power button and force
the laptop to restart or shutdown.

If you follow the diagnostic process on this wiki:
https://wiki.ubuntu.com/X/Troubleshooting/Other
- it is clear that the problem is not fixed by changing the kernel.  Here is 
the relevant list of commands from the wiki that I tried to determine this:

"Log out of X, and log into the console, and try suspend/resume (or hibernate, 
or whatever) from there
Running /etc/acpi/hibernate.sh or /etc/acpi/sleep.sh should do it
If it does not come up ok, the failure is in the kernel rather than X
Test if caps lock works; whether this works determines how bad the kernel 
failure is"

I did that and it does come up ok, so the problem is with X since the
upgrade, not the new kernel.  (Before determining this, I tried various
kernel versions 2.6.32, 2.6.35-22, 2.6.36 and the problem remained.)

What 'fixed' the problem for me was editing "/etc/default/acpi-support"
I changed the SUSPEND_METHODS="XXXXX" line to another method.  It doesn't seem 
to matter which, I have tried both SUSPEND_METHODS="dbus-hal" and 
SUSPEND_METHODS="none" and after logging out and back in, resume works after 
suspend.  I can't explain why this works, since I have gnome-power-manager 
daemon running, and I choose suspend from the gnome desktop menu, which invokes 
this daemon for suspending.  The acpi-support SUSPEND_METHODS setting should 
not have any effect, but changing it clearly does fix the problem.

I still briefly see the following error when resuming, but X restarts ok and 
the desktop is back to its previous state:
  pm_op(): pci_pn_resume+0x0/0xa0 returns -16
  PM: Device 0000:00:00.0 failed to resume async: error -16

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/681752

Title:
  [IBM T42] Cannot resume after suspend

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to