|
Suspend/hibernate in Ubuntu 10.04 (UBS3 problem) |
|
|
|
|
Written by Adamo
|
|
Tuesday, 18 May 2010 08:51 |
|
Recently I got a new laptop, a fantastic HP EliteBook 8540p, very beautiful machine! Of course, I formatted everything and installed the fresh Ubuntu 10.04 Lucid Lynx! I got some problems with suspending/hibernating and I found that it is due to a not very good support of USB3 ports. As a temporary fix, waiting for better modules, I wrote this little script... hope it helps!
#!/bin/sh # May, 18 2010, Adamo Ferro # Fix USB3 suspend and hibernate problems
case $1 in hibernate) modprobe -r xhci ;; suspend) modprobe -r xhci ;; thaw) modprobe xhci ;; resume) modprobe xhci ;; *) echo "USB3 fix script: wrong argument!" ;; esac
You have to save it into a file in the /etc/pm/sleep.d/ folder, let's say you call this file 01fix_usb3. Put executable rights to it:
sudo chmod +x /etc/pm/sleep.d/01fix_usb03
...and that's all! Suspend/hibernate will work immediately, or at least it did on my laptop!
Let me know if you have problems or suggestions! CU Adamo
|
|
Last Updated on Tuesday, 18 May 2010 09:11 |
Comments
Thank you very much brother!!!
Suspend fixed. Hibernate still dysfunctional.
In both cases, must press Power button to Wake. After Hibernate, simply restarts machine and Eth0 needs to be restarted to reconnect to internet. No issue with Eth0 after waking from Suspend.
I'm happy it helped!
Note that a bug fix has been released recently, but it won't appear until Ubuntu Natty...
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/522998
Bye!
Phil
PM: Device usb8 failed to freeze
but your solution work perfect for me as well
thanks
Grazie
RSS feed for comments to this post