I have problems with the usb sub system on my notebook, so I hibernate it with the following script:
Code:
sudo modprobe -r ohci_hcd && sudo modprobe -r ehci_hcd && sudo s2disk \
&& sudo modprobe ohci_hcd && sudo modprobe ehci_hcd
No need to explicitly run anything on resume, because the script picks up from where it left off.
Note, that I suspend to disk not ram. Suspending to ram works... but resuming does not ;-)
Cheers,
Evo2.