Locations of visitors to this page

 

Private area



Suspend/hibernate in Ubuntu 10.04 (UBS3 problem) PDF Print E-mail
User Rating: / 3
PoorBest 
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  

 
#7 Dodo 2011-07-29 09:28
IT WORKS!!!
Thank you very much brother!!!
Quote
 
 
#6 Jon 2011-07-07 21:19
10.04 64-bit on Gigabyte X58A-UD3R.

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.
Quote
 
 
#5 Adamo 2011-01-28 09:32
Hi guys!
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!
Quote
 
 
#4 Philip Douglas 2011-01-27 23:21
After much searching for a solution this has fixed my Suspend/hibernate problem -- thank you
Phil
Quote
 
 
0 #3 jgroch 2010-12-19 01:50
Much thanks! It solved the suspend problem my desktop had.
Quote
 
 
0 #2 Mehdi 2010-12-08 05:12
my problem was :
PM: Device usb8 failed to freeze :-?
but your solution work perfect for me as well
thanks :-)
Quote
 
 
0 #1 ziocane 2010-10-26 17:24
Grande, funziona perfettamente!
Grazie
Quote
 

Add comment


Security code
Refresh

Joomla Templates by Joomlashack